oprofile 0.9.6

Copy in the rest of the oprofile 0.9.6 tree so we have a source
copy to match the prebuilt binaries that are checked into
external/.

Change-Id: Iaac327571d5d583594a4194973bf256569061048
diff --git a/module/op_init.c b/module/op_init.c
new file mode 100644
index 0000000..61394fc
--- /dev/null
+++ b/module/op_init.c
@@ -0,0 +1,33 @@
+/**
+ * @file op_init.c
+ * Initialisation stubs
+ *
+ * @remark Copyright 2002 OProfile authors
+ * @remark Read the file COPYING
+ *
+ * @author John Levon
+ * @author Philippe Elie
+ */
+
+// FIXME: any point in this file now we don't fiddle
+// with -march options ??
+ 
+#undef __NO_VERSION__
+ 
+#include "oprofile.h"
+
+EXPORT_NO_SYMBOLS;
+
+int __init stub_init(void)
+{
+	sysctl.cpu_type = get_cpu_type();
+	return oprof_init();
+}
+
+void __exit stub_exit(void)
+{
+	oprof_exit();
+}
+
+module_init(stub_init);
+module_exit(stub_exit);