[PATCH 5/5] perf trace: Add possibility to switch off syscall events

2014-06-26 Thread Arnaldo Carvalho de Melo
From: Stanislav Fomichev Currently, we may either trace syscalls or syscalls+pagefaults. We'd like to be able to trace *only* pagefaults and this commit implements this feature. Example: [root@zoo /]# echo 1 > /proc/sys/vm/drop_caches ; trace --no-syscalls -F -p `pidof xchat` 0.000 (

[PATCH 5/5] perf trace: add possibility to switch off syscall events

2014-06-26 Thread Stanislav Fomichev
Currently, we may either trace syscalls or syscalls+pagefaults. We'd like to be able to trace *only* pagefaults and this commit implements this feature. Signed-off-by: Stanislav Fomichev --- tools/perf/Documentation/perf-trace.txt | 7 tools/perf/builtin-trace.c | 58 +