Lines Matching refs:stat_output
8 stat_output=$(mktemp /tmp/perf-stat-test-output.XXXXX)
11 rm -f "${stat_output}"
270 if ! perf stat -C "$online_cpus" -a true > "${stat_output}" 2>&1
273 cat "${stat_output}"
278 if ! grep -E -q "Performance counter stats for" "${stat_output}"
281 cat "${stat_output}"
295 if ! perf stat -C "$cpu" -a true > "${stat_output}" 2>&1
298 cat "${stat_output}"
302 if ! grep -E -q "Performance counter stats for" "${stat_output}"
305 cat "${stat_output}"
332 if ! perf stat -C "0,1" -a true > "${stat_output}" 2>&1
335 cat "${stat_output}"
339 if ! grep -E -q "Performance counter stats for" "${stat_output}"
342 cat "${stat_output}"
348 if ! perf stat -C "0-1" -a true > "${stat_output}" 2>&1
351 cat "${stat_output}"
355 if ! grep -E -q "Performance counter stats for" "${stat_output}"
358 cat "${stat_output}"
369 if ! perf stat -A -a true > "${stat_output}" 2>&1
372 cat "${stat_output}"
377 if ! grep -E -q "CPU" "${stat_output}"
380 cat "${stat_output}"
389 if ! perf stat -d true > "${stat_output}" 2>&1
392 cat "${stat_output}"
397 if ! grep -E -q "Performance counter stats" "${stat_output}"
400 cat "${stat_output}"
405 if ! perf stat -dd true > "${stat_output}" 2>&1
408 cat "${stat_output}"
413 if ! grep -E -q "Performance counter stats" "${stat_output}"
416 cat "${stat_output}"
421 if ! perf stat -ddd true > "${stat_output}" 2>&1
424 cat "${stat_output}"
429 if ! grep -E -q "Performance counter stats" "${stat_output}"
432 cat "${stat_output}"
442 if ! perf stat -r 2 true > "${stat_output}" 2>&1
445 cat "${stat_output}"
450 if ! grep -E -q "\([[:space:]]*\+-.*%[[:space:]]*\)" "${stat_output}"
453 cat "${stat_output}"
464 if ! perf stat -p $pid > "${stat_output}" 2>&1
467 cat "${stat_output}"
474 if ! grep -E -q "Performance counter stats" "${stat_output}"
477 cat "${stat_output}"