diff options
Diffstat (limited to 'kernel/arch/microblaze/oprofile')
-rw-r--r-- | kernel/arch/microblaze/oprofile/Makefile | 13 | ||||
-rw-r--r-- | kernel/arch/microblaze/oprofile/microblaze_oprofile.c | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/kernel/arch/microblaze/oprofile/Makefile b/kernel/arch/microblaze/oprofile/Makefile new file mode 100644 index 000000000..0d0348c8a --- /dev/null +++ b/kernel/arch/microblaze/oprofile/Makefile @@ -0,0 +1,13 @@ +# +# arch/microblaze/oprofile/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) microblaze_oprofile.o diff --git a/kernel/arch/microblaze/oprofile/microblaze_oprofile.c b/kernel/arch/microblaze/oprofile/microblaze_oprofile.c new file mode 100644 index 000000000..def17e598 --- /dev/null +++ b/kernel/arch/microblaze/oprofile/microblaze_oprofile.c @@ -0,0 +1,22 @@ +/* + * Microblaze oprofile code + * + * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> + * Copyright (C) 2009 PetaLogix + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#include <linux/oprofile.h> +#include <linux/init.h> + +int __init oprofile_arch_init(struct oprofile_operations *ops) +{ + return -1; +} + +void oprofile_arch_exit(void) +{ +} |