public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Building a tracing userspace tool in the kernel tree
@ 2008-10-09 19:16 Mathieu Desnoyers
  2008-10-09 19:46 ` Andrew Morton
  2008-10-09 22:15 ` Peter Zijlstra
  0 siblings, 2 replies; 7+ messages in thread
From: Mathieu Desnoyers @ 2008-10-09 19:16 UTC (permalink / raw)
  To: Sam Ravnborg, linux-kernel; +Cc: Linus Torvalds, Andrew Morton

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)

That would however require to create a Makefile which behaves a little
bit like what scripts/ is currently doing with hostprogs-y, only that
it's different in the sense that those tools are not required to build
the kernel and this could therefore become a more standard part of the
build process than what scripts/ is.

Is there some magic statements to put in Makefile and ltt/Makefile to
get this to build nicely with the rest of the tree ?

Thanks,

Mathieu


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-09 23:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-09 19:16 Building a tracing userspace tool in the kernel tree Mathieu Desnoyers
2008-10-09 19:46 ` Andrew Morton
2008-10-09 22:15 ` Peter Zijlstra
2008-10-09 22:35   ` Chris Friesen
2008-10-09 22:40     ` Peter Zijlstra
2008-10-09 23:11       ` Chris Friesen
2008-10-09 23:12   ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox