Home
last modified time | relevance | path

Searched full:script (Results 1 – 25 of 835) sorted by relevance

12345678910>>...34

/linux-6.6/tools/perf/Documentation/
Dperf-script-python.txt1 perf-script-python(1)
6 perf-script-python - Process trace data with a Python script
11 'perf script' [-s [Python]:script[.py] ]
16 This perf script option is used to process perf script data using perf's
19 Python script, if any.
25 Python script that aggregates and extracts useful information from a
26 raw perf script stream. You can avoid reading the rest of this
29 available to script writers.
32 'syscall-counts' script you see when you list the available perf script
33 scripts via 'perf script -l'. As such, this script also shows how to
[all …]
Dperf-script.txt1 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
[all …]
Dperf-script-perl.txt1 perf-script-perl(1)
6 perf-script-perl - Process trace data with a Perl script
11 'perf script' [-s [Perl]:script[.pl] ]
16 This perf script option is used to process perf script data using perf's
19 Perl script, if any.
24 You can avoid reading the rest of this document by running 'perf script
26 That will generate a starter script containing a handler for each of
33 the check-perf-script.pl script, while not interesting for its results,
39 When perf script is invoked using a trace script, a user-defined
54 Traces meant to be processed using a script should be recorded with
[all …]
Dtips.txt5 Customize output of perf script with: perf script -F event,ip,sym
6 Generate a script for your data: perf script -g <lang>
15 Show individual samples with: perf script
18 To show assembler sample contexts use perf record -b / perf script -F +brstackinsn --xed
/linux-6.6/tools/perf/tests/shell/
Dtest_task_analyzer.sh2 # perf script task-analyzer tests
5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX)
72 perf script report task-analyzer > "$out"
73 check_exec_0 "perf script report task-analyzer"
79 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
80 check_exec_0 "perf script report task-analyzer --ns --rename-comms-by-tids 0:random"
86 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
88 check_exec_0 "perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf"
94 perf script report task-analyzer --extended-times --time-limit :99999 \
96 …check_exec_0 "perf script report task-analyzer --extended-times --time-limit :99999 --limit-to-tas…
[all …]
Dtest_brstack.sh27 perf script -i $TMPDIR/perf.data --fields brstacksym | xargs -n1 > $TMPDIR/perf.script
33 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/IND_CALL/.*$" $TMPDIR/perf.script
34 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
35 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
36 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
37 grep -E -m1 "^brstack_bar\+[^ ]*/brstack_foo\+[^ ]*/RET/.*$" $TMPDIR/perf.script
38 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bench\+[^ ]*/RET/.*$" $TMPDIR/perf.script
39 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bench\+[^ ]*/COND/.*$" $TMPDIR/perf.script
40 grep -E -m1 "^brstack\+[^ ]*/brstack\+[^ ]*/UNCOND/.*$" $TMPDIR/perf.script
56 perf script -i $TMPDIR/perf.data --fields brstack | xargs -n1 > $TMPDIR/perf.script
[all …]
/linux-6.6/scripts/coccinelle/misc/
Ddo_div.cocci67 long l: script:python() { filter_out_safe_constants(l) };
68 unsigned long ul : script:python() { filter_out_safe_constants(ul) };
69 u64 ul64 : script:python() { filter_out_safe_constants(ul64) };
70 s64 sl64 : script:python() { filter_out_safe_constants(sl64) };
86 long l: script:python() { filter_out_safe_constants(l) };
87 unsigned long ul : script:python() { filter_out_safe_constants(ul) };
88 u64 ul64 : script:python() { filter_out_safe_constants(ul64) };
89 s64 sl64 : script:python() { filter_out_safe_constants(sl64) };
101 @script:python depends on org@
108 @script:python depends on org@
[all …]
Darray_size_dup.cocci38 @script:python depends on report@
46 @script:python depends on org@
67 @script:python depends on report@
75 @script:python depends on org@
103 @script:python depends on report@
111 @script:python depends on org@
133 @script:python depends on report@
141 @script:python depends on org@
167 @script:python depends on report@
175 @script:python depends on org@
[all …]
Dminmax.cocci168 @script:python depends on report@
175 @script:python depends on org@
182 @script:python depends on report@
189 @script:python depends on org@
196 @script:python depends on report@
203 @script:python depends on org@
210 @script:python depends on report@
217 @script:python depends on org@
/linux-6.6/drivers/scsi/sym53c8xx_2/
Dsym_fw.h30 * Macro used to generate interfaces for script A.
49 * Macro used to generate interfaces for script B.
65 * Macro used to generate interfaces for script Z.
72 * offsets within script A, B and Z.
91 * bus addresses within script A, B and Z.
119 u32 *a_base; /* Pointer to script A template */
120 int a_size; /* Size of script A */
122 *a_ofs; /* Useful offsets in script A */
123 u32 *b_base; /* Pointer to script B template */
124 int b_size; /* Size of script B */
[all …]
/linux-6.6/tools/testing/selftests/exec/
Dexecveat.c191 * a script or not (because the interpreter sees a filename like in check_execveat_pathmax()
206 * Execute as a long pathname relative to "/". If this is a script, in check_execveat_pathmax()
207 * the interpreter will launch but fail to open the script because its in check_execveat_pathmax()
228 char *fullname_script = realpath("script", NULL); in run_tests()
243 int fd_script = open_or_die("script", O_RDONLY); in run_tests()
247 int fd_script_ephemeral = open_or_die("script.ephemeral", O_RDONLY); in run_tests()
249 int fd_script_cloexec = open_or_die("script", O_RDONLY|O_CLOEXEC); in run_tests()
320 /* Shell script wrapping executable file: */ in run_tests()
322 fail += check_execveat(subdir_dfd, "../script", 0); in run_tests()
323 fail += check_execveat(dot_dfd, "script", 0); in run_tests()
[all …]
/linux-6.6/tools/perf/
Dbuiltin-script.c374 return fprintf(fp, "[ perf script: Wrote %.3f MB %s (%" PRIu64 " samples) ]\n", in evsel_script__fprintf()
712 tod_scnprintf(struct perf_script *script, char *buf, int buflen, in tod_scnprintf() argument
723 if (buflen < 64 || !script) in tod_scnprintf()
726 env = &script->session->header.env; in tod_scnprintf()
773 static int perf_sample__fprintf_start(struct perf_script *script, in perf_sample__fprintf_start() argument
862 tod_scnprintf(script, tstr, sizeof(tstr), sample->time); in perf_sample__fprintf_start()
2056 static void perf_sample__fprint_metric(struct perf_script *script, in perf_sample__fprint_metric() argument
2078 evlist__alloc_stats(&stat_config, script->session->evlist, /*alloc_raw=*/false); in perf_sample__fprint_metric()
2137 static void process_event(struct perf_script *script, in process_event() argument
2156 perf_sample__fprintf_start(script, sample, thread, evsel, in process_event()
[all …]
/linux-6.6/arch/ia64/kernel/
Dunwind.c14 * They are cached for later re-use. Each script is specific for a
16 * that the script depends on (most unwind descriptors are
24 * o each unwind script has its own read-write lock; a thread must acquire
25 * a read lock before executing a script and must acquire a write lock
26 * before modifying a script
27 * o if both the unw.lock spinlock and a script's read-write lock must be
98 unsigned short lru_head; /* index of lead-recently used script */
99 unsigned short lru_tail; /* index of most-recently used script */
113 /* hash table that maps instruction pointer to script index: */
116 /* script cache: */
[all …]
/linux-6.6/drivers/scsi/
D53c700.h69 /* The following is a script fragment to move the buffer onto the
218 __u32 *script; /* pointer to script location */ member
219 __u32 pScript; /* physical mem addr of script */
228 #define MSGOUT_OFFSET (L1_CACHE_ALIGN(sizeof(SCRIPT)))
425 #define script_patch_32(h, script, symbol, value) \ argument
430 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]) + da; \
431 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
432 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
433 DEBUG((" script, patching %s at %d to %pad\n", \
438 #define script_patch_32_abs(h, script, symbol, value) \ argument
[all …]
/linux-6.6/tools/hv/
Dhv_get_dhcp_info.sh4 # This example script retrieves the DHCP state of a given interface.
6 # information; the kvp daemon code invokes this external script to gather
11 # Output: The script prints the string "Enabled" to stdout to indicate
13 # the script prints the string "Disabled" to stdout.
15 # Each Distro is expected to implement this script in a distro specific
17 # this script can be based on the Network Manager APIs for retrieving DHCP
Dhv_get_dns_info.sh3 # This example script parses /etc/resolv.conf to retrive DNS information.
5 # information; the kvp daemon code invokes this external script to gather
7 # This script is expected to print the nameserver values to stdout.
8 # Each Distro is expected to implement this script in a distro specific
10 # this script can be based on the Network Manager APIs for retrieving DNS
Dhv_set_ifconfig.sh4 # This example script activates an interface based on the specified
8 # information; the kvp daemon code invokes this external script to configure
11 # The only argument to this script is the configuration file that is to
14 # Each Distro is expected to implement this script in a distro specific
16 # this script can be based on the Network Manager APIs for configuring the
19 # This example script is based on a RHEL environment.
/linux-6.6/scripts/coccinelle/null/
Dbadzero.cocci70 @script:python depends on org@
76 @script:python depends on report@
93 @script:ocaml depends on s@
113 @script:ocaml@
168 @script:python depends on org@
174 @script:python depends on org@
180 @script:python depends on report@
186 @script:python depends on report@
229 @script:python depends on org@
235 @script:python depends on report@
/linux-6.6/scripts/coccinelle/api/
Dmemdup_user.cocci28 position p : script:python() { relevant(p) };
53 position p : script:python() { relevant(p) };
75 position p : script:python() { relevant(p) };
88 position p : script:python() { relevant(p) };
97 @script:python depends on org@
103 @script:python depends on report@
109 @script:python depends on org@
115 @script:python depends on report@
Dplatform_no_drv_owner.cocci123 @script:python fix1_org depends on org@
130 @script:python fix1_i2c_org depends on org@
137 @script:python fix2_org depends on org@
144 @script:python fix2_i2c_org depends on org@
153 @script:python fix1_report depends on report@
160 @script:python fix1_i2c_report depends on report@
167 @script:python fix2_report depends on report@
174 @script:python fix2_i2c_report depends on report@
/linux-6.6/tools/testing/selftests/rcutorture/bin/
Dkvm-get-cpus-script.sh4 # Create an awk script that takes as input numbers of CPUs and outputs
7 # Usage: kvm-get-cpus-script.sh /path/to/cpu/arrays /path/to/put/script [ /path/to/state ]
12 # The optional state is input by this script (if the file exists and is
13 # non-empty), and can also be output by this script.
27 echo "Directory not usable for script output: $scriptdir"
66 # script can continue where this one left off. Of course, this only works
Dkvm-check-branches.sh7 # In the short term, adjustments can be made by editing this script and
8 # CFLIST. If some adjustments appear to have ongoing value, this script
13 # This script considers its arguments one at a time. If more elaborate
15 # produce something that this simple script can understand. The reason
19 # This script creates a yyyy.mm.dd-hh.mm.ss-group entry in the "res"
20 # directory. The calls to kvm.sh create the usual entries, but this script
33 echo '!!!' This script needs to run in a git archive. 1>&2
/linux-6.6/tools/perf/ui/browsers/
Dscripts.c19 * Usually the full path for a script is:
54 "%s script %s -F +metric %s %s", in add_script_option()
81 * When success, will copy the full path of the selected script
102 /* Preset the script name to SCRIPT_NAMELEN */ in list_scripts()
116 add_script_option("Show samples with custom perf script arguments", "", &scriptc); in list_scripts()
136 int key = ui_browser__input_window("perf script command", in list_scripts()
137 "Enter perf script command line (without perf script prefix)", in list_scripts()
143 sprintf(script_name, "%s script %s", perf, script_args); in list_scripts()
182 custom ? "perf script -s " : "", in script_browse()
/linux-6.6/tools/perf/scripts/python/
Dflamegraph.py7 # perf script report flamegraph
11 # perf script flamegraph -a -F 99 sleep 60
36 <script type="text/javascript" src="https://d3js.org/d3.v7.js"></script>
37 …<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/d3-flam…
38 <script type="text/javascript">
47 </script>
121 # when this script is invoked with "perf script flamegraph",
156 … print("""Not attempting to download Flame Graph template as script command line
159 -F 99 sleep 60' and 'perf script report flamegraph'. Alternatively,
/linux-6.6/scripts/coccinelle/api/alloc/
Dzalloc-simple.cocci156 @script:python depends on org@
165 @script:python depends on report@
186 @script:python depends on org@
195 @script:python depends on report@
216 @script:python depends on org@
225 @script:python depends on report@
246 @script:python depends on org@
255 @script:python depends on report@
276 @script:python depends on org@
285 @script:python depends on report@
[all …]

12345678910>>...34