This also changes many references to the 'pseudo stack' to refer to the 'label
stack' instead. The label stack is one of the two stacks that are managed by
the profiling stack, the other stack being the JS interpreter stack.
MozReview-Commit-ID: Ed0YMMeCBY8
--HG--
extra : rebase_source : 5675d670f424c7d7dda04bafc2b3431fa2485e3c
The term "entry" is already used for elements in the profile buffer.
MozReview-Commit-ID: 1aB22V6veQh
--HG--
extra : rebase_source : c664eb4d6bed6cb74ba8a1b67ea99bd8ca57bcf7
extra : source : 3264c0cc0027b240b55bd3aebf27263b1e1d1cc0
Currently system addons will not be updated if app.update.enabled or app.update.auto are set to false. This patch introduces a new pref, extensions.systemAddon.update.enabled, which will control system addon updates. app.update.enabled and app.update.auto will no longer affect system addon updates.
MozReview-Commit-ID: 37JJa1jICTh
--HG--
extra : rebase_source : 755dd8b81eff244aff675f568532581a6b457952
This patch makes sure that snapshotting is performed while
holding the histogram mutex. JS reflection code is only called
after the snapshot is taken, outside of the locked section.
MozReview-Commit-ID: H1uJz1H7rIu
--HG--
extra : rebase_source : abcf77a4cb5073377eddc24a9c1f16b57616b96e
This patch introduces a couple of new functions to copy histogram data
to Mozilla-friendly arrays. This solves the problem of passing Histogram
pointers around and makes working away from JS functions easier.
MozReview-Commit-ID: BIg3FXBzxfT
--HG--
extra : rebase_source : 79f967f73cc1f3e70a27e32e4022fa59b2a58df3
This changes the build system to add a new define when on
Android or when tests are enabled, MOZ_TELEMETRY_GECKOVIEW.
MozReview-Commit-ID: 5n2A8G2ZzRK
--HG--
rename : toolkit/components/telemetry/tests/gtest/TelemetryFixture.h => toolkit/components/telemetry/tests/gtest/TelemetryFixture.cpp
extra : rebase_source : 09e42c85b754f3fd5d9d699b1b52f8afe8694a5c
This patch adds a new topic, for internal use only, which is notified once the
Telemetry core completes loading all the persisted measurements. This will be
useful for applications to have a signal for when is the right time to start
requesting snapshots/clears.
MozReview-Commit-ID: 5tBxV6L1bkh
--HG--
extra : rebase_source : 4c9a0e5a2a9e4410ae1bfb7e920bbec87dbb98a1
This adds the core changes needed in order to record scalar measurements
to a file and then load them back (including keyed scalars).
MozReview-Commit-ID: BQh2KWzjvLu
--HG--
extra : rebase_source : 179d48b8d96d585a857050f2996700cc3c822b46
This introduces a function for getting the ProcessID value given
the name of a process.
MozReview-Commit-ID: 9cbZAO5hyL5
--HG--
extra : rebase_source : a20d166e4a9588586bbe3e28c85043d881727364
This implements the persistence timer and the logic to write measurements
to a persistence file off-the-main thread using JSONWriter. The code to
load persisted measurements off the disk uses the builtin JSON parsing
functions from JS (as we cannot use jsoncpp).
It additionally exposes the ClearProbes method to clear the probe storage and
trigger clearing the persisted data (GeckoView only).
MozReview-Commit-ID: 94FoZac47Cw
--HG--
extra : rebase_source : 9d207958932ae0d8063bf137c0c7078c6103edb4
The name Cpp was confusing, because C++ functions are in the native stack, not
in the pseudo stack. The pseudo stack only contains frames for manually
instrumented code that uses AutoProfilerLabel, and JS frames.
MozReview-Commit-ID: 9ptfhREo0qy
--HG--
extra : rebase_source : 76a1a32acb4c946aeb2ad45e904e419c1c9e2ad1
The Fennec CrashReporter class is also renamed to
CrashReporterActivity. When running in Fennec, the Activity will be used
which retains what we do today, prompting for comments, email, etc. When
used in standalone GeckoView, we report the crash without user
interaction if the appropriate GeckoRuntimeSetting was set. The app will
want to ask for user permission at least once in order to set this.
We do not collect the URL, email, or logcat with GeckoView crashes.
Logcat and URL would be nice to have, but it's not clear what the API
for those would look like, and they can be addressed in followup
patches.
MozReview-Commit-ID: C5ROsUKreRe