Re: [PATCH] kselftests: ftrace: limit the executing time by reading from cached trace

From: Steven Rostedt
Date: Tue Oct 19 2021 - 22:35:02 EST


On Wed, 20 Oct 2021 11:20:27 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Hmm, by the way, shouldn't we set this feature by default?
> There are many "cat trace | grep ..." style test code in ftracetest just for
> checking whether the event is recorded. At least for the ftracetest, it should
> be set unless the testcase is explicitly disable it.

For testing, sure.

I was criticized by the BPF folks about tracing stopping when the trace
file was being read. So for normal operations, it doesn't pause, because
that "confuses" people (so I am told).

-- Steve