Lines Matching full:perf
2 # perf script task-analyzer tests
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
56 # check if perf is compiled with libtraceevent support
58 perf check feature -q libtraceevent && return 0
64 perf record -e sched:sched_switch -a -- sleep 1 > /dev/null 2>&1
65 # check if perf data file got created in above step.
66 if [ ! -e "perf.data" ]; then
67 printf "FAIL: perf record failed to create \"perf.data\" \n"
74 out="$tmpdir/perf.out"
75 perf script report task-analyzer > "$out"
76 check_exec_0 "perf script report task-analyzer"
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"
88 out="$tmpdir/perf.out"
89 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
91 check_exec_0 "perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf"
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…
104 out="$tmpdir/perf.out"
105 perf script report task-analyzer --summary > "$out"
106 check_exec_0 "perf script report task-analyzer --summary"
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"
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"
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"
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"
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"