[PATCH V8 1/3] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

Steven Rostedt rostedt at goodmis.org
Fri Nov 18 06:29:05 PST 2016


On Fri, 18 Nov 2016 11:07:32 +0800
Chunyan Zhang <zhang.chunyan at linaro.org> wrote:

> Currently Function traces can be only exported to ring buffer, this
> patch added trace_export concept which can process traces and export
> them to a registered destination as an addition to the current only
> one output of Ftrace - i.e. ring buffer.
> 
> In this way, if we want Function traces to be sent to other destination
> rather than ring buffer only, we just need to register a new trace_export
> and implement its own .write() function for writing traces to storage.
> 
> With this patch, only Function trace (trace type is TRACE_FN)
> is supported.
> 
> Signed-off-by: Chunyan Zhang <zhang.chunyan at linaro.org>

This looks good to me, although I would like this to go through my tree
(to make sure it gets all my testing). I understand the next two
patches depend on this, how would you want to go about that?

One is that I can pull it in the next merge window, and the rest go in
after that. Or I can take the other two patches with the proper acks as
well.

-- Steve



More information about the linux-arm-kernel mailing list