Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: ce397d215ccd07b8ae3f71db689aedb85d56ab40 authored by Linus Torvalds on 16 June 2018, 23:04:49 UTC
Linux 4.18-rc1
Tip revision: ce397d2
Makefile
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_OPROFILE) += oprofile.o

CFLAGS_common.o	+= -DUTS_MACHINE='"$(UTS_MACHINE)"'

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 )

ifeq ($(CONFIG_HW_PERF_EVENTS),y)
DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
endif

oprofile-y	:= $(DRIVER_OBJS) common.o backtrace.o
back to top