gecko-dev/mozglue
Gerald Squelart e6bd850ec0 Bug 1646266 - {BASE_,}PROFILER_MARKER{,_TEXT} - r=gregtatum
This is the main public marker API:
- `AddMarkerToBuffer` can be used to store a marker to any buffer. This could be useful to code that wants to store markers outside of the default profiler buffers.
- `baseprofiler::AddMarker`/`profiler_add_marker` store a marker in the appropriate profiler buffer.
- BASE_PROFILER_MARKER and PROFILER_MARKER do the same, but are also defined (and empty) when MOZ_GECKO_PROFILER is not #defined.
All these take a name, marker options, a marker type, and the type's expected arguments if any (as expected by the `StreamJSONMarkerData` function).

Extra helpers for the most common types:
- BASE_PROFILER_MARKER_UNTYPED and PROFILER_MARKER_UNTYPED store a marker with no data payload.
- BASE_PROFILER_MARKER_TEXT and PROFILER_MARKER_TEXT store a text marker. `baseprofiler::markers::Text` is an example of how new marker types can be defined.

Differential Revision: https://phabricator.services.mozilla.com/D87257
2020-09-02 04:03:20 +00:00
..
android Bug 689178 - Remove crash-reporter hooks to externally provide library mappings. r=gsvelto 2020-06-25 08:43:23 +00:00
baseprofiler Bug 1646266 - {BASE_,}PROFILER_MARKER{,_TEXT} - r=gregtatum 2020-09-02 04:03:20 +00:00
build Bug 1621786 - Fix an incomplete skia suppression. r=mattwoodrow 2020-08-23 09:42:02 +00:00
dllservices Bug 1630444: Part2 - Add HandleLauncherError to DllServices. r=aklotz 2020-08-26 19:01:40 +00:00
linker Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-07-14 09:34:19 +00:00
misc Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-31 09:23:02 +00:00
static
tests Bug 1646266 - ProfilerString{,8,16}View - r=gregtatum 2020-09-02 03:57:17 +00:00
moz.build