gecko-dev/tools/profiler/public
Nicholas Nethercote 3842370ed8 Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive. This patch splits that macro into three new ones that are harder to
mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 3e2bbec4737b696e1c86579ae54be4cb3186c100
2017-10-13 16:12:57 +11:00
..
ChildProfilerController.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
GeckoProfiler.h Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange. 2017-10-13 16:12:57 +11:00
GeckoProfilerReporter.h Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange 2017-05-12 02:35:09 -04:00
ProfilerChild.h Bug 1382910 - Update the profiler state in the child process once PProfiler is connected. r=njn 2017-07-24 16:33:50 -04:00
ProfilerMarkerPayload.h Bug 1406296 (part 3) - Remove the profiler's "gpu" feature. r=mstange,jrmuizel. 2017-10-06 17:35:44 +11:00
ProfilerParent.h Bug 1374127 (part 4) - Clean up GeckoProfiler.h a bit. r=mstange. 2017-06-20 08:45:41 +10:00
shared-libraries.h Bug 1374888 - Maintain a live shared libraries list in gecko on macOS, r=mstange 2017-07-12 13:53:56 -04:00