util: trace.sh: Fix chown and event serialisation

pull/162/head
Andri Yngvason 2022-08-27 10:54:35 +00:00
parent 34e95378e1
commit 535a142ebd
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ sudo perf buildid-cache -a build/subprojects/neatvnc/libneatvnc.so
delete_all_events
add_all_events
trap "sudo chown $USER.$USER perf.data*" EXIT
trap "sudo chown $USER:$USER perf.data*" EXIT
sudo perf record -aR -e ${EVENTS/ /,}
sudo perf record -aR -e ${EVENTS// /,}