Re: Help adding trace events to xHCI
From: Mark Wielaard <hidden>
Date: 2013-07-12 19:35:59
Hi Mathieu, On Fri, Jul 12, 2013 at 01:08:28PM -0400, Mathieu Desnoyers wrote:
* Sarah Sharp (sarah.a.sharp@linux.intel.com) wrote:quoted
Thanks for the suggestion. I'm not familiar with all the userspace tools for trace events, so I didn't know about the command parser. Is there documentation or a list of resources for all the userspace trace event plugins? If so, can you give us a pointer to it?You might want to try out LTTng-UST. It provides TRACEPOINT_EVENT() and tracepoint() for user-space instrumentation. See: - https://lttng.org/files/doc/man-pages/man3/lttng-ust.3.html
Is that build on the <sys/sdt.h> ust probe points as embedded in glibc for example that gdb and systemtap use to access user space trace points? Can tools use lttng-ust and <sys/sdt.h> tracepoints interchangeably by parsing the ELF notes described in http://sourceware.org/systemtap/wiki/UserSpaceProbeImplementation Thanks, Mark