projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fdc878
)
Disable `perf` support in the profiler when running on Android (for now).
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Fri, 6 Jun 2014 21:02:33 +0000
(23:02 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Fri, 6 Jun 2014 21:02:33 +0000
(23:02 +0200)
We need to assess the situation before we enable this everywhere. Apparently
some older devices have trouble with `perf`.
mono/profiler/proflog.c
patch
|
blob
|
history
diff --git
a/mono/profiler/proflog.c
b/mono/profiler/proflog.c
index 9064535fbd1ad9840a9ab07a7fd08ceaeffcbd18..193be897f761b97c7421d3a794bde14a44d4f7d4 100644
(file)
--- a/
mono/profiler/proflog.c
+++ b/
mono/profiler/proflog.c
@@
-67,7
+67,7
@@
#endif
/* the architecture needs a memory fence */
-#if defined(__linux__) && (defined(__i386__) || defined(__x86_64__) || defined(__arm__))
+#if defined(__linux__) && (defined(__i386__) || defined(__x86_64__) || defined(__arm__))
&& !defined(PLATFORM_ANDROID)
#include <unistd.h>
#include <sys/syscall.h>
#include "perf_event.h"