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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrace" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html