diff options
author | Will Deacon <will.deacon@arm.com> | 2010-04-30 06:37:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-17 06:53:58 -0400 |
commit | fe166148f699cc7865ca07b6754872cfb5ebc312 (patch) | |
tree | 421392e3fb9866c40cc8cfd952be44fd63336221 /arch/arm/oprofile/op_counter.h | |
parent | 8c1fc96f6fd1f361428ba805103af0d0eee65179 (diff) |
ARM: 6073/1: oprofile: remove old files and update KConfig
Enable hardware perf-events if CPU_HAS_PMU and select
HAVE_OPROFILE if HAVE_PERF_EVENTS. If no hardware support
is present, OProfile will fall back to timer mode.
This patch also removes the old OProfile drivers in favour
of the code implemented by perf.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile/op_counter.h')
-rw-r--r-- | arch/arm/oprofile/op_counter.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/arm/oprofile/op_counter.h b/arch/arm/oprofile/op_counter.h deleted file mode 100644 index ca942a63b52f..000000000000 --- a/arch/arm/oprofile/op_counter.h +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | /** | ||
2 | * @file op_counter.h | ||
3 | * | ||
4 | * @remark Copyright 2004 Oprofile Authors | ||
5 | * @remark Read the file COPYING | ||
6 | * | ||
7 | * @author Zwane Mwaikambo | ||
8 | */ | ||
9 | |||
10 | #ifndef OP_COUNTER_H | ||
11 | #define OP_COUNTER_H | ||
12 | |||
13 | /* Per performance monitor configuration as set via | ||
14 | * oprofilefs. | ||
15 | */ | ||
16 | struct op_counter_config { | ||
17 | unsigned long count; | ||
18 | unsigned long enabled; | ||
19 | unsigned long event; | ||
20 | unsigned long unit_mask; | ||
21 | unsigned long kernel; | ||
22 | unsigned long user; | ||
23 | }; | ||
24 | |||
25 | extern struct op_counter_config *counter_config; | ||
26 | |||
27 | #endif /* OP_COUNTER_H */ | ||