[Mono-dev] How to access method arguments in custom profiler
Riccardo Scandariato
riccardo.scandariato at gmail.it
Wed Oct 5 09:21:49 EDT 2005
Hi folks,
I'm developing a custom profiler, which installs callbacks for
method enter/leave occurrences, as follows:
#include <mono/metadata/profiler.h>
void
mono_profiler_startup (const char *desc)
{
/* snip */
mono_profiler_install_enter_leave (my_method_enter, my_method_leave);
}
I'm looking for an easy way to read and (possibly) modify actual
arguments of a method invocation from within the "enter" callback (i.e.,
my_method_enter).
Thanks,
-- ric
More information about the Mono-devel-list
mailing list