projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[profiler] log profiler: limit method instrumentation to selected methods (#5517)
[mono.git]
/
mono
/
profiler
/
log.h
diff --git
a/mono/profiler/log.h
b/mono/profiler/log.h
index f0503e4a4e423f7c9bc43c131d9ba5a3d3537642..e381d8975471a34d1895b98bb0f05b07a54db502 100644
(file)
--- a/
mono/profiler/log.h
+++ b/
mono/profiler/log.h
@@
-4,6
+4,7
@@
#include <glib.h>
#define MONO_PROFILER_UNSTABLE_GC_ROOTS
#include <mono/metadata/profiler.h>
#include <glib.h>
#define MONO_PROFILER_UNSTABLE_GC_ROOTS
#include <mono/metadata/profiler.h>
+#include <mono/metadata/callspec.h>
#define BUF_ID 0x4D504C01
#define LOG_HEADER_ID 0x4D505A01
#define BUF_ID 0x4D504C01
#define LOG_HEADER_ID 0x4D505A01
@@
-537,6
+538,9
@@
typedef struct {
// Sample mode. Only used at startup.
MonoProfilerSampleMode sampling_mode;
// Sample mode. Only used at startup.
MonoProfilerSampleMode sampling_mode;
+
+ // Callspec config - which methods are to be instrumented
+ MonoCallSpec callspec;
} ProfilerConfig;
void proflog_parse_args (ProfilerConfig *config, const char *desc);
} ProfilerConfig;
void proflog_parse_args (ProfilerConfig *config, const char *desc);