[xbuild] Don't report Imports ignored because of false conditions.
[mono.git] / mono / profiler / ChangeLog
index 6e94f7cf7c997a165d5190776cec3c11ce45fa8a..2a4e1588da56c6046289121cffb6187bf254ffea 100644 (file)
+
+Tue Mar 16 11:20:14 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * mono-profiler-iomap.c: fix some API usage and add a warning
+       about this code.
+
+Wed Mar 3 19:17:14 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * mono-profiler-iomap.c: use the normal allocation callback.
+
+Wed Feb 24 15:55:31 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * Makefile.am, mono-cov.c, mono-profiler-logging.c,
+       mono-profiler-aot.c: update to the new API/ABI.
+
+2010-02-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * mono-profiler-aot.c (output_image): Emit method names instead of tokens so
+       the info can be used for different versions of the same assembly. Don't append
+       the assembly guid to the file names.
+
+2010-01-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * mono-profiler-logging.c (_ProfilerFileWriteBuffer): Use MONO_ZERO_LEN_ARRAY.
+       Fixes #569806.
+
+2009-12-11  Marek Habersack  <mhabersack@novell.com>
+
+       * mono-profiler-iomap.c: added
+
+       * Makefile.am: added IOMAP profiler
+
+2009-10-14  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Removed MAX_STATISTICAL_CALL_CHAIN_DEPTH
+       definition (it belongs to the runtime), and implemented support for
+       different strategies for building call chains in stat mode.
+
+2009-10-14  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Removed useless "domain" parameter from
+       write_statistical_hit, and consequentely removed a call to
+       mono_thread_current from write_statistical_data_block (which sometimes
+       caused crashes on shutdown).
+
+2009-09-14  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Removed the use of signals to control the
+       profiler and extended the socket based interface to control also
+       heap snapshots.
+
+2009-08-21  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Changed max depth of call chains to 128.
+
+2009-08-21  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Report all wrapper types.
+
+2009-08-21  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: While debugging file writes, also print the
+       exact number of bytes written to disk.
+
+2009-08-18  Christian Hergert  <chris@dronelabs.com>
+
+       * mono-profiler-aot.c:
+       * mono-cov.c: Add missing method declarations.
+
+2009-08-14  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c (disable_profiler):
+       Flush buffers synchronously so the GUI knows when we are done.
+
+2009-08-14  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c:
+       - Added user thread reading commands from a local tcp port.
+       - Fixed file flushing after writing a block.
+       - Force full buffer flushing after disabling the profiler.
+
+2009-08-06  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c:
+       - Avoid registering the writer thread with the runtime unless when
+       it must create a heap snapshot.
+       - Simplified buffer flushing when an appdomain, image or assembly is
+       unloaded (now it can be done in the current thread).
+       - During shutdown, moved "code chunk cleanup" is a region of code
+       that holds the profiler lock.
+
+2009-07-29  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Implemented data structures to keep track
+       of code buffers produced by the runtime, and used them instead of
+       jit_info_table_find for the statistical profiler.
+       This eliminates crashes related to problems with the writer thread and
+       its registration to the runtime.
+
+2009-06-18  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Removed debugging printf statement.
+
+2009-06-18  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c:
+       Added assembly information to classes and wrapper flag to methods.
+
+2009-05-25  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c (write_thread_data_block): Only emit initial
+       stack snippet if we are tracking stacks.
+
+2009-05-25  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c (setup_user_options): Avoid tracking stacks
+       and emitting allocation caller information if we are already emitting
+       method enter and exit events.
+
+2009-04-06  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Added monitor contention profiling.
+       - Changed RESERVE_EVENTS to require a call to the new 
+       COMMIT_RESERVED_EVENTS macro after we have filled the event slots
+       (this allows to acquire all the event slots atomically).
+       - Created utility function "save_stack_delta".
+       - Created "monitor_event" callback.
+       - renamed "handle_heap_profiling" as "process_gc_event" because it
+       must be used also to help avoid interferences between garbage
+       collections and monitor profiling.
+
+2009-03-23  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Removed useless "gc-signal" option (the
+       newer "heap=<SIGNAL>" format of the "heap" option does the same thing).
+
+2009-03-16  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: When checking if an elf file is valid,
+       avoid mapping it in memory until we know it's usable (avoids virtual
+       memory fragmentation issues).
+
+2009-01-25  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Bug fixing.
+       The issue is that while reading /proc/self/maps is can happen that
+       the last regions (typically [vsyscall] and [vsdo]) are reported more
+       than once (or anyway are read more than once, even when usng the plain
+       "read" call with no buffering), and I found no workaround for this.
+       So the code must be careful and throw away the duplicates.
+       - restore_old_regions: work starting from the new regions instead of
+       the old ones.
+       - sort_regions: introduce a "throw away the duplicates" pass.
+       - fix_region_references: added a pass to make sure that the elf files
+       always reference the new regions and not the old ones.
+       - refresh_memory_regions: call "sort_regions" before
+       "restore_old_regions" so we know we have no duplicates.
+
+2009-01-18  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Bug fixing.
+       - profiler_executable_memory_region_destroy: fixed a cut&paste mistake
+       causing a double free.
+       - executable_file_open: allow the code to look at all files, and fix
+       building of "files->new_files" list.
+       - executable_file_free: set "file->section_regions" to NULL when
+       freeing it (for safety).
+
 2008-12-31  Massimiliano Mantione <massi@ximian.com>
-       * mono-profiler-logging.c: make the profiler like r122287 on trunk.
-       - ProfilerThreadStack: added "last_written_frame" and "written_frames"
-       fields to keep track of the call stacks actually written, so that we
-       can "replay" the full call stack at the beginning of each event block
-       (which allows the decoder to read blocks in random order and still see
-       all the call stacks correctly).
-       - gc_event: Fixed event creation sequence.
-       - Improved event logging (debugging) code.
-       - Added defaults to command line options.
-       - executable_file_open: Proper remember of already opened files.
-       - ProfilerStatisticalData: use unsigned values so the index never
-       trips over and becomes negative.
-       - statistical_call_chain, statistical_hit: likewise.
+       * mono-profiler-logging.c: added "save-allocation-caller" option.
+
+2008-12-30  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c:
        - profiler_executable_memory_region_destroy: fixed memory region
        unloading.
        - executable_file_add_region_reference: likewise.
        - parse_map_line: likewise.
        - scan_process_regions: likewise.
        - statistical_call_chain: exit loop if the writer thread is busy.
-       * mono-profiler-logging.c: added "save-allocation-caller" option.
+
+2008-12-11  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c:
+       - executable_file_open: Proper remember of already opened files.
+       - ProfilerStatisticalData: use unsigned values so the index never
+       trips over and becomes negative.
+       - statistical_call_chain, statistical_hit: likewise.
+
+2008-12-11  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c: Added defaults to command line options.
+
+2008-12-01  Massimiliano Mantione <massi@ximian.com>
+       * mono-profiler-logging.c:
+       - ProfilerThreadStack: added "last_written_frame" and "written_frames"
+       fields to keep track of the call stacks actually written, so that we
+       can "replay" the full call stack at the beginning of each event block
+       (which allows the decoder to read blocks in random order and still see
+       all the call stacks correctly).
+       - gc_event: Fixed event creation sequence.
+       - Improved event logging (debugging) code.
 
 2008-11-04  Massimiliano Mantione <massi@ximian.com>
        * mono-profiler-logging.c: