* [ltt-dev] Support for detailed system calls added to LTTng 2.0
@ 2011-09-28 3:26 Mathieu Desnoyers
0 siblings, 0 replies; only message in thread
From: Mathieu Desnoyers @ 2011-09-28 3:26 UTC (permalink / raw)
Hi,
I added support for detailed system call output to LTTng 2.0 this week
(in the git tree head). Example usage (only for x86 32- and 64-bit
currently):
(for module and tools installation, see http://lttng.org/lttng2.0)
lttng create
lttng enable-event -a -k --syscall
lttng start
...
lttng destroy
babeltrace -n /root/lttng-traces/auto-20110927-213412
timestamp = 91476330032, name = sys_poll, stream.packet.context = { cpu_id = 0
+}, event.fields = { ufds = 0x7F498D134EA0, nfds = 2, timeout_msecs = -1 }
timestamp = 91476333810, name = exit_syscall, stream.packet.context = { cpu_id
+= 0 }, event.fields = { ret = 1 }
timestamp = 91476334692, name = sys_recvmsg, stream.packet.context = { cpu_id =
+0 }, event.fields = { fd = 15, msg = 0x7F498D134DE0, flags = 0 }
timestamp = 91476339817, name = exit_syscall, stream.packet.context = { cpu_id
+= 0 }, event.fields = { ret = 4120 }
timestamp = 91476359570, name = sys_open, stream.packet.context = { cpu_id = 0
+}, event.fields = { filename =
+"/root/lttng-traces/auto-20110927-213412/kernel/metadata", flags = 577, mode =
+511 }
....
The result is now _very_ useful :-)
For those who have access to hardware other than x86 32/64, I would need
the output of the lttng-syscalls-extractor from the lttng-modules 2.0
git tree. See instrumentation/syscalls/README for details. I'll be able
to automatically generate per-architecture syscall tracing headers from
the dmesg output produced.
Thanks !
Mathieu
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-28 3:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 3:26 [ltt-dev] Support for detailed system calls added to LTTng 2.0 Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox