Skip to content

fgraph: Fixes for 6.12

Steven Rostedt lkml 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: Fix missing unlock in register_ftrace_graph()kernel/trace/fgraph.c+3 -70 replies
2/2fgraph: Change the name of cpuhp state to "fgraph:online"kernel/trace/fgraph.c+1 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMasami Hiramatsu (Google)
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [for-linus][PATCH 0/2] fgraph: Fixes for 6.12

Fixes for function graph:

- Fix missing mutex unlock in error path of register_ftrace_graph()

A previous fix added a return on an error path and forgot to unlock the mutex. Instead of dealing with error paths, use guard(mutex) as the mutex is just released at the exit of the function anyway. Other functions in this file should be updated with this, but that's a cleanup and not a fix.

- Change cpuhp setup name to be consistent with other cpuhp states

The same fix that the above patch fixes added a cpuhp_setup_state() call with the name of "fgraph_idle_init". I was informed that it should instead be something like: "fgraph:online". Update that too.

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

Head SHA1: a574e7f80e86c740e241c762923f50077b2c2a30

Li Huafei (1):
fgraph: Fix missing unlock in register_ftrace_graph()

Steven Rostedt (1):
fgraph: Change the name of cpuhp state to "fgraph:online"

----

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