From: stephane eranian Date: Mon, 18 Apr 2005 18:42:00 +0000 (-0700) Subject: [IA64] another perfmon fix (take2) X-Git-Tag: v2.6.12-rc4~117^2~5^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5a70b75d93b26e14c0c5e759099d602a480b9e2;p=pandora-kernel.git [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 Signed-off-by: Tony Luck --- Reading git-diff-tree failed