Phil, On Wed, Sep 24, 2008 at 3:17 PM, Philip Mucci <[EMAIL PROTECTED]> wrote: > Hi Stefane, > > Thanks for the nice writeup. Some comments. > > - Are there actually 2 syscalls each for the _pmrs functions?
No there is only 1 for writing and 1 for reading. libpfm defines the functions as having variable number of parameters. But the syscalls have the full set of parameters of course. > - For attach_session, I think target needs to be an unsigned long, not an > int. Why? Are you thinking about pid_t being implemented as long or the number of CPU going over 2^32? > - I need delete_eventset functionality. Dynamic tools set up and tear down > eventsets, multiplexing, sampling, etc... How can I do it with the new code? > You currently cannot. The only way to do this is by close the session and starting over. ------------------------------------------------------------------------- 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