projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'x86-build-for-linus', 'x86-cleanups-for-linus' and 'x86-debug-for...
[cascardo/linux.git]
/
tools
/
perf
/
scripts
/
python
/
bin
/
syscall-counts-by-pid-record
diff --git
a/tools/perf/scripts/python/bin/syscall-counts-by-pid-record
b/tools/perf/scripts/python/bin/syscall-counts-by-pid-record
index
4efbfaa
..
d694084
100644
(file)
--- a/
tools/perf/scripts/python/bin/syscall-counts-by-pid-record
+++ b/
tools/perf/scripts/python/bin/syscall-counts-by-pid-record
@@
-1,2
+1,3
@@
#!/bin/bash
-perf record -e raw_syscalls:sys_enter $@
+(perf record -e raw_syscalls:sys_enter $@ || \
+ perf record -e syscalls:sys_enter $@) 2> /dev/null