[lttng-dev] [PATCH lttng-ust] Add trace instrumentation for some pthread functions.

Stefan Seefeld stefan_seefeld at mentor.com
Wed Jul 31 16:41:44 EDT 2013


The attached patch introduces a pthread wrapper library with initial
instrumentation for pthread_mutex_lock, pthread_mutex_trylock, and
pthread_mutex_unlock.
New tracepoints are introduced for each of those. For the lock function,
two distinct tracepoints are emitted: one before the lock is requested,
another after it has been acquired.

-- 
Stefan Seefeld
CodeSourcery / Mentor Graphics
http://www.mentor.com/embedded-software/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 7475 bytes
Desc: not available
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130731/4602f7da/attachment.bin>


More information about the lttng-dev mailing list