Hi,

Using perfmon2 and AMD's IBS sampling technique I'm able to self  
monitor my application.
I started from the smpl_amd64_ibs.c and notify_self.c examples.

Using sample frequency 0xFFFF0 (as in the smpl_amd64_ibs.c example)  
everything works fine.
However if I set the sample frequency any lower to eg 0x7FFFF0,  
sometimes the application hangs.
Using gdb, I can see it hangs on the read() call in the signal handler.

Is it possible to use ibs in combination with self monitoring ?
Do I have to make an extra check in the signal handler to prevent  
hanging on the read() ?
Or am I just missing the point here ?

Thanks in advance,
Frederick

-------------------------------------------------------------------------
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