Home
last modified time | relevance | path

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

12345

/tools/perf/tests/shell/
Dtest_brstack.sh33 perf script -i $TMPDIR/perf.data --fields brstacksym | xargs -n1 > $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 | xargs -n1 > $TMPDIR/perf.script
[all …]
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"
89 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
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
[all …]
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}"
Dtest_intel_pt.sh117 …mmap_cnt=$(perf script -i "${perfdatafile}" --no-itrace --show-mmap-events -C 1 2>/dev/null | grep…
415 decode_br_cnt=$(perf script -i "${perfdatafile}" --itrace=b | wc -l)
417 decode_err_cnt=$(perf script -i "${perfdatafile}" --itrace=e-o-l | grep -ci error)
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")
[all …]
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' ' ' | \
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 | \
Drecord+probe_libc_inet_pton.sh62 perf_script=`mktemp -u /tmp/perf.script.XXX`
77 perf script -i $perf_data | tac | grep -m1 ^ping -B9 | tac > $perf_script
/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.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 …
Dintel-bts.txt48 perf script
51 By default, perf script will decode trace data found in the perf.data file.
63 perf script has an option (-D) to "dump" the events i.e. display the binary
77 perf script.
/tools/testing/selftests/net/packetdrill/
Dksft_runner.sh26 script="$1"
41 unshare -n packetdrill ${ipv4_args[@]} ${optargs[@]} $(basename $script) > /dev/null \
43 unshare -n packetdrill ${ipv6_args[@]} ${optargs[@]} $(basename $script) > /dev/null \
/tools/perf/
Dbuiltin-script.c728 tod_scnprintf(struct perf_script *script, char *buf, int buflen, in tod_scnprintf() argument
739 if (buflen < 64 || !script) in tod_scnprintf()
742 env = &script->session->header.env; in tod_scnprintf()
789 static int perf_sample__fprintf_start(struct perf_script *script, in perf_sample__fprintf_start() argument
891 tod_scnprintf(script, tstr, sizeof(tstr), sample->time); in perf_sample__fprintf_start()
2167 static void perf_sample__fprint_metric(struct perf_script *script, in perf_sample__fprint_metric() argument
2189 evlist__alloc_stats(&stat_config, script->session->evlist, /*alloc_raw=*/false); in perf_sample__fprint_metric()
2248 static void process_event(struct perf_script *script, in process_event() argument
2267 perf_sample__fprintf_start(script, sample, thread, evsel, in process_event()
2276 if (!script->name_width) in process_event()
[all …]
/tools/perf/scripts/python/bin/
Dgecko-report4 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py
6 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@"
Dnet_dropmonitor-report4 perf script -s "$PERF_EXEC_PATH"/scripts/python/net_dropmonitor.py $@
Devent_analyzing_sample-report3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/event_analyzing_sample.py
/tools/testing/selftests/rcutorture/bin/
Dconfig_override.sh45 }' > $T/script
46 sh $T/script < $base
Dkvm.sh403 cat << ___EOF___ > $T/script
453 kvm-get-cpus-script.sh $T/cpuarray.awk $T/dumpbatches.awk
595 -f $T/dumpbatches.awk >> $T/script
596 echo kvm-end-run-stats.sh "$resdir/$ds" "$starttime" >> $T/script
599 grep -E 'Start batch|Starting build\.' $T/script | grep -v ">>" |
629 if test "$dryrun" = script
631 cat $T/script
636 grep -E 'Start batch|Starting build\.' $T/script | grep -v ">>" |
655 bash $T/script
/tools/testing/selftests/kselftest/
Dmodule.sh30 script=${0##*/}
33 echo "Usage: $script <description> <module_name> [FAIL]"
/tools/testing/selftests/exec/
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)
DMakefile12 TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir
26 $(OUTPUT)/script: Makefile
/tools/hv/
DMakefile65 for script in $(ALL_SCRIPTS); do \
66 install $$script -m 755 $(DESTDIR)$(libexecdir)/hypervkvpd/$${script%.sh}; \
/tools/memory-model/scripts/
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
/tools/pci/
DMakefile52 for script in $(SCRIPTS); do \
53 install $$script $(DESTDIR)$(bindir); \

12345