Skip to content

ftrace interface for blktrace

Arnaldo Carvalho de Melo linux-btrace lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ftrace: Add ftrace_vprintkinclude/linux/ftrace.h kernel/trace/trace.c+17 -00 replies
2/2blktrace: Add ftrace pluginblock/blktrace.c fs/partitions/check.c kernel/trace/trace.h+654 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip][0/2] ftrace interface for blktrace

Hi Jens,

Here is a third version, that also implements blk_add_trace_msg,
using ftrace_vprintk.

As soon as the TRACE_ITER_CONTEXT_INFO option is implemented
I'll provide the struct trace_event->bin() callback to synthesize the old blktrace record format so that we can test the output of trace_pipe with blkparse -i -.

Please let me know if this is acceptable for inclusion on
linux-tip.

Best Regards,

- Arnaldo

 block/blktrace.c       |  651 ++++++++++++++++++++++++++++++++++++++++++++++++-
 fs/partitions/check.c  |    7 
 include/linux/ftrace.h |    8 
 kernel/trace/trace.c   |    9 
 kernel/trace/trace.h   |    1 
 5 files changed, 671 insertions(+), 5 deletions(-)