commit | a5a70b75d93b26e14c0c5e759099d602a480b9e2 | [log] [tgz] |
---|---|---|
author | stephane eranian <eranian@hpl.hp.com> | Mon Apr 18 11:42:00 2005 -0700 |
committer | Tony Luck <tony.luck@intel.com> | Tue May 03 15:47:58 2005 -0700 |
tree | 4cd2f4f47cccb8f59e54433ab642e187cbf5e291 | |
parent | 8df5a500a3e97f7811cdce0f553ca1917ccd4220 [diff] |
[IA64] another perfmon fix (take2) - pfm_context_load(): change return value from EINVAL to EBUSY when context is already loaded. - pfm_check_task_state(): pass test if context state is MASKED. It is safe to give access on PFM_CTX_MASKED because the PMU state (PMD) is stable and saved in software state. This helps multiplexing programs such as the example given in libpfm-3.1. Signed-off-by: stephane eranian <eranian@hpl.hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>