Skip to content

tracing: A couple of updates for 6.8

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/2tracing/trigger: Fix to return error if failed to alloc snapshotkernel/trace/trace_events_trigger.c+4 -20 replies
2/2tracefs: remove stale update_gid codefs/tracefs/event_inode.c fs/tracefs/internal.h+0 -390 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] tracing: A couple of updates for 6.8

tracing: Two small fixes for tracefs and eventfs:

- Fix register_snapshot_trigger() on allocation error
If the snashot fails to allocate, the register_snapshot_trigger() can still return success. If the call to tracing_alloc_snapshot_instance() returned anything but 0, it returned 0, but it should have been returing the error code from that allocation function.

- Remove leftover code from tracefs doing a dentry walk on remount. The update_gid() function was called by the tracefs code on remount to update the gid of eventfs, but that is no longer the case, but that code wasn't deleted. Nothing calls it. Remove it.

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/urgent

Head SHA1: 29142dc92c37d3259a33aef15b03e6ee25b0d188

Linus Torvalds (1):
tracefs: remove stale 'update_gid' code

Masami Hiramatsu (Google) (1):
tracing/trigger: Fix to return error if failed to alloc snapshot

----

 fs/tracefs/event_inode.c            | 38 -------------------------------------
 fs/tracefs/internal.h               |  1 -
 kernel/trace/trace_events_trigger.c |  6 ++++--
 3 files changed, 4 insertions(+), 41 deletions(-)