mono/mono — pull request #1015 by ludovic-henry (2014-05-05 18:04:25+00:00)
Title: [proflog] Add counters support to proflog

This PR add support for counters sampling inside in the log profiler. As discussed with Paolo, it was decided to integrate the code directly in proflog.c instead of having it in a separate file which needed to export some functions (such as emit_... and ensure_logbuff).

This work in the log profiler depends on changes in the counters API which have been submitted in https://github.com/mono/mono/pull/992