Skip to content
Commit 6bf11e8c authored by stephane.eranian@hp.com's avatar stephane.eranian@hp.com Committed by Tony Luck
Browse files

[IA64] fix perfmon context load



The PFM_LOAD_CONTEXT may fail silently and cause a session
to remain reserved even though it should not. This can happen
when the commands succeeds in reserving the session but fails
when it actually tries to attach to the load_pid. In that case,
the command has failed but will return 0. More importantly,
the session will remain reserved. This patch fixes the problem.

Signed-off-by: default avatar <stephane.eranian@hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent bc68552f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment