Indeed, it fixed the problem. I changed the mapping from tid to the  
file descriptor provided by the signal info.

Thank you very much !


> The only information that is trustworthy is the file descriptor
> carried by the siginfo (info->si_fd), assuming
> you've specified SA_SIGINFO in the sigaction structure.. You need to
> use info->si_fd to identify the context
> for which you have to process the signal. Using gettid(), or
> pthread_self() won't work. And yes, a thread may
> be used to process another thread's samples.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to