Lines Matching full:record
2 # perf record tests (exclusive)
55 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null
57 echo "Per-thread record [Skipped event not supported]"
60 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null
62 echo "Per-thread record [Failed record]"
68 echo "Per-thread record [Failed missing output]"
80 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null
85 echo "Per-thread record [Failed record -p]"
91 echo "Per-thread record [Failed -p missing output]"
106 …if ! perf record --intr-regs=\? 2>&1 | grep -q 'available registers: AX BX CX DX SI DI BP SP IP FL…
111 if ! perf record -o - --intr-regs=di,r8,dx,cx -e br_inst_retired.near_call \
125 if ! perf record -aB --synth=no -o "${perfdata}" ${testprog} 2> /dev/null
127 echo "System-wide record [Skipped not supported]"
132 echo "System-wide record [Failed missing output]"
136 if ! perf record -aB --synth=no -e cpu-clock,cs --threads=cpu \
139 echo "System-wide record [Failed record --threads option]"
145 echo "System-wide record [Failed --threads missing output]"
154 if ! perf record -o "${perfdata}" ${testprog} 2> /dev/null
156 echo "Workload record [Failed record]"
162 echo "Workload record [Failed missing output]"
166 if ! perf record -e cpu-clock,cs --threads=package \
169 echo "Workload record [Failed record --threads option]"
175 echo "Workload record [Failed --threads missing output]"
193 …if ! perf record -o "${perfdata}" -e "{branches:p,instructions}" -j any,counter ${testprog} 2> /de…
195 echo "Branch counter record test [Failed record]"
216 if ! perf record -aB --synth=cgroup --all-cgroups -o "${perfdata}" ${testprog} 2> /dev/null
238 if ! perf record -aB --synth=no --uid "$(id -u)" -o "${perfdata}" ${testprog} \
246 echo "Uid sampling [Failed to record]"
263 if ! perf record -o "${perfdata}" -e "{cycles,cycles}:Su" -- \
266 echo "Leader sampling [Failed record]"
271 # Check if the two instruction counts are equal in each record.
316 if ! perf record -o "${perfdata}" -e "{instructions,slots,topdown-retiring}:S" true 2> /dev/null
330 if perf record -o "${perfdata}" -e "cycles" true 2> /dev/null
332 if ! perf record -o "${perfdata}" -e "cycles:P" true 2> /dev/null
342 # On s390 event instructions is not supported for perf record
343 if perf record -o "${perfdata}" -e "instructions" true 2> /dev/null
346 if ! perf record -o "${perfdata}" -e "instructions:P" true 2> /dev/null
374 if ! perf record -o "${perfdata}" $cmd_flags perf test -w brstack
393 if ! perf record -o /dev/null -e "{instructions, cycles/period=100000,ratio-to-prev=0.5/}" \
399 if ! perf record -o /dev/null -e "instructions, cycles/period=100000,ratio-to-prev=0.5/" \
406 if ! perf record -o /dev/null -e "{instructions,dummy,cycles/period=100000,ratio-to-prev=0.5/}" \
413 if ! perf record -o /dev/null -e "{instructions,cycles/ratio-to-prev=0.5/}" \
420 if ! perf record -o /dev/null -e "{cycles/ratio-to-prev=0.5/}" \
427 echo "Basic ratio-to-prev record test [Success]"