Hi

I use perfmon2 with linux-2.6.30, libpfm-3.9 on intel xeon x5482.

I am trying to get asynchronous overflow notification (instrn retired) in my 
controlling process, (for child process ls) by doing fcntl on perfmon2 context 
fd. (sampling period = 1000)

I do standard signal handler installation for SIGIO (tried with SIGPOLL also)

I do following after creating the perfmon2 context.

fcntl(fd, F_SETFL, O_ASYNC);
fcntl(fd, F_SETOWN, getpid());
fcntl(fd, F_SETSIG, SIGPOLL); //have tried with commenting this i.e. with 
                              //default SIGIO also
fcntl(fd, F_SETFD, FD_CLOEXEC);

In my signal handler I perform read, but get unknown message type: 10.

Thanks and regards
Jitendra



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to