Home
last modified time | relevance | path

Searched refs:perfdata (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/tools/perf/tests/shell/
Drecord.sh19 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
36 rm -rf "${perfdata}"
37 rm -rf "${perfdata}".old
55 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null
61 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
72 rm -f "${perfdata}"
75 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null
78 if [ ! -e "${perfdata}" ]
84 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
120 if ! perf record -aB --synth=no -o "${perfdata}" ${testprog} 2> /dev/null
[all …]
Drecord_lbr.sh14 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
17 rm -rf "${perfdata}"
18 rm -rf "${perfdata}".old
19 rm -rf "${perfdata}".txt
35 if ! perf record -e cycles --call-graph lbr -o "${perfdata}" perf test -w thloop
45 if ! perf report --stitch-lbr -i "${perfdata}" > "${perfdata}".txt
47 cat "${perfdata}".txt
67 if ! perf record -e cycles $branch_flags -o "${perfdata}" perf test -w thloop
70 perf record -e cycles $branch_flags -o "${perfdata}" perf test -w thloop || true
78 out=$(perf report -D -i "${perfdata}" 2> /dev/null | grep -A1 'PERF_RECORD_SAMPLE')
[all …]
Drecord_offcpu.sh8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
11 rm -f ${perfdata}
12 rm -f ${perfdata}.old
42 if ! perf record --off-cpu -e dummy -o ${perfdata} sleep 1 2> /dev/null
48 if ! perf evlist -i ${perfdata} | grep -q "offcpu-time"
54 if ! perf report -i ${perfdata} -q --percent-limit=90 | grep -E -q sleep
67 if ! perf record --off-cpu -e dummy -o ${perfdata} -- \
74 if ! perf evlist -i ${perfdata} | grep -q "offcpu-time"
81 if ! perf report -i ${perfdata} -s comm -q -n -t ';' --percent-limit=90 | \
Dtest_arm_spe.sh20 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
25 rm -f ${perfdata}
26 rm -f ${perfdata}.old
53 perf script -F,-time -i ${perfdata} 2>&1 | \
64 perf report --stdio -i ${perfdata} 2>&1 | \
69 echo "Recording trace with snapshot mode $perfdata"
70 perf record -o ${perfdata} -e arm_spe// -S \
92 echo "Recording trace with system-wide mode $perfdata"
100 perf record -o ${perfdata} -e arm_spe// -a --no-bpf-event \
Drecord_bpf_filter.sh8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
11 rm -f "${perfdata}"
12 rm -f "${perfdata}".old
45 -o "${perfdata}" true 2> /dev/null
51 if perf script -i "${perfdata}" -F ip | grep 'ffffffff[0-9a-f]*'
124 -o "${perfdata}" true 2> /dev/null
131 if ! perf script -i "${perfdata}" -F period,event | grep task-clock | \
139 if perf script -i "${perfdata}" -F event,ip | grep page-fault | \
154 -a --all-cgroups --synth=cgroup -o "${perfdata}" true 2> /dev/null
169 if ! perf report -i "${perfdata}" -s cgroup -q | grep -q -F '100.00%'
Dtest_arm_coresight.sh23 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
28 rm -f ${perfdata}
30 rm -f "${perfdata}.old"
40 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \
51 perf script -F,-time -i ${perfdata} 2>&1 | \
62 perf report --stdio -i ${perfdata} 2>&1 | \
73 perf report --itrace=i20i --stdio -i ${perfdata} 2>&1 | \
153 perf record -o ${perfdata} -e cs_etm// -a -- ls > /dev/null 2>&1
167 perf record -o ${perfdata} -e cs_etm// -S \
191 perf record -o ${perfdata} "$@" -m,8M -- ls > /dev/null 2>&1
Dlock_contention.sh8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
12 rm -f ${perfdata}
47 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1
49 perf lock contention -i ${perfdata} -E 1 -q 2> ${result}
90 perf lock contention -i ${perfdata} -t -E 1 -q 2> ${result}
113 perf lock contention -i ${perfdata} -l -E 1 -q 2> ${result}
154 perf lock contention -i ${perfdata} -Y spinlock -q 2> ${result}
176 perf lock contention -i ${perfdata} -l -q 2> ${result}
182 perf lock contention -i ${perfdata} -L tasklist_lock -q 2> ${result}
208 perf lock contention -i ${perfdata} -v -q 2> ${result}
[all …]
Dannotate.sh17 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
24 rm -rf "${perfdata}" "${perfout}"
25 rm -rf "${perfdata}".old
39 if ! perf record -o "${perfdata}" ${testprog} 2> /dev/null
47 perf annotate -i "${perfdata}" --stdio 2> /dev/null > "${perfout}"
66 if ! perf annotate -i "${perfdata}" "${testsym}" 2> /dev/null | \
75 if ! perf annotate -i "${perfdata}" --objdump=objdump 2> /dev/null | \
Drecord_sideband.sh8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
12 rm -rf ${perfdata}
25 if ! perf record -o ${perfdata} -BN --no-bpf-event -C $1 true > /dev/null 2>&1
31 rm -f ${perfdata}
42 perf record -BN --no-bpf-event -o ${perfdata} -C 0 -- taskset --cpu-list 1 true
45 mmap_cnt=`perf script -i ${perfdata} --show-mmap-events -C 1 2>/dev/null | grep MMAP | wc -l`
Drecord+script_probe_vfs_getname.sh28 perf record -o ${perfdata} -e probe:vfs_getname\* touch $file
33 perf script -i ${perfdata} | \
43 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
48 rm -f ${perfdata}
Dtest_perf_data_converter_json.sh13 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
18 rm -f "${perfdata}"
33 perf record -o "$perfdata" -F 99 -g -- perf test -w noploop > /dev/null 2>&1
34 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1
/linux-6.12.1/tools/perf/Documentation/
Dperf-daemon.txt118 base=/opt/perfdata
135 [603349:daemon] base: /opt/perfdata
145 [603349:daemon] base: /opt/perfdata
146 output: /opt/perfdata/output
147 lock: /opt/perfdata/lock
150 base: /opt/perfdata/session-cycles
151 output: /opt/perfdata/session-cycles/output
152 control: /opt/perfdata/session-cycles/control
153 ack: /opt/perfdata/session-cycles/ack
156 base: /opt/perfdata/session-sched
[all …]
Dperf-config.txt670 in particular -i perfdata file, --cpu, --tid