aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_counter.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-11 07:19:29 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-11 11:53:41 -0400
commit1c432d899d32d36371ee4ee310fa3609cf0e5742 (patch)
treecd2891fb0c8a03a5b8ac1100b23687d02a981b25 /kernel/perf_counter.c
parent729ff5e2aaf181f5d3ab849337fce406cd19b1d9 (diff)
perf_counter: Rename enums
Rename the perf enums to be in the 'perf_' namespace and strictly enumerate the ABI bits. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r--kernel/perf_counter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index 3b2829de5590..c02535bed26f 100644
--- a/kernel/perf_counter.c
+++ b/kernel/perf_counter.c
@@ -3162,7 +3162,7 @@ static int perf_swcounter_is_counting(struct perf_counter *counter)
3162} 3162}
3163 3163
3164static int perf_swcounter_match(struct perf_counter *counter, 3164static int perf_swcounter_match(struct perf_counter *counter,
3165 enum perf_event_types type, 3165 enum perf_type_id type,
3166 u32 event, struct pt_regs *regs) 3166 u32 event, struct pt_regs *regs)
3167{ 3167{
3168 if (!perf_swcounter_is_counting(counter)) 3168 if (!perf_swcounter_is_counting(counter))
@@ -3194,7 +3194,7 @@ static void perf_swcounter_add(struct perf_counter *counter, u64 nr,
3194} 3194}
3195 3195
3196static void perf_swcounter_ctx_event(struct perf_counter_context *ctx, 3196static void perf_swcounter_ctx_event(struct perf_counter_context *ctx,
3197 enum perf_event_types type, u32 event, 3197 enum perf_type_id type, u32 event,
3198 u64 nr, int nmi, struct pt_regs *regs, 3198 u64 nr, int nmi, struct pt_regs *regs,
3199 u64 addr) 3199 u64 addr)
3200{ 3200{
@@ -3225,7 +3225,7 @@ static int *perf_swcounter_recursion_context(struct perf_cpu_context *cpuctx)
3225 return &cpuctx->recursion[0]; 3225 return &cpuctx->recursion[0];
3226} 3226}
3227 3227
3228static void __perf_swcounter_event(enum perf_event_types type, u32 event, 3228static void __perf_swcounter_event(enum perf_type_id type, u32 event,
3229 u64 nr, int nmi, struct pt_regs *regs, 3229 u64 nr, int nmi, struct pt_regs *regs,
3230 u64 addr) 3230 u64 addr)
3231{ 3231{