forked from Minki/linux
d7ac4e28cc
Add Oprofile kernel support for ARMv7. Tested on OMAP3430 and OMAP3530 chipsets (Cortex-A8). Signed-off-by: Jean Pihet <jpihet@mvista.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
15 lines
547 B
Makefile
15 lines
547 B
Makefile
obj-$(CONFIG_OPROFILE) += oprofile.o
|
|
|
|
DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
|
|
oprof.o cpu_buffer.o buffer_sync.o \
|
|
event_buffer.o oprofile_files.o \
|
|
oprofilefs.o oprofile_stats.o \
|
|
timer_int.o )
|
|
|
|
oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
|
|
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
|