util: trace.sh: Fix chown and event serialisation
parent
34e95378e1
commit
535a142ebd
|
@ -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// /,}
|
||||
|
||||
|
|
Loading…
Reference in New Issue