]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf trace: Make "--call-graph" affect just "raw_syscalls:sys_exit"
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Apr 2016 21:42:37 +0000 (18:42 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Apr 2016 01:18:23 +0000 (22:18 -0300)
commitfde54b7860ffff1c93e6b9abb3fbc3b8b95f2695
treebba9a05957c58881f1e7c19a7f73773d8299812f
parent01e0d50c3f95cb1bae2dbfd83173bc2864d6d28c
perf trace: Make "--call-graph" affect just "raw_syscalls:sys_exit"

We don't need the callchains at the syscall enter tracepoint, just when
finishing it at syscall exit, so reduce the overhead by asking for
callchains just at syscall exit.

Suggested-by: Milian Wolff <milian.wolff@kdab.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-fja1ods5vqpg42mdz09xcz3r@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c