|author||Arnaldo Carvalho de Melo <firstname.lastname@example.org>||2010-05-04 10:48:22 -0300|
|committer||Arnaldo Carvalho de Melo <email@example.com>||2010-05-04 10:48:22 -0300|
perf inject: Add missing bits
New commands need to have Documentation and be added to command-list.txt so that they can appear when 'perf' is called withouth any subcommand: [root@doppio linux-2.6-tip]# perf usage: perf [--version] [--help] COMMAND [ARGS] The most commonly used perf commands are: annotate Read perf.data (created by perf record) and display annotated code archive Create archive with object files with build-ids found in perf.data file bench General framework for benchmark suites buildid-cache Manage build-id cache. buildid-list List the buildids in a perf.data file diff Read two perf.data files and display the differential profile inject Filter to augment the events stream with additional information kmem Tool to trace/measure kernel memory(slab) properties kvm Tool to trace/measure kvm guest os list List all symbolic event types lock Analyze lock events probe Define new dynamic tracepoints record Run a command and record its profile into perf.data report Read perf.data (created by perf record) and display the profile sched Tool to trace/measure scheduler properties (latencies) stat Run a command and gather performance counter statistics test Runs sanity tests. timechart Tool to visualize total system behavior during a workload top System profiling tool. trace Read perf.data (created by perf record) and display trace output See 'perf help COMMAND' for more information on a specific command. [root@doppio linux-2.6-tip]# The new 'perf inject' command hadn't so it wasn't appearing on that list. Also fix the long option, that should have no spaces in it, rename the faulty one to be '--build-ids', instead of '--inject build-ids'. Reported-by: Ingo Molnar <firstname.lastname@example.org> Cc: Frédéric Weisbecker <email@example.com> Cc: Mike Galbraith <firstname.lastname@example.org> Cc: Paul Mackerras <email@example.com> Cc: Peter Zijlstra <firstname.lastname@example.org> Cc: Tom Zanussi <email@example.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <firstname.lastname@example.org>
Diffstat (limited to 'tools/perf/Documentation/perf-inject.txt')
1 files changed, 35 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-inject.txt b/tools/perf/Documentation/perf-inject.txt
new file mode 100644
@@ -0,0 +1,35 @@
+perf-inject - Filter to augment the events stream with additional information
+'perf inject <options>'
+perf-inject reads a perf-record event stream and repipes it to stdout. At any
+point the processing code can inject other events into the event stream - in
+this case build-ids (-b option) are read and injected as needed into the event
+Build-ids are just the first user of perf-inject - potentially anything that
+needs userspace processing to augment the events stream with additional
+information could make use of this facility.
+ Inject build-ids into the output stream
+ Be more verbose.
+linkperf:perf-record, linkperf:perf-report, linkperf:perf-archive