Hi, Here are a couple of fixes to get pfmsetup (from the libpfm examples directory) working with system-wide contexts as well as per-process contexts.
1/2 Add a bare-bones framework for PowerPC support to libpfm. This does nothing useful yet, but is enough to get libpfm to build on a PowerPC machine, and might serve as a helpful starting point if someone would like to work on general PowerPC support for libpfm. 2/2 Fix pfmsetup to work with system-wide contexts. - The load_context command can now take a CPU number instead of a program number. - Whever we are operating on a system-wide context we need to set pfmsetup's affinity to the CPU where the context is loaded. Thanks, -- Kevin Corry [EMAIL PROTECTED] http://www.ibm.com/linux/ _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
