summaryrefslogtreecommitdiffstats
path: root/arch/avr32/oprofile/Makefile
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-01-04 17:26:23 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2008-01-25 08:31:40 +0100
commit2853ce5ecefe9d9ca119f33db0c23a3f075e35d9 (patch)
treec321226cab8ab804411c1fd8d74fa88b53d5f165 /arch/avr32/oprofile/Makefile
parenta7f5bf9b95ace39cd8b61e8c9ca1035966779ed1 (diff)
[AVR32] Oprofile support
This adds the necessary architecture code to run oprofile on AVR32 using the performance counters documented by the AVR32 Architecture Manual. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Acked-by: Philippe Elie <phil.el@wanadoo.fr>
Diffstat (limited to 'arch/avr32/oprofile/Makefile')
-rw-r--r--arch/avr32/oprofile/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/avr32/oprofile/Makefile b/arch/avr32/oprofile/Makefile
new file mode 100644
index 00000000000..1fe81c3c1e8
--- /dev/null
+++ b/arch/avr32/oprofile/Makefile
@@ -0,0 +1,8 @@
+obj-$(CONFIG_OPROFILE) += oprofile.o
+
+oprofile-y := $(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 += op_model_avr32.o