summaryrefslogtreecommitdiffstats
path: root/kernel/events
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2015-02-18 18:45:43 +0100
committerIngo Molnar <mingo@kernel.org>2015-03-27 09:49:44 +0100
commit9332d250b4b4f67c633894b311e022e3cf943bd5 (patch)
tree809594b7728f48ab273d834eb763ee5698f846d7 /kernel/events
parentMerge branch 'perf/x86' into perf/core, because it's ready (diff)
downloadlinux-9332d250b4b4f67c633894b311e022e3cf943bd5.tar.xz
linux-9332d250b4b4f67c633894b311e022e3cf943bd5.zip
perf/x86: Remove redundant calls to perf_pmu_{dis|en}able()
perf_pmu_disable() is called before pmu->add() and perf_pmu_enable() is called afterwards. No need to call these inside of x86_pmu_add() as well. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/1424281543-67335-1-git-send-email-dsahern@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions