Thread (11 messages) read the whole thread 11 messages, 3 authors, 2016-11-21

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

From: rostedt@goodmis.org (Steven Rostedt)
Date: 2016-11-18 14:29:13
Also in: lkml

On Fri, 18 Nov 2016 11:07:32 +0800
Chunyan Zhang [off-list ref] 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 <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help