X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fprofiler%2Flog.h;h=e381d8975471a34d1895b98bb0f05b07a54db502;hb=bfc76bafbf72f8e10c4d2cc7b12e779715c527fa;hp=d8182d90ee27dfc7d3b266e31124bd7f3dae2baa;hpb=9f2c4f328db33b7042a04dffd25784ece5bf40f0;p=mono.git diff --git a/mono/profiler/log.h b/mono/profiler/log.h index d8182d90ee2..e381d897547 100644 --- a/mono/profiler/log.h +++ b/mono/profiler/log.h @@ -4,6 +4,7 @@ #include #define MONO_PROFILER_UNSTABLE_GC_ROOTS #include +#include #define BUF_ID 0x4D504C01 #define LOG_HEADER_ID 0x4D505A01 @@ -70,6 +71,7 @@ class unload events no longer exist (they were never emitted) removed type field from TYPE_SAMPLE_HIT removed MONO_GC_EVENT_{MARK,RECLAIM}_{START,END} + reverted the root_type field back to uleb128 */ /* @@ -265,7 +267,7 @@ * [num_roots: uleb128] number of root references * [num_gc: uleb128] number of major gcs * [object: sleb128] the object as a difference from obj_base - * [root_type: byte] the root_type: MonoProfileGCRootType (profiler.h) + * [root_type: uleb128] the root_type: MonoProfileGCRootType (profiler.h) * [extra_info: uleb128] the extra_info value * object, root_type and extra_info are repeated num_roots times * @@ -536,6 +538,9 @@ typedef struct { // 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);