commit 04b66025cf4f6065f50fbac3da5e7fed42ca7640
parent a11a8ea598842e487e7279b146abbc7842dbb506
Author: Rob Wu <rob@robwu.nl>
Date: Wed, 1 Oct 2025 17:20:47 +0000
Bug 1991892 - Fix documentation on enabling the profiler on try r=florian
Differential Revision: https://phabricator.services.mozilla.com/D266988
Diffstat:
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/testing/docs/browser-chrome/index.md b/testing/docs/browser-chrome/index.md
@@ -94,7 +94,7 @@ It's possible to get a profile also on try with `--env MOZ_PROFILER_STARTUP=1`:
```
The profile will be uploaded in case of a failure only, so make sure to add
-something such as `ok(false, “force profile upload”);` in your test to force the
+something such as `ok(false, "force profile upload");` in your test to force the
failure.
diff --git a/testing/docs/debugging-intermittents/index.md b/testing/docs/debugging-intermittents/index.md
@@ -69,7 +69,7 @@ This will automatically upload profiles of failing tests.
:::{hint}
If you want to see a profile of a test that doesn’t fail (eg. to compare it with
the profile of a failing run), an easy way to make it happen is to add a failure
-near the end of the test, eg. `ok(false, “force profile upload”);`.
+near the end of the test, eg. `ok(false, "force profile upload");`.
:::
Some test types do not support running the profiler with a parameter (such as
diff --git a/tools/tryselect/docs/index.rst b/tools/tryselect/docs/index.rst
@@ -140,9 +140,11 @@ line instead, such as by using ``curl``:
Profiler symbols for try builds
-------------------------------
-When profiling a tryserver build, you don't get symbols by default. You have to trigger
-an additional `upload-symbols` job on your try push so that the symbols are available
-on the symbol server.
+When `profiling a tryserver build </testing/debugging-intermittents/index.html#use-the-firefox-profiler>`__,
+symbols are only available by default for artifact builds. With full
+(non-artifact) builds, you don't get symbols by default. You have to trigger an
+additional `upload-symbols` job on your try push so that the symbols are
+available on the symbol server.
You can trigger this job manually in the Treeherder UI, using "Add new jobs (Search)...".