Skip to content

ftrace: Fixes for v6.18

Steven Rostedt lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fgraph: Initialize ftrace_ops->private for function graph opskernel/trace/fgraph.c+1 -00 replies
2/2fgraph: Check ftrace_pids_enabled on registration for early filteringkernel/trace/fgraph.c+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [for-linus][PATCH 0/2] ftrace: Fixes for v6.18

ftrace fixes for v6.18:

- Fix regression of pid filtering of function graph tracer

When the function graph tracer allowed multiple instances of graph tracing using subops, the filtering by pid broke.

The ftrace_ops->private that was used for pid filtering wasn't updated on creation.

The wrong function entry callback was used when pid filtering was enabled when the function graph tracer started, which meant that the pid filtering wasn't happening.

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
ftrace/fixes

Head SHA1: 1650a1b6cb1ae6cb99bb4fce21b30ebdf9fc238e

Shengming Hu (2):
fgraph: Initialize ftrace_ops->private for function graph ops
fgraph: Check ftrace_pids_enabled on registration for early filtering

----

 kernel/trace/fgraph.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)