Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-23[samples] Clean up the profiler sample and add a simple makefile.Alex Rønne Petersen
2017-08-07[profiler] Split method_leave callback into a method_tail_call callback.Alex Rønne Petersen
With this, profilers can distinguish between the two, and also know what the target method of a tail call is. The call instrumentation flags have been renamed accordingly and a new flag has been added for instrumenting tail calls. I've also added a flag for exceptional leave events, and method_exception_leave is only raised if this flag is given for a method. Also refactored the relevant JIT code a bit so it's easier to follow.
2017-08-07[profiler] fixes to profiler sampleUri Simchoni
- Fix the Linux build instructions. - Remove eglib dependencies, as they complicate the build of an extenral module. - Make instance static instead of heap-allocated. - Make the call counter 64 bits. - Adjustments to accommodate the new profiling API.
2017-07-20[profiler] Rename mono_profiler_install to mono_profiler_create.Alex Rønne Petersen
2017-07-17[profiler] Profiler entry point name must now include the module name.Alex Rønne Petersen
So mono_profiler_init becomes e.g. mono_profiler_init_log. This allows us to link together multiple profilers into a single module and load them selectively. This is especially useful for XA/XI/XM.
2017-07-06[runtime] New profiler API.Alex Rønne Petersen
* Profiler callbacks can now be changed and disabled at any point. * API users no longer have to set event flags. The API instead uses a counter internally for each type of callback. * Filter functions for enter/leave instrumentation can be installed, and they can choose whether to instrument the prologue, epilogue, or both. * Managed allocators can now be instrumented for allocation profiling. * A profiler must now declare that it wishes to use allocation profiling and/or sampling in its init function. * Sampling parameters can now be changed at any point, and the sampling thread can be put into an idle mode when no sampling is needed. * Only one profiler can have control over the sampling parameters. Whichever profiler enables sampling first gets control. * Adding new events is now very easy: One line in profiler-events.h and one line wherever the event should be raised. * Lifted the restriction that enter/leave instrumentation would cause an abort in full AOT mode. * Support for call chain sampling has been removed. * Support for the old, platform-specific code coverage mode has been removed. * The new profiler module entry point is mono_profiler_init. If a module has a mono_profiler_startup symbol (the old entry point), a warning will be printed and the module won't be loaded. * Updated the profiler test suite to work with instrumented managed allocators.
2016-07-11Enabled g_mem_set_vtable through the configure option ↵Dolphin Hawkins
--with-overridable-allocators and exposed through mono_set_allocator_vtable
2015-11-17Remove obsolete interpreter embedding sample.Zoltan Varga
2015-04-09Merge pull request #1695 from gregoryyoung/masterAlex Rønne Petersen
add compilation instructions
2015-04-09add compilation instructionsGreg Young
2012-10-03Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no ↵Zoltan Varga
longer supported, see http://lists.gnu.org/archive/html/automake/2012-08/msg00087.html.
2011-01-04Remove glib dependencies from the embed samples. Fixes #660117.Zoltan Varga
2010-11-14Remove the unused and incomplete CMake build scripts for now.Zoltan Varga
2010-02-24Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* confiure.in, data/mono-2.pc.in, data/Makefile.am, samples/embed/*: increase the API version. svn path=/trunk/mono/; revision=152356
2009-06-142009-06-14 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* samples/CMakeLists.txt: New file, currently empty. svn path=/trunk/mono/; revision=136079
2009-02-28Create .gitignore's.Martin Baulig
svn path=/trunk/mono/; revision=128265
2007-11-13memory_usage: add support for MONO_TYPE_STRING.Robert Jordan
svn path=/trunk/mono/; revision=89560
2007-11-102007-11-10 Alp Toker <alp@atoker.com>Alp Toker
* samples/embed/teste.c: Add a newline at the end of this printf() svn path=/trunk/mono/; revision=89397
2007-03-132007-03-13 Jonathan Chambers <joncham@gmail.com>Jonathan Chambers
* *.vcproj: Move to msvc directory. * *.bat: Move to msvc directory. * libgc/misc.c: Use correct string type for GetModuleHandle. svn path=/trunk/mono/; revision=74203
2007-03-132007-03-13 Jonathan Chambers <joncham@gmail.com>Jonathan Chambers
*.vcproj: Fix Release build target, add define to remove CRT warnings, structure output folders a bit better, begin WIN64 port. *.bat: Use output from current VS target for executable. * icall.c: Fix environ access on windows. * gc.h: Fix Win64 typedef. svn path=/trunk/mono/; revision=74191
2006-12-01Add a pre-generated windows configuration fileMiguel de Icaza
svn path=/trunk/mono/; revision=68847
2006-10-142006-10-13 Joe Shaw <joeshaw@novell.com>Joe Shaw
* samples/size/size.c: Flesh this out quite a bit more so that its results are more accurate. * samples/size/sample.cs: Add a few more test cases. svn path=/trunk/mono/; revision=66660
2006-08-312006-08-31 Zoltan Varga <vargaz@freemail.hu>Zoltan Varga
* samples/embed/test-invoke.vcproj samples/embed/teste.vcproj: Fix include paths for newer glib versions. svn path=/trunk/mono/; revision=64632
2006-08-08Add support for arraysMiguel de Icaza
svn path=/trunk/mono/; revision=63458
2006-08-07Add size sampleMiguel de Icaza
svn path=/trunk/mono/; revision=63436
2006-08-07Add 'size' sampleMiguel de Icaza
svn path=/trunk/mono/; revision=63435
2005-11-102005-11-09 Miguel de Icaza <miguel@novell.com>Miguel de Icaza
* assembly.c (mono_set_dirs): New API entry point to set the assembly and the config directory in one call A more robust framework for relocation and a public API for embedders to use. svn path=/trunk/mono/; revision=52816
2005-09-23Update sample to load the Mono configuration fileMiguel de Icaza
svn path=/trunk/mono/; revision=50597
2005-05-26Project files for embedded samplesSebastien Pouliot
svn path=/trunk/mono/; revision=45050
2005-03-29Allow compilation using VS.NETSebastien Pouliot
svn path=/trunk/mono/; revision=42352
2005-02-16remove .cvsignore, as this is not used anymoreBen Maurer
svn path=/trunk/mono/; revision=40731
2005-01-11Cleanup examples (removed extra thread execution).Paolo Molaro
svn path=/trunk/mono/; revision=38700
2004-06-21More embedding samples.Paolo Molaro
svn path=/trunk/mono/; revision=30034
2004-06-19Test with metadata-related API sample usage.Paolo Molaro
svn path=/trunk/mono/; revision=29943
2003-12-232003-12-22 Bernie Solomon <bernard@ugsolutions.com>Bernie Solomon
* samples/embed/testi.c: interpreter embedding example svn path=/trunk/mono/; revision=21443
2003-08-25.cvsignore updateBen Maurer
svn path=/trunk/mono/; revision=17581
2003-08-11AddMiguel de Icaza
svn path=/trunk/mono/; revision=17255
2003-06-05Bare-bones sample loadable profiler.Paolo Molaro
svn path=/trunk/mono/; revision=15129
2003-06-04Fixed compilation of sampleGonzalo Paniagua Javier
svn path=/trunk/mono/; revision=15093
2003-01-23Run all managed code in a subthread. Re-enable GC threaded finalisation.Dick Porter
Fixes bugs 34263 and 31333. (All tests still behave the same way - 4 fails) 2003-01-23 Dick Porter <dick@ximian.com> * threads.c (start_wrapper): Create a Thread object if needed, so the Main() thread can do the class initialisation in a subthread that has been set up to allow managed code execution. Pass the thread ID instead of the MonoThread pointer to the thread start and attach callbacks. This change is required, because the jit thread start callback must be called _before_ the Thread object can be created. (mono_thread_init): Removed much object creation code that is no longer needed. No managed code is called from here now. * object.c (mono_runtime_exec_managed_code): Create a subthread for Main, and call back to the runtime to use it. Set the exit code when Main exits. * gc.c: Make sure domain finalisation happens in a subthread. Re-enable threaded GC, fixing bug 31333 (again). * environment.c: System.Environment internall calls (so far just ExitCode is here, the others are still in icall.c) * appdomain.c (mono_runtime_cleanup): All threads running managed code should have finished before mono_runtime_cleanup() is reached, so no need to clean up threads. 2003-01-23 Dick Porter <dick@ximian.com> * mono.c: Use mono_runtime_exec_managed_code() to run all managed code in a subthread. * jit.c: Changed thread start and attach callbacks to pass the thread ID, not the MonoThread pointer. Arrange that managed code execution will fail an assertion in the main thread, just to be sure. 2003-01-23 Dick Porter <dick@ximian.com> * interp.c: Use mono_runtime_exec_managed_code() to run all managed code in a subthread. svn path=/trunk/mono/; revision=10838
2002-10-05Update sampleMiguel de Icaza
svn path=/trunk/mono/; revision=8008
2002-07-22sample fixMiguel de Icaza
svn path=/trunk/mono/; revision=5990
2002-07-19Mono embedding sample.Paolo Molaro
svn path=/trunk/mono/; revision=5938