On 08/07/2013 09:14 AM, Stefan Seefeld wrote: > Mathieu, > > please find attached a revised patch. > > On 08/06/2013 09:32 PM, Mathieu Desnoyers wrote: >> +#include >> + >> +TRACEPOINT_EVENT(ust_pthread, pthread_mutex_lock_req, >> + TP_ARGS(pthread_mutex_t *, mutex), >> + TP_FIELDS( >> + ctf_integer_hex(unsigned long, mutex, (unsigned long) mutex) >> I'm curious (and I honestly don't remember): does it work if we put >> "void *" as type rather than "unsigned long" here ? > It seems to work fine - I applied the suggested change (see the current > patch) and I see the same traces. Sorry, the patch was incomplete. Here is the complete one (including the revised ust_pthread.h code. Stefan -- Stefan Seefeld CodeSourcery / Mentor Graphics http://www.mentor.com/embedded-software/