Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v5.10 14 lines 409 B view raw
1# 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 ) 9 10ifeq ($(CONFIG_HW_PERF_EVENTS),y) 11DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o) 12endif 13 14oprofile-y := $(DRIVER_OBJS) common.o