Lines Matching +full:output +full:- +full:specific
3 # SPDX-License-Identifier: GPL-2.0
5 set -e
9 output=$(mktemp /tmp/__perf_timechart_test.output.XXXXX.svg)
12 rm -f "${perfdata}"*
13 rm -f "${output}"
14 trap - EXIT TERM INT
31 # perf timechart record uses system-wide recording and specific tracepoints.
33 if ! perf timechart record -o "${perfdata}" ${OPTION} true > /dev/null 2>&1; then
39 if ! perf timechart -i "${perfdata}" -o "${output}" > /dev/null 2>&1; then
45 # Check if output file exists and is not empty
46 if [ ! -s "${output}" ]; then
47 echo "perf timechart ${NAME} test [Failed: output file is empty or missing]"
53 if ! grep -q "svg" "${output}"; then
54 echo "perf timechart ${NAME} test [Failed: output doesn't look like SVG]"
62 if ! perf check feature -q libtraceevent ; then
69 test_timechart "IO-only" "-I"
70 test_timechart "Backtrace" "-g"