Lines Matching refs:script
1 perf-script(1)
6 perf-script - Read perf.data (created by perf record) and display trace output
11 'perf script' [<options>]
12 'perf script' [<options>] record <script> [<record-options>] <command>
13 'perf script' [<options>] report <script> [script-args]
14 'perf script' [<options>] <script> <required-script-args> [<record-options>] <command>
15 'perf script' [<options>] <top-script> [script-args]
21 There are several variants of perf script:
23 'perf script' to see a detailed trace of the workload that was
28 available via 'perf script -l'). The following variants allow you to
31 'perf script record <script> <command>' to record the events required
32 for 'perf script report'. <script> is the name displayed in the
33 output of 'perf script --list' i.e. the actual script name minus any
37 'perf script report <script> [args]' to run and display the results
38 of <script>. <script> is the name displayed in the output of 'perf
39 trace --list' i.e. the actual script name minus any language
40 extension. The perf.data output from a previous run of 'perf script
41 record <script>' is used and should be present for this command to
43 the script.
45 'perf script <script> <required-script-args> <command>' to both
46 record the events required for <script> and to run the <script>
47 using 'live-mode' i.e. without writing anything to disk. <script>
48 is the name displayed in the output of 'perf script --list' i.e. the
49 actual script name minus any language extension. If <command> is
51 'perf record' option. If <script> has any required args, they
53 optional script args to be specified; if optional script args are
54 desired, they can be specified using separate 'perf script record'
55 and 'perf script report' commands, with the stdout of the record step
56 piped to the stdin of the report script, using the '-o -' and '-i -'
59 'perf script <top-script>' to both record the events required for
60 <top-script> and to run the <top-script> using 'live-mode'
61 i.e. without writing anything to disk. <top-script> is the name
62 displayed in the output of 'perf script --list' i.e. the actual
63 script name minus any language extension; a <top-script> is defined
64 as any script name ending with the string 'top'.
66 [<record-options>] can be passed to the record steps of 'perf script
68 <top-script> 'live-mode' or 'perf script report' variants.
79 --dump-raw-script=::
91 --script=::
92 Process trace data with the given script ([lang]:script[.ext]).
93 If the string 'lang' is specified in place of a script name, a
97 --gen-script=::
98 Generate perf-script.[ext] starter script for given language,
123 perf script -f <fields>
127 perf script -f trace:<fields> -f sw:<fields> -f hw:<fields>
156 $ perf script -f comm,tid,trace
163 perf script -v -f sw:comm,tid,trace
166 At this point usage is displayed, and perf-script exits.
201 It can only be used with the perf script report mode.
208 linkperf:perf-record[1], linkperf:perf-script-perl[1],
209 linkperf:perf-script-python[1]