Lines Matching full:perf
8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
30 if ! perf list | grep -q lock:contention_begin; then
39 echo "Testing perf lock record and perf lock contention"
40 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1
42 perf lock contention -i ${perfdata} -E 1 -q 2> ${result}
52 echo "Testing perf lock contention --use-bpf"
54 if ! perf lock con -b true > /dev/null 2>&1 ; then
59 # the perf lock contention output goes to the stderr
60 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
70 echo "Testing perf lock record and perf lock contention at the same time"
71 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \
72 perf lock contention -i- -E 1 -q 2> ${result}
82 echo "Testing perf lock contention --threads"
83 perf lock contention -i ${perfdata} -t -E 1 -q 2> ${result}
90 if ! perf lock con -b true > /dev/null 2>&1 ; then
94 # the perf lock contention output goes to the stderr
95 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
105 echo "Testing perf lock contention --lock-addr"
106 perf lock contention -i ${perfdata} -l -E 1 -q 2> ${result}
113 if ! perf lock con -b true > /dev/null 2>&1 ; then
117 # the perf lock contention output goes to the stderr
118 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
128 echo "Testing perf lock contention --type-filter (w/ spinlock)"
129 perf lock contention -i ${perfdata} -Y spinlock -q 2> ${result}
136 if ! perf lock con -b true > /dev/null 2>&1 ; then
140 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging > /dev/null 2> ${result}
150 echo "Testing perf lock contention --lock-filter (w/ tasklist_lock)"
151 perf lock contention -i ${perfdata} -l -q 2> ${result}
157 perf lock contention -i ${perfdata} -L tasklist_lock -q 2> ${result}
168 if ! perf lock con -b true > /dev/null 2>&1 ; then
172 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging > /dev/null 2> ${result}
182 echo "Testing perf lock contention --callstack-filter (w/ unix_stream)"
183 perf lock contention -i ${perfdata} -v -q 2> ${result}
189 perf lock contention -i ${perfdata} -E 1 -S unix_stream -q 2> ${result}
196 if ! perf lock con -b true > /dev/null 2>&1 ; then
200 perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
210 echo "Testing perf lock contention --callstack-filter with task aggregation"
211 perf lock contention -i ${perfdata} -v -q 2> ${result}
217 perf lock contention -i ${perfdata} -t -E 1 -S unix_stream -q 2> ${result}
224 if ! perf lock con -b true > /dev/null 2>&1 ; then
228 …perf lock con -a -b -t -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${resul…
238 echo "Testing perf lock contention CSV output"
239 perf lock contention -i ${perfdata} -E 1 -x , --output ${result}
256 if ! perf lock con -b true > /dev/null 2>&1 ; then
261 # the perf lock contention output goes to the stderr
262 perf lock con -a -b -E 1 -x , --output ${result} -- perf bench sched messaging > /dev/null 2>&1