Home
last modified time | relevance | path

Searched refs:script (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/linux-6.6.21/tools/perf/tests/shell/
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 …]
Dtest_task_analyzer.sh5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX)
72 perf script report task-analyzer > "$out"
79 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
86 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
94 perf script report task-analyzer --extended-times --time-limit :99999 \
102 perf script report task-analyzer --summary > "$out"
109 perf script report task-analyzer --summary-extended > "$out"
116 perf script report task-analyzer --summary-only > "$out"
123 perf script report task-analyzer --extended-times --summary --ns > "$out"
130 perf script report task-analyzer --csv csv > /dev/null
[all …]
Dtest_intel_pt.sh116 …mmap_cnt=$(perf script -i "${perfdatafile}" --no-itrace --show-mmap-events -C 1 2>/dev/null | grep…
414 decode_br_cnt=$(perf script -i "${perfdatafile}" --itrace=b | wc -l)
416 decode_err_cnt=$(perf script -i "${perfdatafile}" --itrace=e-o-l | grep -ci error)
426 perf script -i "${perfdatafile}" --itrace=e-o-l --show-mmap-events | cat
440 mtc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "MTC 0x")
446 tsc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TSC 0x")
461 tnt_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TNT 0x")
462 tip_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TIP 0x")
463 fup_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "FUP 0x")
484 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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@
Dswap.cocci100 @script:python depends on report@
106 @script:python depends on org@
112 @script:python depends on report@
118 @script:python depends on org@
Dflexible_array.cocci29 position p : script:python() { relevant(p) };
73 position p : script:python() { relevant(p) };
95 @script: python depends on report@
102 @script: python depends on org@
/linux-6.6.21/tools/perf/
Dbuiltin-script.c712 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()
2165 if (!script->name_width) in process_event()
[all …]
/linux-6.6.21/drivers/scsi/
D53c700.h218 __u32 *script; /* pointer to script location */ member
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); \
438 #define script_patch_32_abs(h, script, symbol, value) \ argument
443 (script)[A_##symbol##_used[i]] = bS_to_host(da); \
444 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
451 #define script_patch_ID(h, script, symbol, value) \ argument
455 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
[all …]
/linux-6.6.21/arch/ia64/kernel/
Dunwind.c138 } script; member
1214 cache_match (struct unw_script *script, unsigned long ip, unsigned long pr) in cache_match() argument
1216 read_lock(&script->lock); in cache_match()
1217 if (ip == script->ip && ((pr ^ script->pr_val) & script->pr_mask) == 0) in cache_match()
1220 read_unlock(&script->lock); in cache_match()
1227 struct unw_script *script = unw.cache + info->hint; in script_lookup() local
1239 if (cache_match(script, ip, pr)) { in script_lookup()
1241 return script; in script_lookup()
1248 script = unw.cache + index; in script_lookup()
1250 if (cache_match(script, ip, pr)) { in script_lookup()
[all …]
/linux-6.6.21/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.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Ddp.c107 info->script[0] = nvbios_rd16(bios, data + 0x06); in nvbios_dpout_parse()
108 info->script[1] = nvbios_rd16(bios, data + 0x08); in nvbios_dpout_parse()
112 info->script[2] = nvbios_rd16(bios, data + 0x0c); in nvbios_dpout_parse()
113 info->script[3] = nvbios_rd16(bios, data + 0x0e); in nvbios_dpout_parse()
116 info->script[4] = nvbios_rd16(bios, data + 0x10); in nvbios_dpout_parse()
122 info->script[0] = nvbios_rd16(bios, data + 0x05); in nvbios_dpout_parse()
123 info->script[1] = nvbios_rd16(bios, data + 0x07); in nvbios_dpout_parse()
125 info->script[2] = nvbios_rd16(bios, data + 0x0b); in nvbios_dpout_parse()
126 info->script[3] = nvbios_rd16(bios, data + 0x0d); in nvbios_dpout_parse()
127 info->script[4] = nvbios_rd16(bios, data + 0x0f); in nvbios_dpout_parse()
/linux-6.6.21/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@
Dkfree_sensitive.cocci36 position p : script:python() { relevant(p) };
52 position p : script:python() { relevant(p) };
70 position p : script:python() { relevant(p) };
86 @script:python depends on report@
94 @script:python depends on org@
Dkfree_mismatch.cocci164 @script: python depends on report@
172 @script: python depends on org@
180 @script: python depends on report@
188 @script: python depends on org@
196 @script: python depends on report@
204 @script: python depends on org@
212 @script: python depends on report@
221 @script: python depends on org@
Dresource_size.cocci62 @script:python depends on org@
71 @script:python depends on report@
79 @script:python depends on org@
88 @script:python depends on report@
/linux-6.6.21/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 …]
/linux-6.6.21/Documentation/admin-guide/aoe/
Dexamples.rst7 Example of udev install rules script
13 Example script to get status
19 Example of AoE autoload script
/linux-6.6.21/scripts/package/
Dbuilddeb101 for script in postinst postrm preinst prerm; do
102 mkdir -p "${pdir}${debhookdir}/${script}.d"
105 cat <<-EOF > "${pdir}/DEBIAN/${script}"
117 …test -d ${debhookdir}/${script}.d && run-parts --arg="${KERNELRELEASE}" --arg="/${installed_image_…
120 chmod 755 "${pdir}/DEBIAN/${script}"
/linux-6.6.21/tools/testing/selftests/exec/
Dbinfmt_script.py71 script = "binfmt_script-%s" % (name)
72 open(script, "w").write(buf)
73 os.chmod(script, 0o755)
75 proc = subprocess.Popen(["./%s" % (script)], shell=True,
95 os.unlink(script)

12345678910>>...16