blob: a64d6588470e605845e1eb4589e8e9a7a8a6f049 [file] [log] [blame]
Arnaldo Carvalho de Melo11d232e2010-05-04 10:48:22 -03001perf-inject(1)
2==============
3
4NAME
5----
6perf-inject - Filter to augment the events stream with additional information
7
8SYNOPSIS
9--------
10[verse]
11'perf inject <options>'
12
13DESCRIPTION
14-----------
15perf-inject reads a perf-record event stream and repipes it to stdout. At any
16point the processing code can inject other events into the event stream - in
17this case build-ids (-b option) are read and injected as needed into the event
18stream.
19
20Build-ids are just the first user of perf-inject - potentially anything that
21needs userspace processing to augment the events stream with additional
22information could make use of this facility.
23
24OPTIONS
25-------
26-b::
27--build-ids=::
28 Inject build-ids into the output stream
29-v::
30--verbose::
31 Be more verbose.
Andrew Vagine558a5b2012-08-07 16:56:02 +040032-i::
33--input=::
34 Input file name. (default: stdin)
35-o::
36--output=::
37 Output file name. (default: stdout)
Andrew Vagin26a031e2012-08-07 16:56:04 +040038-s::
39--sched-stat::
40 Merge sched_stat and sched_switch for getting events where and how long
41 tasks slept. sched_switch contains a callchain where a task slept and
42 sched_stat contains a timeslice how long a task slept.
Arnaldo Carvalho de Melo11d232e2010-05-04 10:48:22 -030043
Adrian Huntera7a2b8b2014-07-22 16:17:38 +030044--kallsyms=<file>::
45 kallsyms pathname
46
Adrian Hunter0f0aa5e2015-04-09 18:54:00 +030047--itrace::
48 Decode Instruction Tracing data, replacing it with synthesized events.
49 Options are:
50
Adrian Hunter60b88d82015-07-17 19:33:44 +030051include::itrace.txt[]
Adrian Hunter0f0aa5e2015-04-09 18:54:00 +030052
Adrian Hunterf56fb982015-09-25 16:15:55 +030053--strip::
54 Use with --itrace to strip out non-synthesized events.
55
Stephane Eranian9b07e272015-11-30 10:02:21 +010056-j::
57--jit::
58 Process jitdump files by injecting the mmap records corresponding to jitted
59 functions. This option also generates the ELF images for each jitted function
60 found in the jitdumps files captured in the input perf.data file. Use this option
61 if you are monitoring environment using JIT runtimes, such as Java, DART or V8.
62
Sihyeon Jang52186b82017-11-16 23:26:02 +090063-f::
64--force::
65 Don't complain, do it.
66
Arnaldo Carvalho de Melo11d232e2010-05-04 10:48:22 -030067SEE ALSO
68--------
69linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-archive[1]