Re: [PATCH] tracing: Export tracing_start() and tracing_stop()
From: Steven Rostedt
Date: Tue Jun 08 2021 - 09:24:41 EST
On Tue, 8 Jun 2021 14:59:27 +0200
Vincent Whitchurch <vincent.whitchurch@xxxxxxxx> wrote:
> Right, thanks, that's certainly much simpler. I'd only used
> tracing_stop() before and never noticed that tracing_on can't be used to
> restart tracing, probably because the kind of problems I used it for
> usually resulted in the system needing a restart anyway to be usable.
You must have been using this from the beginning, because
tracing_stop() was first, but people complained that it was slow and
you couldn't turn it back on. Thus "tracing_off()" was added, and
documented as the "thing to use" (if you looked at the comments around
them). But that was years (decade?) ago.
-- Steve