perf: Remove type specific target pointers
authorPeter Zijlstra <peterz@infradead.org>
Thu, 5 Mar 2015 21:10:19 +0000 (22:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 23 Mar 2015 09:58:04 +0000 (10:58 +0100)
commit50f16a8bf9d7a92c437ed1867d0f7e1dc6a9aca9
treeb3794dc4959e7dedbdddfb1e428c4fe67126e45b
parent4e16ed99416ef569a89782a7234f95007919fadd
perf: Remove type specific target pointers

The only reason CQM had to use a hard-coded pmu type was so it could use
cqm_target in hw_perf_event.

Do away with the {tp,bp,cqm}_target pointers and provide a non type
specific one.

This allows us to do away with that silly pmu type as well.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Vince Weaver <vince@deater.net>
Cc: acme@kernel.org
Cc: acme@redhat.com
Cc: hpa@zytor.com
Cc: jolsa@redhat.com
Cc: kanaka.d.juvva@intel.com
Cc: matt.fleming@intel.com
Cc: tglx@linutronix.de
Cc: torvalds@linux-foundation.org
Cc: vikas.shivappa@linux.intel.com
Link: http://lkml.kernel.org/r/20150305211019.GU21418@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arm/kernel/hw_breakpoint.c
arch/arm64/kernel/hw_breakpoint.c
arch/x86/kernel/cpu/perf_event_intel_cqm.c
include/linux/perf_event.h
include/uapi/linux/perf_event.h
kernel/events/core.c
kernel/events/hw_breakpoint.c
kernel/trace/trace_uprobe.c