On Wed, 22 Feb 2023 14:28:55 -0800 Dave Hansen <dave.hansen@xxxxxxxxx> wrote: > On 2/22/23 14:07, Joseph, Jithu wrote: > > Since the trace has to be explicitly enabled (I thought it is okay to > > add a more convenient custom one only to be enabled for detailed > > analysis when required). > > man perf-script Or do it in C with tracefs :-) https://www.trace-cmd.org/Documentation/libtracefs/ -- Steve > > You should be able to write one to do exactly what you need in about 10 > minutes. No new tracepoints, no new kernel code to maintain. Knock > yourself out with whatever conveniences you want. Just do it in userspace. > > I still think this patch should go away.