blob: 4d49b5a27025ca7b58602d263a7f1195509b3097 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_OPROFILE) += oprofile.o
3
4DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
5 oprof.o cpu_buffer.o buffer_sync.o \
6 event_buffer.o oprofile_files.o \
7 oprofilefs.o oprofile_stats.o \
8 timer_int.o nmi_timer_int.o )
9
10oprofile-y := $(DRIVER_OBJS) init.o backtrace.o
11oprofile-$(CONFIG_X86_LOCAL_APIC) += nmi_int.o op_model_amd.o \
12 op_model_ppro.o op_model_p4.o