Home
last modified time | relevance | path

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

12345

/tools/testing/selftests/exec/
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 …]
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
A Dbinfmt_script.py73 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)
/tools/perf/tests/shell/
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 …]
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}"
A Drecord_offcpu.sh110 if ! perf script --time "0, ${dummy_timestamp}" -i ${perfdata} -F event | grep -q "offcpu-time"
117 if ! perf script --time "0, ${dummy_timestamp}" -i ${perfdata} -F period | \
139 if ! perf script --time "${dummy_timestamp}," -i ${perfdata} -F event | grep -q 'offcpu-time'
146 if perf script --time "0, ${dummy_timestamp}" -i ${perfdata} -F event | grep -q 'offcpu-time'
A Dtest_intel_pt.sh420 decode_br_cnt=$(perf script -i "${perfdatafile}" --itrace=b | wc -l)
432 perf script -i "${perfdatafile}" --itrace=e-o-l --show-mmap-events | cat
446 mtc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "MTC 0x")
452 tsc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TSC 0x")
467 tnt_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TNT 0x")
468 tip_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TIP 0x")
469 fup_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "FUP 0x")
490 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
498 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
610 tnt_cnt=$(perf script -i "${perfdatafile}" -D | grep -c TNT)
[all …]
A Dtest_arm_callgraph_fp.sh35 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4
47 perf script -i "$PERF_DATA" -F comm,ip,sym | tr '\n' ' ' | \
A Damd-ibs-swfilt.sh57 kernel_sample=$(perf record -e ibs_op/swfilt/u -o- true | perf script -i- -F misc | grep -c ^K)
63 user_sample=$(perf record -e ibs_fetch/swfilt/k -o- true | perf script -i- -F misc | grep -c ^U)
A Drecord_bpf_filter.sh51 if perf script -i "${perfdata}" -F ip | grep 'ffffffff[0-9a-f]*'
131 if ! perf script -i "${perfdata}" -F period,event | grep task-clock | \
139 if perf script -i "${perfdata}" -F event,ip | grep page-fault | \
A Dtest_arm_coresight_disasm.sh48 perf script -i ${perfdata} -s python:${script_path} -- \
60 perf script -i ${perfdata} -s python:${script_path} -- \
A Drecord.sh22 script_output=$(mktemp /tmp/__perf_test.perf.data.XXXXX.script)
113 | perf script -F ip,sym,iregs -i - 2> /dev/null \
205 if ! perf script -i "${perfdata}" -F +brstackinsn,+brcntr | grep -q "$br_cntr_script_output"
227 if ! perf script -i "${perfdata}" -F cgroup | grep -q -v "unknown"
270 perf script -i "${perfdata}" | grep brstack > $script_output
A Dtest_brstack.sh41 perf script -i "$TMPDIR/perf.data" --fields brstacksym > "$TMPDIR/perf.script"
76 perf script -i "$TMPDIR/perf.data" --fields brstack > "$TMPDIR/perf.script"
/tools/perf/Documentation/
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 …]
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 …]
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 …]
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 …
/tools/perf/
A Dbuiltin-script.c2216 script->name_width = evlist__max_name_len(script->session->evlist); in process_event()
2953 script = path; in find_script()
2973 if (script) { in parse_scriptname()
2974 len = script - str; in parse_scriptname()
2986 script++; in parse_scriptname()
2988 script = str; in parse_scriptname()
3552 if (!script->cpus || !script->threads) in set_maps()
3558 perf_evlist__set_maps(&evlist->core, script->cpus, script->threads); in set_maps()
3583 if (!script->threads) in process_thread_map_event()
3599 if (script->cpus) { in process_cpu_map_event()
[all …]
/tools/testing/selftests/net/packetdrill/
A Dksft_runner.sh26 script="$(basename $1)"
44 unshare -n packetdrill ${ipv4_args[@]} ${optargs[@]} $script > /dev/null \
46 unshare -n packetdrill ${ipv6_args[@]} ${optargs[@]} $script > /dev/null \
/tools/perf/scripts/python/bin/
A Dgecko-report4 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py
6 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@"
/tools/testing/selftests/rcutorture/bin/
A Dconfig_override.sh45 }' > $T/script
46 sh $T/script < $base
A Dkvm.sh408 cat << ___EOF___ > $T/script
448 kvm-get-cpus-script.sh $T/cpuarray.awk $T/dumpbatches.awk
590 -f $T/dumpbatches.awk >> $T/script
591 echo kvm-end-run-stats.sh "$resdir/$ds" "$starttime" >> $T/script
594 grep -E 'Start batch|Starting build\.' $T/script | grep -v ">>" |
624 if test "$dryrun" = script
626 cat $T/script
631 grep -E 'Start batch|Starting build\.' $T/script | grep -v ">>" |
650 bash $T/script
/tools/testing/selftests/kselftest/
A Dmodule.sh30 script=${0##*/}
33 echo "Usage: $script <description> <module_name> [FAIL]"
/tools/hv/
A DMakefile65 for script in $(ALL_SCRIPTS); do \
66 install $$script -m 755 $(DESTDIR)$(libexecdir)/hypervkvpd/$${script%.sh}; \
/tools/memory-model/scripts/
A Dnewlitmushist.sh53 …list-C-short -e 's,^.*$,if test & -nt '"$LKMM_DESTDIR"'/&.out; then echo &; fi,' > $T/list-C-script
54 sh $T/list-C-script > $T/list-C-newer

Completed in 33 milliseconds

12345