From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/mn10300/oprofile/Makefile | 13 +++++++++++++ .../arch/mn10300/oprofile/op_model_null.c | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 ANDROID_3.4.5/arch/mn10300/oprofile/Makefile create mode 100644 ANDROID_3.4.5/arch/mn10300/oprofile/op_model_null.c (limited to 'ANDROID_3.4.5/arch/mn10300/oprofile') diff --git a/ANDROID_3.4.5/arch/mn10300/oprofile/Makefile b/ANDROID_3.4.5/arch/mn10300/oprofile/Makefile new file mode 100644 index 00000000..918dbe60 --- /dev/null +++ b/ANDROID_3.4.5/arch/mn10300/oprofile/Makefile @@ -0,0 +1,13 @@ +# +# Makefile for the MN10300-specific profiling code +# +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) op_model_null.o + diff --git a/ANDROID_3.4.5/arch/mn10300/oprofile/op_model_null.c b/ANDROID_3.4.5/arch/mn10300/oprofile/op_model_null.c new file mode 100644 index 00000000..cd4ab374 --- /dev/null +++ b/ANDROID_3.4.5/arch/mn10300/oprofile/op_model_null.c @@ -0,0 +1,22 @@ +/* Null profiling driver + * + * Copyright (C) 2003 Paul Mundt + * + * This file is subject to the terms and conditions of the GNU General Public + * Licence. See the file "COPYING" in the main directory of this archive + * for more details. + */ +#include +#include +#include +#include + +int __init oprofile_arch_init(struct oprofile_operations *ops) +{ + return -ENODEV; +} + +void oprofile_arch_exit(void) +{ +} + -- cgit