Skip to content

Commit

Permalink
Bug 1911021 - Add MOZ_EXECUTION_TRACER compile flag r=arai
Browse files Browse the repository at this point in the history
  • Loading branch information
squarewave committed Oct 16, 2024
1 parent 432f52b commit 7cf58e1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions js/moz.configure
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,30 @@ set_define("MOZ_PROFILING", profiling)
imply_option("--enable-vtune", imply_vtune, reason="--enable-profiling")


@depends(milestone)
def enable_execution_tracing(milestone):
return milestone.is_nightly


option(
"--enable-execution-tracing",
env="MOZ_EXECUTION_TRACING",
default=enable_execution_tracing,
help="{Set|Do not set} compile flags necessary for running the JS "
"execution tracer",
)


@depends("--enable-execution-tracing")
def execution_tracing(value):
if value:
return True


set_config("MOZ_EXECUTION_TRACING", execution_tracing)
set_define("MOZ_EXECUTION_TRACING", execution_tracing)


option("--enable-vtune", env="MOZ_VTUNE", help="Enable VTune profiling")


Expand Down

0 comments on commit 7cf58e1

Please sign in to comment.