Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1624514
| From | Namhyung Kim <namhyung@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/4] ftrace: Add 'function-fork' trace option (v2) |
| Date | 2017-04-17 04:50 +0200 |
| Message-ID | <tx4TL-3l1-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello, This patchset add 'function-fork' option to function tracer which makes pid filter to be inherited like 'event-fork' does. During the test, I found a bug of pid filter on an instance directory. The patch 1 fixes it and maybe it should go to the stable tree. The function-fork option is disabled by default as event-fork does, but we might consider changing the default since it seems to be more natural from an user's perspective IMHO. v2 changes) * use ftrace_clear_pids() (Steve) * add Ack from Masami The code is also available at 'ftrace/function-fork-v2' branch on git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git Thanks, Namhyung Namhyung Kim (4): ftrace: Fix function pid filter on instances ftrace: Add 'function-fork' trace option selftests: ftrace: Add -l/--logdir option selftests: ftrace: Add a testcase for function PID filter kernel/trace/ftrace.c | 46 ++++++++++ kernel/trace/trace.c | 6 +- kernel/trace/trace.h | 8 +- tools/testing/selftests/ftrace/ftracetest | 5 ++ .../ftrace/test.d/ftrace/func-filter-pid.tc | 98 ++++++++++++++++++++++ 5 files changed, 161 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc -- 2.12.2
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/4] ftrace: Add 'function-fork' trace option (v2) Namhyung Kim <namhyung@kernel.org> - 2017-04-17 04:50 +0200
[PATCH 2/4] ftrace: Add 'function-fork' trace option Namhyung Kim <namhyung@kernel.org> - 2017-04-17 04:50 +0200
[PATCH 1/4] ftrace: Fix function pid filter on instances Namhyung Kim <namhyung@kernel.org> - 2017-04-17 04:50 +0200
Re: [PATCH 1/4] ftrace: Fix function pid filter on instances Masami Hiramatsu <mhiramat@kernel.org> - 2017-04-17 14:00 +0200
Re: [PATCH 1/4] ftrace: Fix function pid filter on instances Namhyung Kim <namhyung@kernel.org> - 2017-04-17 15:10 +0200
[PATCH 4/4] selftests: ftrace: Add a testcase for function PID filter Namhyung Kim <namhyung@kernel.org> - 2017-04-17 04:50 +0200
Re: [PATCH 0/4] ftrace: Add 'function-fork' trace option (v2) Steven Rostedt <rostedt@goodmis.org> - 2017-04-17 21:20 +0200
Re: [PATCH 0/4] ftrace: Add 'function-fork' trace option (v2) Namhyung Kim <namhyung@kernel.org> - 2017-04-19 02:30 +0200
Re: [PATCH 0/4] ftrace: Add 'function-fork' trace option (v2) Steven Rostedt <rostedt@goodmis.org> - 2017-04-19 03:30 +0200
csiph-web