ftrace: Fixes for v6.18
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fgraph: Initialize ftrace_ops->private for function graph opskernel/ | +1 | 0 replies | |
| 2/2 | fgraph: Check ftrace_pids_enabled on registration for early filteringkernel/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)