aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorCyrill Gorcunov <[email protected]>2010-03-12 00:50:16 +0300
committerIngo Molnar <[email protected]>2010-03-12 10:18:42 +0100
commit0b861225a5890f22445f08ca9cc7a87cff276ff7 (patch)
tree324ff942381746878090b8a22128c532dd7ffcbd /include/linux/debugobjects.h
parenta072738e04f0eb26370e39ec679e9a0d65e49aea (diff)
x86, perf: Fix NULL deref on not assigned x86_pmu
In case of not assigned x86_pmu and software events NULL dereference may being hit via x86_pmu::schedule_events method. Fix it by checking if x86_pmu is initialized at all. Signed-off-by: Cyrill Gorcunov <[email protected]> Cc: Lin Ming <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Robert Richter <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> LKML-Reference: <20100311215016.GG25162@lenovo> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions