summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
AgeCommit message (Collapse)Author
2021-09-10perf scripts python: Fix passing arguments to stackcollapse reportMichael Petlan
The '--' prevented arguments from being passed to the script, such as: $ perf script report stackcollapse -i my_perf.data Signed-off-by: Michael Petlan <mpetlan@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> LPU-Reference: 20200427142327.21172-1-mpetlan@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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>
mmit/drivers/md/dm-kcopyd.c?id=949d49ec306dfca51d63d89bc316211a2a008cfc'>dm kcopyd: use __GFP_HIGHMEM when allocating pagesMikulas Patocka 2022-07-14dm/core: Rename kcopyd_job.rw into kcopyd.opBart Van Assche 2022-07-14dm/core: Reduce the size of struct dm_io_requestBart Van Assche 2021-06-15dm writecache: have ssd writeback wait if the kcopyd workqueue is busyMikulas Patocka 2021-06-04dm kcopyd: avoid spin_lock_irqsave from process contextMikulas Patocka 2021-06-04dm kcopyd: avoid useless atomic operationsMikulas Patocka 2019-08-15dm kcopyd: always complete failed jobsDmitry Fomichev 2019-07-17dm kcopyd: Increase default sub-job size to 512KBNikos Tsironis 2018-12-18dm kcopyd: Fix bug causing workqueue stallsNikos Tsironis 2018-08-08dm kcopyd: avoid softlockup in run_complete_jobJohn Pittman 2018-07-31dm kcopyd: return void from dm_kcopyd_copy()Mike Snitzer 2018-06-08dm: adjust structure members to improve alignmentMike Snitzer 2018-06-05dm: Use kzalloc for all structs with embedded biosets/mempoolsKent Overstreet 2018-05-30dm: convert to bioset_init()/mempool_init()Kent Overstreet 2018-01-17dm: backfill missing calls to mutex_destroy()Mike Snitzer 2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland 2017-06-19dm kcopyd: add sequential write featureDamien Le Moal 2017-04-08dm kcopyd: switch to use REQ_OP_WRITE_ZEROESChristoph Hellwig 2016-06-10dm: move request-based code out to dm-rq.[hc]Mike Snitzer 2016-06-07dm: use bio op accessorsMike Christie 2016-06-07dm: use op_is_write instead of checking for REQ_WRITEMike Christie