diff options
author | John Williams <john.williams@petalogix.com> | 2009-11-24 05:27:54 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-12-14 02:45:07 -0500 |
commit | 3540ce8238c2d29a2a20a1876575c0064d0da23e (patch) | |
tree | 7fc4eee9652b894fdb454eb2572d747da5944b85 /arch/microblaze/oprofile/Makefile | |
parent | 33d9ff5985ff015cbaaef85285d19fe580487cf3 (diff) |
microblaze: Core oprofile configs and hooks
Microblaze uses timer interrupt mode. Microblaze don't have
any performance counter that's why we use just simple implementation.
Signed-off-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/oprofile/Makefile')
-rw-r--r-- | arch/microblaze/oprofile/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/microblaze/oprofile/Makefile b/arch/microblaze/oprofile/Makefile new file mode 100644 index 000000000000..0d0348c8af97 --- /dev/null +++ b/arch/microblaze/oprofile/Makefile | |||
@@ -0,0 +1,13 @@ | |||
1 | # | ||
2 | # arch/microblaze/oprofile/Makefile | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_OPROFILE) += oprofile.o | ||
6 | |||
7 | DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \ | ||
8 | oprof.o cpu_buffer.o buffer_sync.o \ | ||
9 | event_buffer.o oprofile_files.o \ | ||
10 | oprofilefs.o oprofile_stats.o \ | ||
11 | timer_int.o ) | ||
12 | |||
13 | oprofile-y := $(DRIVER_OBJS) microblaze_oprofile.o | ||