perf/x86/intel: Re-organize code that implicitly enables LBR/PEBS
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 5 Nov 2014 02:56:08 +0000 (21:56 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 18 Feb 2015 16:16:12 +0000 (17:16 +0100)
commit4b854900995194601d767fcd112307b21ed278b2
tree31de5683234ec02f66345ebbeb13a3b2643e285c
parenta46a23000198d929391aa9dac8de68734efa2703
perf/x86/intel: Re-organize code that implicitly enables LBR/PEBS

Make later patch more readable, no logic change.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: eranian@google.com
Cc: jolsa@redhat.com
Link: http://lkml.kernel.org/r/1415156173-10035-13-git-send-email-kan.liang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.c