linux/tools
Stefan Raspl 18e8f4100e tools/kvm_stat: separate drilldown and fields filtering
Drilldown (i.e. toggle display of child trace events) was implemented by
overriding the fields filter. This resulted in inconsistencies: E.g. when
drilldown was not active, adding a filter that also matches child trace
events would not only filter fields according to the filter, but also add
in the child trace events matching the filter. E.g. on x86, setting
'kvm_userspace_exit' as the fields filter after startup would result in
display of kvm_userspace_exit(DCR), although that wasn't previously
present - not exactly what one would expect from a filter.
This patch addresses the issue by keeping drilldown and fields filter
separate. While at it, we also fix a PEP8 issue by adding a blank line
at one place (since we're in the area...).
We implement this by adding a framework that also allows to define a
taxonomy among the debugfs events to identify child trace events. I.e.
drilldown using 'x' can now also work with debugfs. A respective parent-
child relationship is only known for S390 at the moment, but could be
added adjusting other platforms' ARCH.dbg_is_child() methods
accordingly.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-02-24 01:43:44 +01:00
..
accounting
arch tools headers: Synchoronize x86 features UAPI headers 2018-02-02 17:22:12 -03:00
bpf tools: bpftool: add bash completion for cgroup commands 2018-02-08 11:59:50 +01:00
build Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-01-31 14:31:10 -08:00
cgroup
firewire
gpio tools/gpio: Fix build error with musl libc 2017-12-21 13:51:01 +01:00
hv Merge 4.15-rc3 into char-misc-next 2017-12-11 08:47:41 +01:00
iio
include Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2018-02-09 14:05:10 -05:00
kvm/kvm_stat tools/kvm_stat: separate drilldown and fields filtering 2018-02-24 01:43:44 +01:00
laptop
leds
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2018-02-09 14:05:10 -05:00
nfsd
objtool Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-02-04 11:45:55 -08:00
pci
pcmcia
perf perf tools: Add trace/beauty/generated/ into .gitignore 2018-02-05 13:58:02 -03:00
power ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
scripts tools: bpftool: create "uninstall", "doc-uninstall" make targets 2017-12-08 20:14:16 +01:00
spi
testing Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-02-09 15:34:18 -08:00
thermal/tmon Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2017-11-17 14:31:27 -08:00
time
usb usbip: list: don't list devices attached to vhci_hcd 2018-01-22 15:34:37 +01:00
virtio virtio, vhost: fixes, cleanups, features 2018-02-08 10:41:00 -08:00
vm tools, vm: new option to specify kpageflags file 2018-01-31 17:18:40 -08:00
wmi
Makefile platform-drivers-x86 for v4.15-1 2017-11-18 10:26:57 -08:00