perf/x86/intel: Move branch tracing setup to the Intel-specific source file
commited6101bbf6266ee83e620b19faa7c6ad56bb41ab
authorJiri Olsa <jolsa@kernel.org>
Wed, 21 Nov 2018 10:16:10 +0000 (21 11:16 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 Nov 2018 08:45:09 +0000 (22 09:45 +0100)
tree0961b669638bb5e8ca739eaab50572da698413d4
parentb1a9d7b0190119dad5b9b7841751b5a7586bbc8b
perf/x86/intel: Move branch tracing setup to the Intel-specific source file

Moving branch tracing setup to Intel core object into separate
intel_pmu_bts_config function, because it's Intel specific.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: <stable@vger.kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/20181121101612.16272-1-jolsa@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/core.c
arch/x86/events/intel/core.c