You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Ingo Molnar
parent
729ff5e2aa
commit
1c432d899d
@@ -3162,7 +3162,7 @@ static int perf_swcounter_is_counting(struct perf_counter *counter)
|
||||
}
|
||||
|
||||
static int perf_swcounter_match(struct perf_counter *counter,
|
||||
enum perf_event_types type,
|
||||
enum perf_type_id type,
|
||||
u32 event, struct pt_regs *regs)
|
||||
{
|
||||
if (!perf_swcounter_is_counting(counter))
|
||||
@@ -3194,7 +3194,7 @@ static void perf_swcounter_add(struct perf_counter *counter, u64 nr,
|
||||
}
|
||||
|
||||
static void perf_swcounter_ctx_event(struct perf_counter_context *ctx,
|
||||
enum perf_event_types type, u32 event,
|
||||
enum perf_type_id type, u32 event,
|
||||
u64 nr, int nmi, struct pt_regs *regs,
|
||||
u64 addr)
|
||||
{
|
||||
@@ -3225,7 +3225,7 @@ static int *perf_swcounter_recursion_context(struct perf_cpu_context *cpuctx)
|
||||
return &cpuctx->recursion[0];
|
||||
}
|
||||
|
||||
static void __perf_swcounter_event(enum perf_event_types type, u32 event,
|
||||
static void __perf_swcounter_event(enum perf_type_id type, u32 event,
|
||||
u64 nr, int nmi, struct pt_regs *regs,
|
||||
u64 addr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user