Re: [PATCH][RFC] tracing: Enable tracepoints via module parameters

From: Rusty Russell
Date: Wed Aug 14 2013 - 23:23:30 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> writes:
> But the thing about this that bothers me is that there's no way to say,
> "Enable all tracepoints in this module on load". I would like a way to
> do that, but I don't know of a way to do that without modifying the
> module code. Have any ideas? Basically, I would love to have:
>
> insmod foo tracepoints=all
>
> or something and have all tracepoints enabled.

"without modifying the module code"? Why? The code isn't that scary,
and this seems useful.

Cheers,
Rusty.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/