mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* configure.in: Add configure option for DTrace. * dtrace-prelink.sh: New file, helper script for DTrace builds. * data/mono.d: New file, defines the DTrace 'mono' provider. 2008-06-05 Andreas Faerber <[email protected]> * dtrace.h: New file, defines macros for DTrace probes. * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled. 2008-06-05 Andreas Faerber <[email protected]> * boehm-gc.c: Add DTrace probes gc-{begin,end}. * Makefile.am (pedump_LDADD): Post-process object files and add dtrace-generated object file, if necessary. 2008-06-05 Andreas Faerber <[email protected]> * mini.c (mini_init): Add DTrace probes ves-init-{begin,end}. (mini_method_compile) Add DTrace probes method-compile-{begin,end}. * Makefile.am (libmono_la_LIBADD,libmono_static_la_LIBADD,mono_LDADD): Post-process object files and add dtrace-generated object, if necessary. This commit is licensed under the MIT X11 license. svn path=/trunk/mono/; revision=104964
29 lines
876 B
D
29 lines
876 B
D
/*
|
|
* mono.d: DTrace provider for Mono
|
|
*
|
|
* Authors:
|
|
* Andreas Faerber <[email protected]>
|
|
*
|
|
*/
|
|
|
|
provider mono {
|
|
/* Virtual Execution System (VES) */
|
|
probe ves__init__begin ();
|
|
probe ves__init__end ();
|
|
|
|
/* Just-in-time compiler (JIT) */
|
|
probe method__compile__begin (char* class_name, char* method_name, char* signature);
|
|
probe method__compile__end (char* class_name, char* method_name, char* signature, int success);
|
|
|
|
/* Garbage Collector (GC) */
|
|
probe gc__begin (int generation);
|
|
probe gc__end (int generation);
|
|
};
|
|
|
|
#pragma D attributes Evolving/Evolving/Common provider mono provider
|
|
#pragma D attributes Private/Private/Unknown provider mono module
|
|
#pragma D attributes Private/Private/Unknown provider mono function
|
|
#pragma D attributes Evolving/Evolving/Common provider mono name
|
|
#pragma D attributes Evolving/Evolving/Common provider mono args
|
|
|