mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-10 07:16:39 +07:00
60a51fbe5d
This re-implements the old op_model_null code in to something more generic, where multiple drivers, backtrace, etc. can all be interfaced. Based largely on arch/mips/oprofile/common.c. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
14 lines
449 B
Makefile
14 lines
449 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_SUBTYPE_SH7750S) += op_model_sh7750.o
|
|
oprofile-$(CONFIG_CPU_SUBTYPE_SH7750) += op_model_sh7750.o
|
|
oprofile-$(CONFIG_CPU_SUBTYPE_SH7091) += op_model_sh7750.o
|