Commit Graph

90 Commits

Author SHA1 Message Date
Chris H-C
43ee3b33fc bug 1366294 - Part 7 - Use keyed histogram snaphots to build payloads. r=gfritzsche
TelemetrySession's getKeyedHistograms asks for each keyed histogram
individually. This is inefficient and doesn't work well with the storage
refactor.

So, plumb through a subsession keyed histogram snapshot API and convert
TelemetrySession over to using it.

MozReview-Commit-ID: Af9dTqw99UA
2017-07-24 09:52:26 -04:00
Georg Fritzsche
bccaccd801 Bug 1366294 - Part 1 - Remove base::StatisticsRecorder. r=chutten
The Chromium IPC histogram code used the StatisticsRecorder object for storage.
This is keyed by histogram name, which doesn't match our storage reality anymore.
Instead we use a name to refer to a set of histogram instances that record data from different processes, as well as separating session and subsession data.
Consequently we need to rewrite this storage, which means StatisticsRecorder is not used anymore.

MozReview-Commit-ID: 1LC7YubpKaD
2017-07-24 09:52:26 -04:00
Shih-Chiang Chien
941f828467 Bug 1357682 - Part 1, helper function for keyed categorical histogram. r=gfritzsche
Create AccumulateCategoricalKeyed() to specify both key and value for the categorical histogram,
sinc AccumulateCategorical() only support non-keyed histogram.

