On Fri, 08 Sep 2023 14:14:20 +0200 Sven Schnelle <svens@xxxxxxxxxxxxx> wrote: > Ajay Kaher <akaher@xxxxxxxxxx> writes: > > > Till now /sys/kernel/debug/tracing/events is a part of tracefs, > > with-in this patch creating 'events' and it's sub-dir as eventfs. > > Basically replacing tracefs calls with eventfs calls for 'events'. > > > > Signed-off-by: Ajay Kaher <akaher@xxxxxxxxxx> > > Co-developed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> > > Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> > > Tested-by: Ching-lin Yu <chinglinyu@xxxxxxxxxx> > > --- > > fs/tracefs/inode.c | 18 ++++++++++ > > include/linux/trace_events.h | 1 + > > kernel/trace/trace.h | 2 +- > > kernel/trace/trace_events.c | 67 +++++++++++++++++++----------------- > > 4 files changed, 55 insertions(+), 33 deletions(-) > > With this patchset in next-20230908 the following crash is observed on > s390 while running ftracetest test.d/instances/instance-event.tc: > > (It also crashes without KASAN, just not on every try) Yep, and I've spent the last few days fixing this :-) https://lore.kernel.org/linux-trace-kernel/20230907024710.866917011@xxxxxxxxxxx/ -- Steve