diff options
author | Peter Zijlstra <[email protected]> | 2012-06-05 15:30:31 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-06-06 17:22:26 +0200 |
commit | 5a425294ee7d4ab5a374248e85838dfd450caf75 (patch) | |
tree | 107d193d769524b6cdb405073cba0b7f39208305 /lib/string_helpers.c | |
parent | 778b032d96909690c19d84f8d17c13be65ed6f8e (diff) |
perf/x86: Fix Intel shared extra MSR allocation
Zheng Yan reported that event group validation can wreck event state
when Intel extra_reg allocation changes event state.
Validation shouldn't change any persistent state. Cloning events in
validate_{event,group}() isn't really pretty either, so add a few
special cases to avoid modifying the event state.
The code is restructured to minimize the special case impact.
Reported-by: Zheng Yan <[email protected]>
Acked-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/1338903031.28282.175.camel@twins
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions