aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-12-23 13:36:21 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-01-08 11:26:56 -0300
commit5ca8271022da8583f0d618aeda5b2bae785e7882 (patch)
tree4bda325a1b225d454049cbf638c53ce38999df24 /tools/perf/scripts/python/bin/stackcollapse-record
parentMerge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadlinux-5ca8271022da8583f0d618aeda5b2bae785e7882.tar.gz
linux-5ca8271022da8583f0d618aeda5b2bae785e7882.zip
perf hists: Fix children sort key behavior
When perf report --children resorts output fields, it tries to put caller above the callee. But this was only meaningful for a same thread and doing this requires callchain enabled. So fix its check before comparing the callchain depth. This also changes the hist accumulation tests: In test 3, xmalloc in bash thread should be above than other perf threads due to alphabetical order of comm string. Also it's under page_fault in bash thread since alphabetical order of dso name. The sys_perf_event_open in perf thread is put on the last line since it's self overhead is 0. In test 4, the sys_perf_event_open is put above other perf entries that have same children overhead since its callchain depth is smaller. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1419309381-2593-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
w=1'>nfc: st-nci: Code cleanupChristophe Ricard3-4/+1 2015-12-29nfc: st21nfca: Add support for acpi probing for i2c device.Christophe Ricard1-1/+50 2015-12-29nfc: st-nci: Add support for acpi probing for spi device.Christophe Ricard1-0/+52 2015-12-29nfc: st-nci: Add support for acpi probing for i2c device.Christophe Ricard1-0/+53 2015-12-29nfc: st21nfca: Add macro for gpio nameChristophe Ricard1-2/+5 2015-12-29nfc: st-nci: Add macro for gpio nameChristophe Ricard2-4/+9 2015-12-29nfc: st21nfca: Group device table togetherChristophe Ricard1-7/+6 2015-12-29nfc: st-nci: Group device table togetherChristophe Ricard2-11/+12 2015-12-29nfc: pn544: Remove #ifdef CONFIG_OFChristophe Ricard1-11/+0 2015-12-29nfc: nxp-nci: Remove #ifdef CONFIG_OFChristophe Ricard1-11/+0 2015-12-29nfc: st21nfca: Remove unneeded CONFIG_OF switchesChristophe Ricard1-9/+0 2015-12-29nfc: st-nci: Remove unneeded CONFIG_OF switchesChristophe Ricard2-18/+0 2015-12-29nfc: st-nci: Remove useless #include "ndlc.h"Christophe Ricard1-1/+0 2015-12-29NFC: trf7970a: use to_spi_deviceGeliang Tang1-4/+4 2015-12-29NFC: st95hf: Fix build errorShikha Singh1-4/+4