Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.15/tools/testing/selftests/exec/
H A Dcheck-exec-tests.sh21 local script="$2"
27 out="$(PATH="." "$@" "${script}")" || ret=$?
41 local script="$2"
47 out="$("$@" ./inc "${script}")" || ret=$?
61 local script="$2"
128 ktap_test exec_direct 0 script-exec.inc
129 ktap_test exec_indirect 0 script-exec.inc
132 ktap_test exec_stdin_reg 0 script-exec.inc
136 ktap_test exec_direct 126 script-noexec.inc
137 ktap_test exec_indirect 0 script-noexec.inc
[all …]
H A DMakefile15 TEST_GEN_PROGS_EXTENDED := false inc set-exec script-exec.inc script-noexec.inc
16 TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir
33 $(OUTPUT)/script: Makefile
54 $(OUTPUT)/script-exec.inc: $(CHECK_EXEC_SAMPLES)/script-exec.inc
56 $(OUTPUT)/script-noexec.inc: $(CHECK_EXEC_SAMPLES)/script-noexec.inc
/linux-6.15/tools/perf/tests/shell/
H A Dtest_brstack.sh33 perf script -i $TMPDIR/perf.data --fields brstacksym | tr -s ' ' '\n' > $TMPDIR/perf.script
39 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/IND_CALL/.*$" $TMPDIR/perf.script
40 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
41 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
42 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
43 grep -E -m1 "^brstack_bar\+[^ ]*/brstack_foo\+[^ ]*/RET/.*$" $TMPDIR/perf.script
44 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bench\+[^ ]*/RET/.*$" $TMPDIR/perf.script
45 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bench\+[^ ]*/COND/.*$" $TMPDIR/perf.script
46 grep -E -m1 "^brstack\+[^ ]*/brstack\+[^ ]*/UNCOND/.*$" $TMPDIR/perf.script
62 perf script -i $TMPDIR/perf.data --fields brstack | tr -s ' ' '\n' | grep '.' > $TMPDIR/perf.script
[all …]
H A Dtest_task_analyzer.sh5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX)
75 perf script report task-analyzer > "$out"
82 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
97 perf script report task-analyzer --extended-times --time-limit :99999 \
105 perf script report task-analyzer --summary > "$out"
112 perf script report task-analyzer --summary-extended > "$out"
119 perf script report task-analyzer --summary-only > "$out"
126 perf script report task-analyzer --extended-times --summary --ns > "$out"
133 perf script report task-analyzer --csv csv > /dev/null
139 perf script report task-analyzer --csv csv --extended-times > /dev/null
[all …]
H A Dscript.sh7 temp_dir=$(mktemp -d /tmp/perf-test-script.XXXXXXXXXX)
66 perf script -i "${perfdatafile}" -s "${db_test}"
89 python3 "${pp}" -o "${output1_dir}" --jobs 4 --verbose -- perf script -i "${perf_data}"
90 python3 "${pp}" -o "${output2_dir}" --jobs 4 --verbose --per-cpu -- perf script -i "${perf_data}"
H A Dtest_intel_pt.sh415 decode_br_cnt=$(perf script -i "${perfdatafile}" --itrace=b | wc -l)
427 perf script -i "${perfdatafile}" --itrace=e-o-l --show-mmap-events | cat
441 mtc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "MTC 0x")
447 tsc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TSC 0x")
462 tnt_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TNT 0x")
463 tip_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TIP 0x")
464 fup_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "FUP 0x")
485 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
493 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
605 tnt_cnt=$(perf script -i "${perfdatafile}" -D | grep -c TNT)
[all …]
/linux-6.15/tools/perf/Documentation/
H A 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
33 scripts via 'perf script -l'. As such, this script also shows how to
34 integrate your script into the list of general-purpose 'perf script'
114 generated Python script: perf-script.py
161 path append which every perf script script should include.
344 the script.
353 your script:
[all …]
H A Dperf-script.txt1 perf-script(1)
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]
39 script --list' i.e. the actual script name minus any language
43 the script.
45 'perf script <script> <required-script-args> <command>' to both
60 <top-script> and to run the <top-script> using 'live-mode'
68 <top-script> 'live-mode' or 'perf script report' variants.
[all …]
H A 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.
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
114 Every perf script Perl script should start by setting up a Perl module
172 Perf::Trace::XXX' line to your perf script script.
206 Various utility functions for use with perf script:
[all …]
H A Dtips.txt6 Customize output of perf script with: perf script -F event,ip,sym
7 Generate a script for your data: perf script -g <lang>
17 Show individual samples with: perf script
40 To compute metrics for samples use perf record -e '{cycles,instructions}' ... ; perf script -F +met…
48 To collect Processor Trace with samples use perf record -e '{intel_pt//,cycles}' ; perf script --ca…
49 …rocessor Trace use perf record -e intel_pt// ... ; perf script --call-trace. Then use perf script
50 …ction latency with Processor Trace use perf record -e intel_pt// ... ; perf script --call-ret-trace
51 …se perf record --filter 'filter func @ program' -e intel_pt//u ./program ; perf script --insn-trace
57 To filter subset of samples with report or script add --time X-Y or --cpu A,B,C or --socket-filter …
/linux-6.15/scripts/coccinelle/misc/
H A Ddo_div.cocci67 long l: script:python() { filter_out_safe_constants(l) };
69 u64 ul64 : script:python() { filter_out_safe_constants(ul64) };
86 long l: script:python() { filter_out_safe_constants(l) };
101 @script:python depends on org@
108 @script:python depends on org@
115 @script:python depends on org@
122 @script:python depends on org@
129 @script:python depends on report@
136 @script:python depends on report@
143 @script:python depends on report@
[all …]
H A 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 …]
H A 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.15/tools/perf/
H A Dbuiltin-script.c2215 script->name_width = evlist__max_name_len(script->session->evlist); in process_event()
2943 script = path; in find_script()
2963 if (script) { in parse_scriptname()
2964 len = script - str; in parse_scriptname()
2976 script++; in parse_scriptname()
2978 script = str; in parse_scriptname()
3542 if (!script->cpus || !script->threads) in set_maps()
3548 perf_evlist__set_maps(&evlist->core, script->cpus, script->threads); in set_maps()
3573 if (!script->threads) in process_thread_map_event()
3589 if (script->cpus) { in process_cpu_map_event()
[all …]
/linux-6.15/drivers/scsi/
H A D53c700.h218 __u32 *script; /* pointer to script location */ member
425 #define script_patch_32(h, script, symbol, value) \ argument
431 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
438 #define script_patch_32_abs(h, script, symbol, value) \ argument
443 (script)[A_##symbol##_used[i]] = bS_to_host(da); \
451 #define script_patch_ID(h, script, symbol, value) \ argument
455 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
458 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
465 #define script_patch_16(h, script, symbol, value) \ argument
469 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
[all …]
/linux-6.15/scripts/coccinelle/api/
H A Dstring_choices.cocci31 @script:python depends on report@
50 @script:python depends on report@
69 @script:python depends on report@
88 @script:python depends on report@
107 @script:python depends on report@
126 @script:python depends on report@
145 @script:python depends on report@
164 @script:python depends on report@
183 @script:python depends on report@
202 @script:python depends on report@
[all …]
H A 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@
H A 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.15/scripts/coccinelle/null/
H A 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.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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.15/tools/testing/selftests/net/packetdrill/
H A Dksft_runner.sh26 script="$(basename $1)"
51 [[ "$script" =~ ${xfail_regex} ]] && failfunc=ktap_test_xfail
57 unshare -n packetdrill ${ipv4_args[@]} ${optargs[@]} $script > /dev/null \
59 unshare -n packetdrill ${ipv6_args[@]} ${optargs[@]} $script > /dev/null \
/linux-6.15/scripts/coccinelle/api/alloc/
H A 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@
246 @script:python depends on org@
276 @script:python depends on org@
306 @script:python depends on org@
336 @script:python depends on org@
366 @script:python depends on org@
[all …]
/linux-6.15/Documentation/userspace-api/
H A Dcheck_exec.rst10 are intended for script interpreters and dynamic linkers to enforce a
16 environment, and whether the kernel can check if a script is trustworthy or
28 for script interpreters and dynamic linkers to check the securebits at run time
39 (e.g. ELF libraries, script's shebang).
50 ``./script.sh``) and indirect file execution (e.g. ``sh script.sh``) lead to
81 However, script interpreters may still use user configuration such as
84 a script's caller. Changing these variables may lead to unintended code
95 For instance, script interpreters called with a script snippet as argument
118 Deny script interpretation if they are not executable, but allow
122 users. That can protect against unintended script executions (e.g. ``sh
[all …]
/linux-6.15/Documentation/admin-guide/aoe/
H A Dexamples.rst7 Example of udev install rules script
13 Example script to get status
19 Example of AoE autoload script
/linux-6.15/Documentation/dev-tools/
H A Dcheckuapi.rst7 The UAPI checker (``scripts/check-uapi.sh``) is a shell script which
73 Now, let's use the script to validate::
97 The script will catch this::
147 and the script will report the breakage even if you pass ``-i``::
172 Now, let's run the script again with no arguments::
224 the script only checks x86-compatible UAPI header files::
232 script doesn't even try.
328 the script::
357 so the script is unable to check changes before then.
450 This change would be flagged by the script::
[all …]

12345678910>>...18