Hello,

I'd like to open a discussion of allowing certain architecture-specific 
functions into libpfm.

Specifically, on the powerpc arch, we have this mechanism of pre-defined 
groups of events that are allowed to be traced in counters simultaneously.

However, this information is currently buried inside of libpfm and 
there's no way for a caller of libpfm to extract this information using 
any method besides trial and error (by attempting to put events in the 
same event set, and seeing if dispatch generates an error).

I realize that other architectures don't use this pre-defined group 
approach, so this would have to be an arch-specific function.

So, first, I'd like to ask if there's any sort of strong objection to 
adding arch-specific functions to libpfm.  Of course, we'd have to make 
a strong argument that the function would be useful to callers of libpfm.

Thanks,

- Corey


-- 
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
[EMAIL PROTECTED]


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