linux-next: manual merge of the ftrace tree with the trace-fixes tree
From: Mark Brown
Date: Fri Dec 04 2026 - 10:41:39 EST
Hi all,
Today's linux-next merge of the ftrace tree got a conflict in:
kernel/trace/trace_events.c
between commit:
e78d3e4a9d72d ("tracing: Fix trace_event_file leak on read-only instances")
from the trace-fixes tree and commit:
42ecc8eec3388 ("tracefs: Add read-only eventfs filesystem at /sys/kernel/events")
from the ftrace tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc kernel/trace/trace_events.c
index 60720d9236a16,0d4195b43208e..0000000000000
--- a/kernel/trace/trace_events.c
+++ b/kernel/trace/trace_events.c
@@@ -3298,7 -3393,7 +3393,8 @@@ event_create_dir(struct eventfs_inode *
{
.name = "format",
.callback = event_callback,
+ .release = event_release,
+ .read_only = true,
},
#ifdef CONFIG_PERF_EVENTS
{
Attachment:
signature.asc
Description: PGP signature