Hi, On Thu, Oct 23, 2008 at 9:02 AM, Frederick Ryckbosch <[EMAIL PROTECTED]> wrote: > 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,
You meant 7FFF0, right? > 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 ? I think so, though I have not tried this myself. > Do I have to make an extra check in the signal handler to prevent > hanging on the read() ? No. > Or am I just missing the point here ? > Would you mind sending me your example, so I can verify a few things? ------------------------------------------------------------------------- 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