/linux/tools/testing/selftests/exec/ |
H A D | check-exec-tests.sh | 21 local script="$2" 27 out="$(PATH="." "$@" "${script}")" || ret=$? 41 local script="$2" 47 out="$("$@" ./inc "${script}")" || ret=$? 61 local script="$2" 67 out="$("$@" ./inc -i < "${script}")" || ret=$? 101 out="$("$@" ./inc -c "$(< script-exec.inc)")" || ret=$? 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 [all …]
|
H A D | Makefile | 15 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
|
H A D | binfmt_script.py | 73 script = "binfmt_script-%s" % (name) 74 open(script, "w").write(buf) 75 os.chmod(script, 0o755) 77 proc = subprocess.Popen(["./%s" % (script)], shell=True, 101 os.unlink(script)
|
/linux/tools/perf/Documentation/ |
H A D | perf-script.txt | 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> <require [all...] |
H A D | perf-script-perl.txt | 1 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 …]
|
H A D | tips.txt | 6 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 +metric 48 To collect Processor Trace with samples use perf record -e '{intel_pt//,cycles}' ; perf script --call-trace or --insn-trace --xed -F +ipc (remove --xed if no xed) 49 To trace calls using Processor Trace use perf record -e intel_pt// ... ; perf script --call-trace. Then use perf script --time A-B --insn-trace to look at region of interest. 50 To measure approximate function latency with Processor Trace use perf record -e intel_pt// ... ; perf script [all...] |
/linux/scripts/coccinelle/misc/ |
H A D | do_div.cocci | 67 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 …]
|
H A D | array_size_dup.cocci | 38 @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 D | minmax.cocci | 168 @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/drivers/scsi/ |
H A D | 53c700.h | 218 __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/scripts/coccinelle/api/ |
H A D | string_choices.cocci | 31 @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 D | memdup_user.cocci | 28 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 D | platform_no_drv_owner.cocci | 123 @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@
|
H A D | kfree_sensitive.cocci | 36 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@
|
H A D | kfree_mismatch.cocci | 164 @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@
|
/linux/scripts/coccinelle/null/ |
H A D | badzero.cocci | 70 @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/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | dp.c | 107 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/tools/testing/selftests/net/packetdrill/ |
H A D | ksft_runner.sh | 26 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/scripts/coccinelle/api/alloc/ |
H A D | zalloc-simple.cocci | 156 @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/Documentation/userspace-api/ |
H A D | check_exec.rst | 10 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 102 Here is the expected behavior for a script interpreter according to combination 112 script interpreter. Indeed, this check is still important to enable systems [all …]
|
/linux/Documentation/dev-tools/ |
H A D | checkuapi.rst | 7 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:: 116 In this case, the script is reporting the type change because it could 120 anything. You can pass the ``-i`` flag to the script to ignore changes 147 and the script will report the breakage even if you pass ``-i``:: 172 Now, let's run the script again with no arguments:: 184 let's pass ``-p HEAD~2`` to the script so it checks UAPI changes between 202 base reference to ``HEAD~`` so then the script would compare it to ``HEAD~^1``. 223 running the script from an x86 machine with an x86 compiler, so, by default, [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | script.sh | 7 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}"
|
/linux/Documentation/admin-guide/aoe/ |
H A D | examples.rst | 7 Example of udev install rules script 13 Example script to get status 19 Example of AoE autoload script
|
/linux/scripts/package/ |
H A D | builddeb | 80 for script in postinst postrm preinst prerm; do 82 cat <<-EOF > "${pdir}/DEBIAN/${script}" 97 test -d "\$dir/${script}.d" || continue 98 hookdirs="\$hookdirs \$dir/${script}.d" 104 chmod 755 "${pdir}/DEBIAN/${script}"
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | af9005-fe.c | 961 scriptlen = sizeof(script) / sizeof(RegDesc); in af9005_fe_init() 964 af9005_write_register_bits(state->d, script[i].reg, in af9005_fe_init() 965 script[i].pos, in af9005_fe_init() 966 script[i].len, script[i].val))) in af9005_fe_init() 969 if (script[i].reg == 0xae18) in af9005_fe_init() 970 temp2 = script[i].val; in af9005_fe_init() 971 if (script[i].reg == 0xae19) in af9005_fe_init() 972 temp1 = script[i].val; in af9005_fe_init() 973 if (script[i].reg == 0xae1a) in af9005_fe_init() 974 temp0 = script[i].val; in af9005_fe_init() [all …]
|