MozReview-Commit-ID: qYMnL9P6Ik
2017-07-11 16:51:07 +08:00
Michael Layzell
956290a1de Bug 1369594 - Get module information for BHR off main thread, r=froydnj
MozReview-Commit-ID: L0ANHNKKAkY
2017-06-16 14:55:15 -04:00
Paavini
4541e2bcd7 Bug 1333624 - AutoTimer now asserts on empty histogram key names. r=billm 2017-05-25 05:43:00 +02:00
Georg Fritzsche
3b75819ee9 Bug 1313326 - Part 1 - Support recording events in child processes. r=dexter,froydnj 2017-02-14 14:43:51 +01:00
Sebastian Hengst
939e66513a Backed out changeset a6db4cae9990 (bug 1313326) for failing browser_UsageTelemetry_content.js on Linux x64 asan and debug (at least). r=backout on a CLOSED TREE 2017-03-01 19:48:09 +01:00
Georg Fritzsche
75d3f1d9ef Bug 1313326 - Part 1: Support recording events in child processes. r=dexter, r=froydnj 2017-02-14 14:43:51 +01:00
Vedant Sareen
a85a2ad339 Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Georg Fritzsche
2011d0ae0c Bug 1339749 - Refactor Telemetry IPC code. r=chutten 2017-02-15 16:25:40 +01:00
Carsten "Tomcat" Book
2d818c882e Backed out changeset 3a90f1f64d8d (bug 1339749) for bustage on a CLOSED TREE 2017-02-15 16:10:29 +01:00
Georg Fritzsche
c3f2c42868 Bug 1339749 - Refactor Telemetry IPC code. r=chutten 2017-02-15 10:37:17 +01:00
Nicholas Nethercote
d2434a7cc6 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11:00
Alessio Placitelli
1a9102ac62 Bug 1278556 - Enable child process scalar recording. r=chutten, f=gfritzsche,froydnj
MozReview-Commit-ID: IddrszBX0f5
2017-01-16 05:12:00 +01:00
Iaroslav (yarik) Sheptykin
7c3e98fde8 Bug 1225851: Capturing keyed call stacks on demand inside Telemetry. r=chutten,r=gfritzsche
MozReview-Commit-ID: XSs5MeQ1Bs
2016-11-17 20:52:53 +01:00
David Anderson
b63b7119f6 Refactor TelemetryHistogram to support multiple child process types. (bug 1304494 part 2, r=gfritzsche) 2016-10-30 22:35:57 -07:00
Mark Banner
dcecd97a17 Bug 1306631 - Remove old Loop telemetry hooks from WebRTC code. r=jesup
MozReview-Commit-ID: 1ctKZPDVEha
2016-09-23 16:55:48 +01:00
ajay
f09b5e319d Bug 1304735 - Remove ClearHistogram r=chutten
MozReview-Commit-ID: Ez7u2gsRX6R
2016-09-22 21:48:19 +05:30
Alessio Placitelli
a0e5869ffa Bug 1277806 - Add the missing C++ API for boolean scalars. r=gfritzsche 2016-09-14 02:59:00 +02:00
Alessio Placitelli
75704c0bb9 Bug 1277806 - Implement keyed scalar measurements in Telemetry. r=gfritzsche,nfroyd
MozReview-Commit-ID: 9kkjpLAIQUX
2016-09-16 03:43:00 +02:00
Chris H-C
b15477b262 bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-09-19 13:30:25 -04:00
Georg Fritzsche
e54db4e599 Bug 1188888 - Part 6 - Implement C++ API for categorical histograms. r=chutten,r=froyndj 2016-07-20 17:10:24 +02:00
Alessio Placitelli
b63d53634e Bug 1276195 - Add scalar measurements API & storage in Telemetry C++ core. r=gfritzsche
MozReview-Commit-ID: K27PoMxWRMp
2016-06-25 01:01:00 +02:00
Julian Seward
0e2d48e6dc Bug 1258183 - TSan: data race toolkit/components/telemetry/Telemetry.cpp in CanRecordBase (part 2, derace). r=chutten. 2016-06-08 17:46:24 +02:00
Julian Seward
64b3a1608f Bug 1261052 - Move C++ histogram implementation code into a separate module. r=gfritzsche. 2016-05-17 15:05:19 +02:00
Carsten "Tomcat" Book
7efeacf304 Backed out changeset 6bf8922cd1b7 (bug 1261052) for windows pgo bustage 2016-05-13 14:26:12 +02:00
Julian Seward
57ccf65321 Bug 1261052 - Move C++ histogram implementation code into a separate module. r=gfritzsche. 2016-05-13 11:29:49 +02:00
Georg Fritzsche
02761e9bc8 Bug 1270073 - Point to Telemetry documentation in Telemetry.h. r=chutten 2016-05-05 15:17:43 +02:00
Georg Fritzsche
ca2f02619b Bug 1261063 - Part 2 - Expose C++ function to clear Telemetry histograms. r=chutten 2016-05-03 18:07:45 +02:00
Georg Fritzsche
8849451803 Bug 1261063 - Part 1 - Remove public Telemetry functions that return raw histogram instances. r=chutten
Note that GetKeyedHistogramById(ID, const nsAString&) was declared, but never had an implementation.
2016-05-03 18:07:44 +02:00
Eric Rahm
0245ffef9a Bug 1251785 - Remove remaining references to MOZILLA_XPCOMRT_API from toolkit. r=froydnj 2016-02-27 11:12:08 -08:00
Avi Halachmi
da11ded321 Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 20:06:40 +02:00
Wes Kocher
c09cb3b32b Backed out 2 changesets (bug 1228147) for build failures in histogram.h on a CLOSED TREE
Backed out changeset 35b4ba91e093 (bug 1228147)
Backed out changeset 8a2f45c8d25d (bug 1228147)
2015-12-16 09:27:37 -08:00
Avi Halachmi
1774be6cd8 Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 16:39:57 +02:00
Nils Ohlmeier [:drno]
94c784b880 Bug 1198883 - Part 2: Added WebRTC ICE candidates to Telemetry. r+vladan 2015-10-08 14:44:50 -07:00
Ahmed Khalil
1472ef1029 Bug 1201926 - Add support for keyed histograms to Fennec's Telemetry module, r=nalexander 2015-10-08 11:32:52 +05:30
Michael Layzell
a093510d49 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Nathan Froyd
2153af8dcc Bug 968923 - part 3c - miscellaneous telemetry changes for use counters; r=gfritzsche
This patch teaches gen-histogram-enum.py how to correctly deal with the
situation where there are no use counters.  It also adds
mozilla::Telemetry::GetHistogramName for debugging purposes.
2015-06-03 14:38:15 -04:00
Jeff Gilbert
b1f1e1a811 Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Randall Barker
2ee4f9a372 Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd 2015-04-03 15:52:00 +02:00
Wes Kocher
b4465e0af8 Backed out changeset 0f5799df920b (bug 1093934) for various test failures CLOSED TREE 2015-04-02 13:42:34 -07:00
Randall Barker
762a6748a9 Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC r=froydnj 2015-04-02 12:12:37 -07:00
Alessio Placitelli
f3eb8e2fb5 Bug 1134279 - Make TelemetryPing and TelemetrySession code use the "FHR enabled" & "Telemetry enabled" prefs properly. r=vladan 2015-03-25 16:42:14 +01:00
Aaron Klotz
f7fe5fbcde Bug 1100360: Convert ChromeHang annotations to use UniquePtr; r=vladan 2014-12-30 14:52:39 -07:00
Aaron Klotz
fa5a9e12ba Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan (Relanding because I meant to back out a different commit for bustage, not this) CLOSED TREE 2014-12-11 14:00:47 -07:00
Wes Kocher
585e114d54 Backed out changeset 62a9e591e57d (bug 1070755) for mochitest-11 bustage on a CLOSED TREE 2014-12-11 14:53:01 -08:00
Aaron Klotz
1fcab019db Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan 2014-12-11 14:00:47 -07:00
Georg Fritzsche
3aef81eab5 Bug 1096785 - Add Telemetry::Accumulate() for keyed histograms. r=froydnj 2014-11-11 11:45:40 +07:00
Georg Fritzsche
0fd9b006e5 Bug 1069874 - Add keyed histogram types. r=froydnj 2014-10-30 20:51:01 +01:00