• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1obj-$(CONFIG_OPROFILE) += oprofile.o
2
3CFLAGS_common.o	+= -DUTS_MACHINE='"$(UTS_MACHINE)"'
4
5DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
6		oprof.o cpu_buffer.o buffer_sync.o \
7		event_buffer.o oprofile_files.o \
8		oprofilefs.o oprofile_stats.o \
9		timer_int.o )
10
11ifeq ($(CONFIG_HW_PERF_EVENTS),y)
12DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
13endif
14
15oprofile-y	:= $(DRIVER_OBJS) common.o backtrace.o
16