Sync with oprofile CVS HEAD from Jan 11, 2011.
There have been a few patches to oprofile for newer ARM architectures
since 0.9.6.
Pruned out irrelevant auto-generated files from the previous dump
so this is closer to being a mirror of the actual oprofile repository.
Change-Id: I889053d30aae433a199a0a18585c66b88ff8de14
diff --git a/daemon/init.c b/daemon/init.c
index b4a63cc..8bca135 100644
--- a/daemon/init.c
+++ b/daemon/init.c
@@ -24,6 +24,7 @@
#include "opd_anon.h"
#include "opd_perfmon.h"
#include "opd_printf.h"
+#include "opd_extended.h"
#include "op_version.h"
#include "op_config.h"
@@ -286,6 +287,8 @@
opd_do_jitdumps();
opd_print_stats();
printf("oprofiled stopped %s", op_get_time());
+ opd_ext_deinitialize();
+
exit(EXIT_FAILURE);
}