Re: [perfmon2] IBS sampling hangs on self notification
Status: Beta
Brought to you by:
seranian
From: Frederick R. <fre...@ug...> - 2008-10-23 13:23:54
|
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. |