summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-inject.txt
diff options
context:
space:
mode:
authorAdrian Hunter2015-09-25 15:15:55 +0200
committerArnaldo Carvalho de Melo2015-09-28 22:19:51 +0200
commitf56fb9864c501dc85ebe40af5bf925dd07d990c0 (patch)
tree77e330e300b6311f663f695767eb872746868c2d /tools/perf/Documentation/perf-inject.txt
parentperf inject: Remove more aux-related stuff when processing instruction traces (diff)
downloadkernel-qcow2-linux-f56fb9864c501dc85ebe40af5bf925dd07d990c0.tar.gz
kernel-qcow2-linux-f56fb9864c501dc85ebe40af5bf925dd07d990c0.tar.xz
kernel-qcow2-linux-f56fb9864c501dc85ebe40af5bf925dd07d990c0.zip
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 <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1443186956-18718-25-git-send-email-adrian.hunter@intel.com [ Made it use perf_evlist__remove() + perf_evsel__delete() ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-inject.txt')
-rw-r--r--tools/perf/Documentation/perf-inject.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-inject.txt b/tools/perf/Documentation/perf-inject.txt
index 0c721c3e37e1..0b1cedeef895 100644
--- a/tools/perf/Documentation/perf-inject.txt
+++ b/tools/perf/Documentation/perf-inject.txt
@@ -50,6 +50,9 @@ OPTIONS
include::itrace.txt[]
+--strip::
+ Use with --itrace to strip out non-synthesized events.
+
SEE ALSO
--------
linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-archive[1]