Re: [PATCH v3 1/3] kasan: switch kunit tests to console tracepoints

From: Steven Rostedt
Date: Wed Feb 15 2023 - 14:33:16 EST


On Wed, 15 Feb 2023 09:57:40 +0100
Marco Elver <elver@xxxxxxxxxx> wrote:

> Yes, you are right, and it's something I've wondered how to do better
> as well. Let's try to consult tracing maintainers on what the right
> approach is.

I have to go and revisit the config options for CONFIG_FTRACE and
CONFIG_TRACING, as they were added when this all started (back in
2008), and the naming was rather all misnomers back then.

"ftrace" is really for just the function tracing, but CONFIG_FTRACE
really should just be for the function tracing infrastructure, and
perhaps not even include trace events :-/ But at the time it was
created, it was for all the "tracers" (this was added before trace
events).

-- Steve