mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Support call graph profiling. Keep upper two bits of PC unchanged through backtrace rather than take them from sp (a1). The stack pointer is usually in the same GB (same upper 2 bits) as PC, but technically doesn't always have to be (and might not in the future, when taking full advantage of MMU v3). Signed-off-by: Dan Nicolaescu <[email protected]> Signed-off-by: Pete Delaney <[email protected]> Signed-off-by: Max Filippov <[email protected]> Signed-off-by: Chris Zankel <[email protected]>
10 lines
268 B
Makefile
10 lines
268 B
Makefile
obj-$(CONFIG_OPROFILE) += oprofile.o
|
|
|
|
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 )
|
|
|
|
oprofile-y := $(DRIVER_OBJS) init.o backtrace.o
|