gecko-dev/tools/profiler/core
Denis Palmeiro 49502b1ffa Bug 1545091 - Spew tracelogger statistics with IONFLAGS=tracelogger r=iain,mstange
Add Jitspewing control for tracelogger data.  This can be enabled from the profiler or from the JS shell.  Usage is as follows:

From browser (ION_SPEW_FILENAME is recommended here so stdout doesn't get clobbered by each process):
  1.  JS_TRACE_LOGGING=1 IONFLAGS=tracelogger ION_SPEW_FILENAME=tracelogger ./mach run
  2.  Enable JSTracer feature in profiler addon
  3.  Start profiling and ctrl+shift+2 to view profile, and the data will be automatically spewed during profile collection.

From shell:
  1.  JS_TRACE_LOGGING=1 IONFLAGS=tracelogger dist/bin/js test.js
  2.  Data is automatically spewed to stdout when the shell exits, or use ION_SPEW_FILENAME.

There is an optional environment variable JS_TRACELOGGER_SPEW that can be used to emit specific events, for example JS_TRACELOGGER_SPEW="Interpreter,Baseline,GC" will emit only those specific events along with the script and self time of each script.

The structured spewer is also supported with SPEW=tracelogger, and this will emit the tracelogger data for every recorded event.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 15:25:32 +00:00
..
vtune
EHABIStackWalk.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
EHABIStackWalk.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
memory_hooks.cpp Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00
memory_hooks.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PageInformation.cpp Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00
PageInformation.h Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00
platform-linux-android.cpp Bug 1549232 - Only use profiler_current_{process,thread}_id in the Gecko Profiler instead of alternatives - r=mstange 2019-05-09 18:26:15 +00:00
platform-macos.cpp Bug 1549232 - Only use profiler_current_{process,thread}_id in the Gecko Profiler instead of alternatives - r=mstange 2019-05-09 18:26:15 +00:00
platform-win32.cpp Bug 1549232 - Only use profiler_current_{process,thread}_id in the Gecko Profiler instead of alternatives - r=mstange 2019-05-09 18:26:15 +00:00
platform.cpp Bug 1551625 - Lower profiler max startup entries - r=florian 2019-05-16 07:40:54 +00:00
platform.h Bug 1549232 - Only use profiler_current_{process,thread}_id in the Gecko Profiler instead of alternatives - r=mstange 2019-05-09 18:26:15 +00:00
PlatformMacros.h Bug 1518716 - Define platform macros such as GP_OS_android for Android/x86-64. r=jseward 2019-02-21 12:46:59 +00:00
ProfileBuffer.cpp Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn 2019-02-16 17:37:43 +00:00
ProfileBuffer.h Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn 2019-02-16 17:37:43 +00:00
ProfileBufferEntry.cpp Bug 1551083 - Fix a bugprone-move-forwarding-reference defect in ProfileBufferEntry r=erahm 2019-05-14 07:12:19 +00:00
ProfileBufferEntry.h Bug 1520104 - Using Hashmap instead of nsXHashTable - r=mstange 2019-04-29 11:42:17 +00:00
ProfiledThreadData.cpp Bug 1545091 - Spew tracelogger statistics with IONFLAGS=tracelogger r=iain,mstange 2019-05-21 15:25:32 +00:00
ProfiledThreadData.h Bug 1527564 - Child forwards its process name to the profiler - r=mstange 2019-02-14 21:19:42 +00:00
ProfileJSONWriter.cpp Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00
ProfilerBacktrace.cpp Bug 1527564 - Child forwards its process name to the profiler - r=mstange 2019-02-14 21:19:42 +00:00
ProfilerBacktrace.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ProfilerMarker.h Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn 2019-02-16 17:37:43 +00:00
ProfilerMarkerPayload.cpp Bug 1529386 - Rename DiskIO marker payloads to FileIO in profiler; r=canaltinova 2019-02-21 15:32:07 +00:00
RegisteredThread.cpp Bug 1497016 - Add an API to extract tracelogger data and use this within the gecko profiler r=mstange,djvj 2018-12-04 21:43:38 +00:00
RegisteredThread.h Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn 2019-02-16 17:37:43 +00:00
shared-libraries-linux.cc Bug 1549232 - Only use profiler_current_{process,thread}_id in the Gecko Profiler instead of alternatives - r=mstange 2019-05-09 18:26:15 +00:00
shared-libraries-macos.cc Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
shared-libraries-win32.cc Bug 1528651 - Fix some trivial warnings and re-enable warnings-as-errors on Windows in some directories. r=dmajor 2019-02-19 20:42:11 +09:00
ThreadInfo.h Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00
VTuneProfiler.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
VTuneProfiler.h Bug 1520103 - Fixed non-unified Profiler build - r=mstange 2019-02-07 17:35:37 +00:00