summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/perf/tests/shell/trace_exit_race.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/shell/trace_exit_race.sh b/tools/perf/tests/shell/trace_exit_race.sh
index 8ea24f4256bc..fbb0adc33a88 100755
--- a/tools/perf/tests/shell/trace_exit_race.sh
+++ b/tools/perf/tests/shell/trace_exit_race.sh
@@ -16,11 +16,11 @@ if [ "$1" = "-v" ]; then
fi
iter=10
-regexp=" +[0-9]+\.[0-9]+ +true/[0-9]+ syscalls:sys_enter_exit_group\(\)$"
+regexp=" +[0-9]+\.[0-9]+ [0-9]+ syscalls:sys_enter_exit_group\(\)$"
trace_shutdown_race() {
for _ in $(seq $iter); do
- perf trace -e syscalls:sys_enter_exit_group true 2>>$file
+ perf trace --no-comm -e syscalls:sys_enter_exit_group true 2>>$file
done
result="$(grep -c -E "$regexp" $file)"
[ $result = $iter ]