Bug 1500635. Expose ProfileJSONWriter. r=mstange
authorJeff Muizelaar <jrmuizel@gmail.com>
Tue, 23 Oct 2018 12:42:32 +0000
changeset 442556 3d81c51cff40762dc072c89c81458bd3b548e913
parent 442555 ac5060eb361cd23100e28128f810020f2e422878
child 442557 9cc63b9b3506e7f7d37ecf9ee30ffa2511145a50
push id34913
push useraciure@mozilla.com
push dateTue, 23 Oct 2018 16:49:58 +0000
treeherdermozilla-central@ff3ed362e82f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1500635
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1500635. Expose ProfileJSONWriter. r=mstange This lets ProfilerMarkerPayload implementations live outside of the profiler. Differential Revision: https://phabricator.services.mozilla.com/D9325
tools/profiler/core/ProfileJSONWriter.h
tools/profiler/moz.build
tools/profiler/public/ProfileJSONWriter.h
--- a/tools/profiler/moz.build
+++ b/tools/profiler/moz.build
@@ -8,16 +8,17 @@ if CONFIG['MOZ_GECKO_PROFILER']:
     DEFINES['MOZ_REPLACE_MALLOC_PREFIX'] = 'profiler'
     XPIDL_MODULE = 'profiler'
     XPIDL_SOURCES += [
         'gecko/nsIProfiler.idl',
     ]
     EXPORTS += [
         'public/ChildProfilerController.h',
         'public/GeckoProfilerReporter.h',
+        'public/ProfileJSONWriter.h',
         'public/ProfilerChild.h',
         'public/ProfilerMarkerPayload.h',
         'public/ProfilerParent.h',
         'public/shared-libraries.h',
     ]
     UNIFIED_SOURCES += [
         'core/platform.cpp',
         'core/ProfileBuffer.cpp',
rename from tools/profiler/core/ProfileJSONWriter.h
rename to tools/profiler/public/ProfileJSONWriter.h