]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
perf/x86: Move perf_event.h to its new home
authorBorislav Petkov <bp@suse.de>
Wed, 10 Feb 2016 09:55:23 +0000 (10:55 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Feb 2016 09:11:36 +0000 (10:11 +0100)
Now that all functionality has been moved to arch/x86/events/, move the
perf_event.h header and adjust include paths.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Peter Zijlstra <peterz@infradead.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/1455098123-11740-18-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
18 files changed:
arch/x86/events/amd/core.c
arch/x86/events/amd/ibs.c
arch/x86/events/amd/iommu.c
arch/x86/events/core.c
arch/x86/events/intel/bts.c
arch/x86/events/intel/core.c
arch/x86/events/intel/cqm.c
arch/x86/events/intel/cstate.c
arch/x86/events/intel/ds.c
arch/x86/events/intel/knc.c
arch/x86/events/intel/lbr.c
arch/x86/events/intel/p4.c
arch/x86/events/intel/p6.c
arch/x86/events/intel/pt.c
arch/x86/events/intel/rapl.c
arch/x86/events/intel/uncore.h
arch/x86/events/perf_event.h [moved from arch/x86/kernel/cpu/perf_event.h with 100% similarity]
arch/x86/xen/pmu.c

index 51b16583679c7b1f5214c1aa63f066050c590864..049ada8d4e9c98b9c187b62528a55d9206a3d7cc 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/slab.h>
 #include <asm/apicdef.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 static __initconst const u64 amd_hw_cache_event_ids
                                [PERF_COUNT_HW_CACHE_MAX]
index a8abd082d932356cbb7128b6d5abcef1c67cac37..51087c29b2c231906aa348fb9a78f046c81b2dc1 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <asm/apic.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 static u32 ibs_caps;
 
index 629bc700eb08d0c429845df6a1b28a6feaa6e9a9..635e5eba0caf87f432d97bcf178db025e5cb4cca 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/cpumask.h>
 #include <linux/slab.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 #include "iommu.h"
 
 #define COUNTER_SHIFT          16
index 90ca601b5d5c51373432abd1bb996b28d82e6628..7402c8182813598f338989a0f45f262835e56931 100644 (file)
@@ -37,7 +37,7 @@
 #include <asm/desc.h>
 #include <asm/ldt.h>
 
-#include "../kernel/cpu/perf_event.h"
+#include "perf_event.h"
 
 struct x86_pmu x86_pmu __read_mostly;
 
index 2bd4833367a79ec9803bd5f90fbdfda2d2db6929..b99dc9258c0f9ccc319a15e4d6ec170b0ea13e17 100644 (file)
@@ -26,7 +26,7 @@
 #include <asm-generic/sizes.h>
 #include <asm/perf_event.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 struct bts_ctx {
        struct perf_output_handle       handle;
index 1edf3013e52807bdb8795c22e0d615c06fb00f6a..a7ec685657a5af31c92d4a6f914e29a0c0f237ad 100644 (file)
@@ -18,7 +18,7 @@
 #include <asm/hardirq.h>
 #include <asm/apic.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 /*
  * Intel PerfMon, used on Core and later.
index d1b623a15ac07c3351b3deaf6a49dc1783227587..1b064c43014097ebaefadb7c6cb3f18660d05ef0 100644 (file)
@@ -7,7 +7,7 @@
 #include <linux/perf_event.h>
 #include <linux/slab.h>
 #include <asm/cpu_device_id.h>
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 #define MSR_IA32_PQR_ASSOC     0x0c8f
 #define MSR_IA32_QM_CTR                0x0c8e
index 1bbf37e8604bb41f778fea84b7a5f766eeae8b6a..7946c4231169ff81ed2c22cd538cdf289e8930f2 100644 (file)
@@ -89,7 +89,7 @@
 #include <linux/slab.h>
 #include <linux/perf_event.h>
 #include <asm/cpu_device_id.h>
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format)                \
 static ssize_t __cstate_##_var##_show(struct kobject *kobj,    \
index 9677207a2ab194c483cb182e29bb2b0cbfc42e4e..c8a243d6fc82fc996a92b6a90f5d0fdfd74f306d 100644 (file)
@@ -5,7 +5,7 @@
 #include <asm/perf_event.h>
 #include <asm/insn.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 /* The size of a BTS record in bytes: */
 #define BTS_RECORD_SIZE                24
index 630bcba91b169c354cd99d579f496b4e530912f9..206226e08f495b05792ed82c0ea766b1180482e0 100644 (file)
@@ -5,7 +5,7 @@
 
 #include <asm/hardirq.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 static const u64 knc_perfmon_event_map[] =
 {
index 78c88f9293cc6034b807eae41452dfb3927d195b..69dd11887dd1e1a50d63405f1a508a3ed759e8cc 100644 (file)
@@ -5,7 +5,7 @@
 #include <asm/msr.h>
 #include <asm/insn.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 enum {
        LBR_FORMAT_32           = 0x00,
index 1c72fedd96d397c166ade6b2fc7cdddb21fbf0fb..0a5ede187d9c1b45bc1c94f41609ce0a9531ab18 100644 (file)
@@ -13,7 +13,7 @@
 #include <asm/hardirq.h>
 #include <asm/apic.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 #define P4_CNTR_LIMIT 3
 /*
index ee5c4e8bd556a65cf1c81f5de5833be47f28dfd8..1f5c47ab4c65505bd0be4752cff667b5adaba7d4 100644 (file)
@@ -1,7 +1,7 @@
 #include <linux/perf_event.h>
 #include <linux/types.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 /*
  * Not sure about some of these
index e56cebe0799460bc4f38bc7d080f2207cd0ba437..6af7cf71d6b2e8dde7eb042ab3930d557f298efe 100644 (file)
@@ -29,7 +29,7 @@
 #include <asm/io.h>
 #include <asm/intel_pt.h>
 
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 #include "pt.h"
 
 static DEFINE_PER_CPU(struct pt, pt_ctx);
index 9541f50a534a13c863963785c3fde76d42b7ff78..580f504ec27ccc7aa480e91522a4f7ae4e90454f 100644 (file)
@@ -48,7 +48,7 @@
 #include <linux/slab.h>
 #include <linux/perf_event.h>
 #include <asm/cpu_device_id.h>
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 /*
  * RAPL energy status counters
index 1dea2046990a39db103ee0b5df7adabf7877ebdb..6a1340c7f3cc495477e12dc24202c7ade678132e 100644 (file)
@@ -2,7 +2,7 @@
 #include <linux/slab.h>
 #include <linux/pci.h>
 #include <linux/perf_event.h>
-#include "../../kernel/cpu/perf_event.h"
+#include "../perf_event.h"
 
 #define UNCORE_PMU_NAME_LEN            32
 #define UNCORE_PMU_HRTIMER_INTERVAL    (60LL * NSEC_PER_SEC)
index 724a08740a04b4a255ca080c103ec3b7381bc4f7..9466354d3e4962f14cdae33b09378a73f9c51a5d 100644 (file)
@@ -11,7 +11,7 @@
 #include "pmu.h"
 
 /* x86_pmu.handle_irq definition */
-#include "../kernel/cpu/perf_event.h"
+#include "../events/perf_event.h"
 
 #define XENPMU_IRQ_PROCESSING    1
 struct xenpmu {