diff options
author | Adrian Hunter <[email protected]> | 2015-09-25 16:15:55 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-09-28 17:19:51 -0300 |
commit | f56fb9864c501dc85ebe40af5bf925dd07d990c0 (patch) | |
tree | 77e330e300b6311f663f695767eb872746868c2d /tools/perf/scripts/python/stackcollapse.py | |
parent | 73117308f953afb60a1383725b7d5372feeb2433 (diff) |
perf inject: Add --strip option to strip out non-synthesized events
Add a new option --strip which is used with --itrace to strip out
non-synthesized events. This results in a perf.data file that is
simpler for external tools to parse. In particular, this can be used to
prepare a perf.data file for consumption by autofdo.
A subsequent patch makes a change to Intel PT also to enable use with
autofdo and gives an example of that use.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Made it use perf_evlist__remove() + perf_evsel__delete() ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions