summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
AgeCommit message (Collapse)Author
2016-06-21perf script: Add stackcollapse.py scriptPaolo Bonzini
Add stackcollapse.py script as an example of parsing call chains, and also of using optparse to access command line options. The flame graph tools include a set of scripts that parse output from various tools (including "perf script"), remove the offsets in the function and collapse each stack to a single line. The website also says "perf report could have a report style [...] that output folded stacks directly, obviating the need for stackcollapse-perf.pl", so here it is. This script is a Python rewrite of stackcollapse-perf.pl, using the perf scripting interface to access the perf data directly from Python. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Brendan Gregg <bgregg@netflix.com> Link: http://lkml.kernel.org/r/1460467573-22989-1-git-send-email-pbonzini@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Christoph Hellwig 2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds 2024-02-06blk-wbt: Fix detection of dirty-throttled tasksJan Kara 2024-02-05block: add blk_time_get_ns() and blk_time_get() helpersJens Axboe 2023-12-26blk-wbt: remove the separate write cache trackingChristoph Hellwig 2023-06-28Merge branch 'for-6.5/block-late' into block-6.5Jens Axboe 2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds 2023-06-26blk-wbt: cleanup rwb_enabled() and wbt_disabled()Yu Kuai 2023-06-26blk-wbt: remove dead code to handle wbt enable/disable with io inflightYu Kuai 2023-05-23block/rq_qos: protect rq_qos apis with a new lockYu Kuai 2023-05-23blk-wbt: fix that wbt can't be disabled by defaultYu Kuai