Re: [POC][RFC][PATCH 0/3] tracing: Add perf events to trace buffer
From: Steven Rostedt
Date: Tue Nov 18 2025 - 08:53:11 EST
On Tue, 18 Nov 2025 17:11:47 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
> > > echo "perf:my_counter=pmu/config=M,config1=N" >> /sys/kernel/tracing/trigger
> >
> > Still need a way to add an identifier list. Currently, if the size of
> > the type identifier is one byte, then it can only support up to 256 events.
>
> Yes, so if user adds more than that, it will return -ENOSPC.
The issue is that the ids are defined by what is possible, not by what the
user enables.
-- Steve