Bug 1482560: Do not flush tracelogger to disk unless specifically requested to do...
commit2a6d629a20b9ca4a18c499ca421af10ffad70754
authorDenis Palmeiro <dpalmeiro@mozilla.com>
Wed, 22 Aug 2018 20:09:33 +0000 (22 20:09 +0000)
committerDenis Palmeiro <dpalmeiro@mozilla.com>
Wed, 22 Aug 2018 20:09:33 +0000 (22 20:09 +0000)
tree3d20625bc922cdce48b7b1831800ba62217e139f
parentb8b943575b6cf483f75f4a019262f0c9955a2fca
Bug 1482560: Do not flush tracelogger to disk unless specifically requested to do so r=sfink

When enabling the tracelogger, it will automatically spew the data to disk in the location specified by TLDIR or /tmp, if undefined.  However, there needs to be a way to enable the tracelogger without spewing so that we can write this data as part of the gecko profiler JSON output, and ultimately visualized with perf.html.

Differential Revision: https://phabricator.services.mozilla.com/D3138

--HG--
extra : moz-landing-system : lando
js/src/vm/TraceLogging.cpp
js/src/vm/TraceLogging.h
js/src/vm/TraceLoggingGraph.cpp
js/src/vm/TraceLoggingGraph.h
js/src/vm/TraceLoggingTypes.h