Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112274
b: refs/heads/master
c: d7ac4e2
h: refs/heads/master
v: v3
  • Loading branch information
Jean PIHET authored and Russell King committed Sep 1, 2008
1 parent aac5f1e commit 76f7f0a
Show file tree
Hide file tree
Showing 8 changed files with 528 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46097c7dd8bfaf9fb86565b6de45ab5a63afdd53
refs/heads/master: d7ac4e28ccc63ed6b4d67bd9c4a67cb9533eeb45
5 changes: 5 additions & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ config OPROFILE_MPCORE
config OPROFILE_ARM11_CORE
bool

config OPROFILE_ARMV7
def_bool y
depends on CPU_V7 && !SMP
bool

endif

config VECTORS_BASE
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/oprofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ oprofile-$(CONFIG_CPU_XSCALE) += op_model_xscale.o
oprofile-$(CONFIG_OPROFILE_ARM11_CORE) += op_model_arm11_core.o
oprofile-$(CONFIG_OPROFILE_ARMV6) += op_model_v6.o
oprofile-$(CONFIG_OPROFILE_MPCORE) += op_model_mpcore.o
oprofile-$(CONFIG_OPROFILE_ARMV7) += op_model_v7.o
4 changes: 4 additions & 0 deletions trunk/arch/arm/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
spec = &op_mpcore_spec;
#endif

#ifdef CONFIG_OPROFILE_ARMV7
spec = &op_armv7_spec;
#endif

if (spec) {
ret = spec->init();
if (ret < 0)
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/oprofile/op_arm_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ extern struct op_arm_model_spec op_xscale_spec;

extern struct op_arm_model_spec op_armv6_spec;
extern struct op_arm_model_spec op_mpcore_spec;
extern struct op_arm_model_spec op_armv7_spec;

extern void arm_backtrace(struct pt_regs * const regs, unsigned int depth);

Expand Down
Loading

0 comments on commit 76f7f0a

Please sign in to comment.