Lines Matching +full:out +full:-
2 # perf script task-analyzer tests
3 # SPDX-License-Identifier: GPL-2.0
5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX)
10 if [ -e "$perfdir/scripts/python/Perf-Trace-Util" ]; then
18 rm -f perf.data
19 rm -f perf.data.old
20 rm -f csv
21 rm -f csvsummary
22 rm -rf "$tmpdir"
23 trap - exit term int
48 grep -q "$1" "$2"
58 perf check feature -q libtraceevent && return 0
64 perf record -e sched:sched_switch -a -- sleep 1 > /dev/null 2>&1
66 if [ ! -e "perf.data" ]; then
74 out="$tmpdir/perf.out"
75 perf script report task-analyzer > "$out"
76 check_exec_0 "perf script report task-analyzer"
77 find_str_or_fail "Comm" "$out" "${FUNCNAME[0]}"
81 out="$tmpdir/perf.out"
82 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
83 check_exec_0 "perf script report task-analyzer --ns --rename-comms-by-tids 0:random"
84 find_str_or_fail "Comm" "$out" "${FUNCNAME[0]}"
88 out="$tmpdir/perf.out"
89 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
90 > "$out"
91 check_exec_0 "perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf"
92 find_str_or_fail "Comm" "$out" "${FUNCNAME[0]}"
96 out="$tmpdir/perf.out"
97 perf script report task-analyzer --extended-times --time-limit :99999 \
98 --limit-to-tasks perf > "$out"
99 …check_exec_0 "perf script report task-analyzer --extended-times --time-limit :99999 --limit-to-tas…
100 find_str_or_fail "Out-Out" "$out" "${FUNCNAME[0]}"
104 out="$tmpdir/perf.out"
105 perf script report task-analyzer --summary > "$out"
106 check_exec_0 "perf script report task-analyzer --summary"
107 find_str_or_fail "Summary" "$out" "${FUNCNAME[0]}"
111 out="$tmpdir/perf.out"
112 perf script report task-analyzer --summary-extended > "$out"
113 check_exec_0 "perf script report task-analyzer --summary-extended"
114 find_str_or_fail "Inter Task Times" "$out" "${FUNCNAME[0]}"
118 out="$tmpdir/perf.out"
119 perf script report task-analyzer --summary-only > "$out"
120 check_exec_0 "perf script report task-analyzer --summary-only"
121 find_str_or_fail "Summary" "$out" "${FUNCNAME[0]}"
125 out="$tmpdir/perf.out"
126 perf script report task-analyzer --extended-times --summary --ns > "$out"
127 check_exec_0 "perf script report task-analyzer --extended-times --summary --ns"
128 find_str_or_fail "Out-Out" "$out" "${FUNCNAME[0]}"
129 find_str_or_fail "Summary" "$out" "${FUNCNAME[0]}"
133 perf script report task-analyzer --csv csv > /dev/null
134 check_exec_0 "perf script report task-analyzer --csv csv"
139 perf script report task-analyzer --csv csv --extended-times > /dev/null
140 check_exec_0 "perf script report task-analyzer --csv csv --extended-times"
141 find_str_or_fail "Out-Out;" csv "${FUNCNAME[0]}"
145 perf script report task-analyzer --csv-summary csvsummary > /dev/null
146 check_exec_0 "perf script report task-analyzer --csv-summary csvsummary"
151 perf script report task-analyzer --csv-summary csvsummary --summary-extended \
153 check_exec_0 "perf script report task-analyzer --csv-summary csvsummary --summary-extended"
154 find_str_or_fail "Out-Out;" csvsummary "${FUNCNAME[0]}"
159 if [ $err -ne 0 ]; then