diff options
author | stephane eranian <eranian@hpl.hp.com> | 2005-04-18 14:42:00 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-05-03 18:47:58 -0400 |
commit | a5a70b75d93b26e14c0c5e759099d602a480b9e2 (patch) | |
tree | 4cd2f4f47cccb8f59e54433ab642e187cbf5e291 /sound/parisc | |
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>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions