projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2594 from akoeplinger/fix-facade-lookup-when-mono-path-overriden
[mono.git]
/
mono
/
profiler
/
proflog.c
diff --git
a/mono/profiler/proflog.c
b/mono/profiler/proflog.c
index 9120ae06916850b4154f96828b7bb34757b40a41..9f24cae696df82d5736c847f31339ef6e920b30b 100644
(file)
--- a/
mono/profiler/proflog.c
+++ b/
mono/profiler/proflog.c
@@
-80,9
+80,10
@@
#include <unistd.h>
#include <sys/syscall.h>
-#include "perf_event.h"
#ifdef ENABLE_PERF_EVENTS
+#include <linux/perf_event.h>
+
#define USE_PERF_EVENTS 1
static int read_perf_mmap (MonoProfiler* prof, int cpu);