Re: Building a tracing userspace tool in the kernel tree

From: Peter Zijlstra
Date: Thu Oct 09 2008 - 18:15:42 EST


On Thu, 2008-10-09 at 15:16 -0400, Mathieu Desnoyers wrote:
> Hi Sam,
>
> At the kernel summit, people seemed to be interested to have the basic
> userspace tools required to extract and pretty-print a trace available
> within the kernel tree. Therefore, what I am trying to do is something
> along the lines of
>
> ltt/usr/
> ltt/usr/tracectl/ (control tracing)
> ltt/usr/tracesplice/ (splice buffers to disk)
> ltt/usr/tracecat/ (merge sort and format the binary buffers into
> human-readable text)

I'd rather have you provide that interface from the kernel much like
ftrace does. So we can do:

# cat /debug/tracing/lttng/trace



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/