]> Git Repo - linux.git/commit
perf/x86: Reject non sampling events with precise_ip
authorJiri Olsa <[email protected]>
Tue, 3 Jan 2017 14:24:54 +0000 (15:24 +0100)
committerIngo Molnar <[email protected]>
Sat, 14 Jan 2017 10:06:50 +0000 (11:06 +0100)
commit18e7a45af91acdde99d3aa1372cc40e1f8142f7b
tree92cd4d70fa72de908bd1376041cd84ab1829b5f1
parent475113d937adfd150eb82b5e2c5507125a68e7af
perf/x86: Reject non sampling events with precise_ip

As Peter suggested [1] rejecting non sampling PEBS events,
because they dont make any sense and could cause bugs
in the NMI handler [2].

  [1] http://lkml.kernel.org/r/20170103094059.GC3093@worktop
  [2] http://lkml.kernel.org/r/1482931866[email protected]

Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: http://lkml.kernel.org/r/20170103142454.GA26251@krava
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/events/core.c
This page took 0.059678 seconds and 4 git commands to generate.