git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: oprofile: Use perf-events oprofile backend
[sfrench/cifs-2.6.git]
/
arch
/
sh
/
oprofile
/
Makefile
diff --git
a/arch/sh/oprofile/Makefile
b/arch/sh/oprofile/Makefile
index 4886c5c1786c24dbacadccd492a9dbf5fa8bd075..e85aae73e3dcf12a4ef1bb06b344b901efd54c6f 100644
(file)
--- a/
arch/sh/oprofile/Makefile
+++ b/
arch/sh/oprofile/Makefile
@@
-6,4
+6,8
@@
DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
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