aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/oprofile/Makefile
diff options
context:
space:
mode:
authorNikolaus Voss <n.voss@weinmann.de>2008-09-03 06:50:32 -0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-09-22 03:51:01 -0400
commit3d256151471ba9fd60a5b896a706eb21a6b1cea1 (patch)
treed6a509267161238f5fd9ac011bfa368a968e71b4 /arch/avr32/oprofile/Makefile
parentf3c450be7b0defab59e360eca8a7e201d424d526 (diff)
Add kernel support for oprofile callgraphs on AVR32
This patch adds backtracing capability to oprofile profiling in kernel and user mode on AVR32. This is done by going through the frames on the stack and adding oprofile traces for all return addresses. The code being profiled has to be compiled with frame pointers to make this work. Signed-off-by: Nikolaus Voss <n.voss@weinmann.de> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/oprofile/Makefile')
-rw-r--r--arch/avr32/oprofile/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/oprofile/Makefile b/arch/avr32/oprofile/Makefile
index 1fe81c3c1e86..e0eb520e0287 100644
--- a/arch/avr32/oprofile/Makefile
+++ b/arch/avr32/oprofile/Makefile
@@ -5,4 +5,4 @@ oprofile-y := $(addprefix ../../../drivers/oprofile/, \
5 event_buffer.o oprofile_files.o \ 5 event_buffer.o oprofile_files.o \
6 oprofilefs.o oprofile_stats.o \ 6 oprofilefs.o oprofile_stats.o \
7 timer_int.o) 7 timer_int.o)
8oprofile-y += op_model_avr32.o 8oprofile-y += op_model_avr32.o backtrace.o