Commit Graph

3558 Commits

Author SHA1 Message Date
Sebastian Hengst
e4d1aafeb6 Backed out changeset 2df66e8b7411 (bug 1302140) for Windows build bustage in CertVerifier.cpp. r=backout on a CLOSED TREE 2016-09-21 20:47:08 +02:00
David Keeler
f0b96ef5ba bug 1302140 - add policy to disable SHA-1 except for certificates issued by non-built-in CAs r=jcj,rbarnes
MozReview-Commit-ID: 2uwHPxk0VhZ
2016-09-14 15:11:15 -07:00
Nicholas Hurley
5e5e4b30e8 Bug 1296280 (part 1) - Add telemetry for HPACK usage. r=bsmedberg,mcmanus data-review=bsmedberg
MozReview-Commit-ID: Hk5XNrj3Tbh
2016-08-24 06:38:52 -07:00
Jim Chen
7eb3ca7cb3 Bug 1322574 - 1. Add telemetry for Android event loop latency; data-review=liuche
We want to measure the latency of events passing through the Android
event loop, so we can see whether it's worth optimizing its performance.

Four values in microseconds will be recorded in each telemetry ping, and
these numerical values should not pose privacy concerns. Asking :liuche
for data review.
2016-12-21 13:37:20 -05:00
Alessio Placitelli
2b65bccb1d Bug 1315906 - Add test coverage. r=gfritzsche
MozReview-Commit-ID: FFskMOrwvLO
2016-12-21 01:13:00 +01:00
Alessio Placitelli
04015c8eae Bug 1315906 - Change JS histogram add functions so that it doesn't throw. r=gfritzsche 2016-12-20 08:32:00 +01:00
Andrew Osmond
727056dc27 Bug 1311779 - Part 2. Add telemetry to track optimizable opaque images decoded into B8G8R8A8 surfaces. r=tnikkel 2016-10-19 12:34:30 -04:00
Carsten "Tomcat" Book
8c3409a304 Merge mozilla-central to mozilla-inbound 2016-09-14 12:11:09 +02:00
Carsten "Tomcat" Book
72d88f75cc merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Ryan VanderMeulen
9176b1ffd5 Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
Benjamin Bouvier
d076490d9b Bug 1288778: Add a telemetry probe for usage of asm.js / wasm; r=luke, data-review=bsmedberg
MozReview-Commit-ID: D8yiiobompo
2016-09-08 16:07:15 +02:00
268a50d257 Bug 1296288 - Add telemetry for TLS early-data. r=mcmanus 2016-09-13 02:32:00 -04:00
Francois Marier
61f9b64bc7 Bug 1297865 - Improve the description of Application Reputation telemetry probes. r=bsmedberg,gcp
MozReview-Commit-ID: 7AR8NBY5xQN
2016-08-25 17:34:46 -07:00
Francois Marier
c09b1a59b9 Bug 1297865 - Add an email address to all Safe Browsing telemetry probes. r=bsmedberg,gcp
MozReview-Commit-ID: 27nL1DavtLy
2016-08-25 17:40:49 -07:00
Francois Marier
e1c02a2e5b Bug 1297865 - Extend Safe Browsing telemetry probes we are still using. r=bsmedberg,gcp
MozReview-Commit-ID: 6675iD0yxZT
2016-08-25 16:38:55 -07:00
Francois Marier
42d01a3778 Bug 1297865 - Remove unused URLCLASSIFIER_PS_FAILURE probe. r=bsmedberg,gcp
MozReview-Commit-ID: Gl4o8gllqcs
2016-08-25 16:34:07 -07:00
AdamG2
43b3c47b39 Bug 1299144 - Replace TelemetryHistogram::NewKeyedHistogram and replace with predefined histograms. r=chutten
MozReview-Commit-ID: FLRyEswR6r7
2016-09-13 01:04:39 -04:00
Thom Chiovoloni
216200c69d Bug 1299784 - Include a hashed version of the device ID with the sync ping r=bsmedberg,markh
MozReview-Commit-ID: 3sPSeBNrF8z
2016-09-07 16:49:21 -04:00
Mason Chang
2c48b06a96 Bug 1302240 - Report content backend to telemetry. r=dvander 2016-09-12 16:23:28 -07:00
kaku@mozilla.com
f7eaba79c8 Bug 1299718 part 1 - Histogram for VIDEO_AS_CONTENT_SOURCE; r=bsmedberg,gerald
MozReview-Commit-ID: 2f2tyt1qGka
2016-09-14 15:50:28 +10:00
Carsten "Tomcat" Book
3a1fa51fea merge fx-team to mozilla-central a=merge 2016-09-09 12:01:21 +02:00
Wes Kocher
19fd7a04a8 Merge m-c to autoland, a=merge 2016-09-08 15:29:04 -07:00
Carsten "Tomcat" Book
31cc011b59 Merge mozilla-central to mozilla-inbound 2016-09-08 12:42:45 +02:00
Carsten "Tomcat" Book
9c3068b78c merge mozilla-inbound to mozilla-central a=merge 2016-09-08 12:01:17 +02:00
Christoph Kerschbaumer
4fb6a6e8af Bug 1300891 - Rename SCRIPT_BLOCK_WRONG_MIME to avoid confusing the telemetry probe. r=gfritzsche 2016-09-08 09:29:17 +02:00
Wes Kocher
c6d9df035f Merge m-c to fx-team, a=merge 2016-09-08 15:29:40 -07:00
Georg Fritzsche
df7f39deed Bug 1301313 - Add submission constraints to Telemetry custom ping documentation. r=dexter 2016-09-09 00:43:25 +07:00
Mike Conley
276351e0f6 Bug 1301435 - Make FX_TAB_SWITCH_SPINNER_VISIBLE_MS and FX_TAB_SWITCH_SPINNER_VISIBLE_LONG_MS opt-out probes. r=bsmedberg
MozReview-Commit-ID: 7eX21qeoZ9W
2016-09-08 12:21:42 -04:00
Timothy Nikkel
9a53979660 Bug 1298101. Implement telemetry to take event handling time during page load. r=smaug 2016-09-07 23:30:24 -05:00
Wes Kocher
d38092fe50 Merge m-c to inbound, a=merge 2016-09-07 18:07:21 -07:00
Andrea Marchesini
955e06a9ed Bug 1296606 - Fix the description for telemetry id NUMBER_OF_PROFILES, r=francois 2016-09-08 00:56:25 +02:00
Wes Kocher
5ba6ae7a70 Backed out 17 changesets (bug 1277504, bug 1218577, bug 1218576) for ASAN bc2 failures a=backout
Backed out changeset 62009556e4ad (bug 1218576)
Backed out changeset 57f9849f0f8f (bug 1218576)
Backed out changeset 9595c56c9db2 (bug 1277504)
Backed out changeset 9d15ae92f2fa (bug 1218576)
Backed out changeset ea7282078b05 (bug 1218576)
Backed out changeset 848f4ef30978 (bug 1218576)
Backed out changeset 1b6666eb3b81 (bug 1218576)
Backed out changeset ce2a2dabb042 (bug 1218576)
Backed out changeset 3caacb5c213b (bug 1218576)
Backed out changeset c68fc5ad5ecf (bug 1218576)
Backed out changeset 1678482b2fad (bug 1218576)
Backed out changeset df28918fe236 (bug 1218576)
Backed out changeset eb5dbe28ab20 (bug 1218576)
Backed out changeset baf105cbe0c8 (bug 1218576)
Backed out changeset 7fdd6b6ab594 (bug 1218576)
Backed out changeset a0a4829d0ca0 (bug 1218577)
Backed out changeset fc16cda7781b (bug 1218576)
2016-09-07 10:18:17 -07:00
AdamG2
2a8c78eaf2 Bug 1299143 - Remove outdated comment about Telemetry.snapshot.static. r=gfritzsche
MozReview-Commit-ID: KxW3jTaPjHX
2016-09-07 00:48:03 -04:00
AdamG2
ba4b44c12c Bug 1288745 - Remove TelemetryHistogram::NewHistogram and replace with predefined histograms. r=chutten
MozReview-Commit-ID: 6v270MnquqT
2016-09-03 15:26:40 -04:00
Phil Ringnalda
b4ef70115b Merge m-c to m-i 2016-09-05 13:13:05 -07:00
Tom Schuster
adb8aa1ca3 Bug 1299267 - Add additonal telemetry types. r=ckerschb 2016-09-05 20:02:52 +02:00
Chris H-C
e22b0b807f bug 1218576 - Ensure IPCTimer is on the main thread. r=froydnj f=gfritzsche
nsTimer fires on the thread that created the timer. An nsTimer instance should
only be manipulated on its target thread (it isn't threadsafe). IPC using
PContent must be on the main thread.

Thus, everything to do with the gIPCTimer must be on the main thread.

This also takes care of bug 1299312.

MozReview-Commit-ID: IcVRYsoX2R9
2016-09-07 08:53:00 -04:00
Chris H-C
9cdce83ff9 bug 1218576 - Change unused.h to Unused.h, which matters to some filesystems. r=gfritzsche
MozReview-Commit-ID: GOy5Xz2Pxta
2016-09-07 08:53:00 -04:00
Chris H-C
919aa027ff bug 1218576 - Test child categorical histogram aggregation r=gfritzsche
It's new, it wasn't tested, and my patches broke it earlier so we should have
coverage for it.

MozReview-Commit-ID: B25bFOJHMSQ
2016-09-07 08:53:00 -04:00
Chris H-C
089cc87d53 bug 1218576 - Aggregate child categorical histograms in the parent process. r=gfritzsche
Rewrite the categorical histogram accumulation code to use the common path.
This way it gets remote accumulation for cheap.

MozReview-Commit-ID: 3q6gdSvBix
2016-09-07 08:53:00 -04:00
Chris H-C
2d9fa21be4 bug 1218576 - Ensure we can record before trying to record categorical histograms. r=gfritzsche
Every other Accumulate call has it :S

MozReview-Commit-ID: 8uWtADebuJ1
2016-09-07 08:53:00 -04:00
Chris H-C
91759f6c2b bug 1218576 - Ensure Telemetry IDs coming from IPC are valid r=gfritzsche
I saw a one-off crash on try in internal_GetHistogramByEnumId. Not reproducible
but maybe possible if we're trying to accumulate using an invalid ID. So let's
guard against that.

MozReview-Commit-ID: Ei6eTlV91mJ
2016-09-07 08:53:00 -04:00
Chris H-C
02ab69d039 bug 1218576 - Ensure remaining batched telemetry is flushed on content process shutdown r=gfritzsche
On content process shutdown we send a content process ping to ensure we have
up-to-date data from the content process before it goes away. Now we need to
also flush the batched telemetry accumulations to the parent so that it can be
present in the ping.

No attempt is made to synchronize access to IPCTimerFired. It is safe to
re-enter.

No attempt is made to cancel the timer as its firing is benign.

MozReview-Commit-ID: 1gjNH9IPhKf
2016-09-07 08:53:00 -04:00
Chris H-C
53c02d3778 bug 1218576 - Assert we're the parent process when clearing histograms. r=gfritzsche
Clear isn't generally called at all, and isn't dispatched to the parent process
for child telemetry aggregation. Clear should only be called on the parent
process.

MozReview-Commit-ID: stIutvAO6h
2016-09-07 08:53:00 -04:00
Chris H-C
46617157fb bug 1218576 - Update test_ChildHistograms for child telemetry aggregation r=gfritzsche
No more requestChildPayloads (or need for it).

MozReview-Commit-ID: AmPuT04HjWx
2016-09-07 08:53:00 -04:00
Chris H-C
69edec6bff bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche
The JS histograms, too, need to dispatch their accumulations from child to
parent.

JSHistograms_Add now only supports histograms that are in gHistogramsMap or
that were created in the parent process. After bug 1288745, maybe we'll be able
to change this to be less convoluted.

MozReview-Commit-ID: 3qTH89YKbGP
2016-09-07 08:53:00 -04:00
Chris H-C
509a12de54 bug 1218576 - Move aggregated child telemetry to processes.content r=gfritzsche
Take the opportunity presented through changing child telemetry accumulation
to bring the ping form closer to the ideas expressed in bug 1281795.

childPayloads still exists, but without histograms or keyedHistograms which are
now at root.processes.content.{keyedH|h}istograms. This will require coordinated
changes in the aggregator and moztelemetry libraries.

MozReview-Commit-ID: AqG2jmBBC2W
2016-09-07 08:53:00 -04:00
Chris H-C
01e53337d7 bug 1218576 - Remove requestChildPayloads r=gfritzsche
To simplify using child telemetry from the parent process, only allow child
telemetry payloads to be generated once per child process, on shut down.

This will allow us to use the child telemetry's subsession information to leave
childPayloads the way it currently is.

Will need to update test_ChildHistograms.js as it is the only consumer.

MozReview-Commit-ID: 2qSztg0QHV5
2016-09-07 08:53:00 -04:00
Chris H-C
45ad454c24 bug 1218576 - Pre-allocate child keyed histograms in the parent process r=gfritzsche
I originally thought we'd be able to avoid the previous implementation's waste
of a map full of every kind of keyed histogram. Unfortunately, other code
(TelemetrySession at the very least) depends on this (and will throw if a keyed
histogram isn't present, even if it is empty)

MozReview-Commit-ID: 8MCGVa595UB
2016-09-07 08:53:00 -04:00
Chris H-C
26454df3a8 bug 1218577 - Support subsession hgrams for child aggregation r=gfritzsche
The original commit didn't properly support subsession histograms, so rectify
that lapse by adding support for stripping out the base name of a histogram
when trying to determine its id.

MozReview-Commit-ID: LvUek6f5WUx
2016-09-07 08:53:00 -04:00