Commit Graph

3558 Commits

Author SHA1 Message Date
Chris H-C
1aa183f763 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-07 08:53:00 -04:00
Johann Hofmann
778e6ff840 Bug 1286118 - Add telemetry probe to measure changes to permissions after initial prompt. r=florian
MozReview-Commit-ID: 9Y4XaY71dhh
2016-07-20 12:20:43 +02:00
Wes Kocher
eda25c5728 Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Thom Chiovoloni
4d860c6f5f Bug 1295058 - Make sync ping only submit every 12 hours or on browser shutdown r=gfritzsche,markh
MozReview-Commit-ID: 9BcMGAP0w7U
2016-08-31 12:50:34 -04:00
Ryan VanderMeulen
3bee7330da Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
Bob Owen
0fe0ab620b Bug 1259087: Add content process sandbox level to Telemetry Environment. r=gfritzsche
MozReview-Commit-ID: 8Irs0qvg8I9
2016-09-01 12:22:11 +01:00
Mark Banner
868999f04a Bug 1295606 - Remove unused Histogram definitions now that Loop has been removed. r=bsmedberg
MozReview-Commit-ID: Cd8MwyzWn8f
2016-08-16 16:50:05 +01:00
Wes Kocher
e139b4ce20 Merge m-c to inbound a=merge 2016-08-30 18:14:57 -07:00
Wes Kocher
b3db69732d Merge fx-team to central, a=merge 2016-08-30 17:51:54 -07:00
Wes Kocher
39df086540 Merge inbound to central, a=merge 2016-08-30 17:35:02 -07:00
Sebastian Hengst
5420214009 Backed out changeset 70b7f7e885c7 (bug 1290027) for crashing in xpcshell test test_httpsuspend_wrap.js. r=backout 2016-08-30 19:58:29 +02:00
Sebastian Hengst
826c8c3535 Backed out changeset 7d75e044ec95 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst
16e0ca9adf Backed out changeset a7907f9f7bab (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst
b0aaee3b8d Backed out changeset ee46537edfbc (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst
5130a2dcef Backed out changeset 5bb29adfd2f3 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst
e2c47168b5 Backed out changeset c56206f87ddf (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst
03411926b0 Backed out changeset 80df18726a87 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst
d56858b8cb Backed out changeset 0fa32203e30a (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst
01c53d4fcd Backed out changeset 5ecce735b1bf (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst
b7bedfc7da Backed out changeset 355d9c21953c (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst
933f690dca Backed out changeset ccbf45fbf4e8 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst
b878323b86 Backed out changeset 25905e31cba5 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst
ec32003938 Backed out changeset 009721cbd071 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst
b2394b1adc Backed out changeset 548b9c783ce5 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst
8718ac4e3f Backed out changeset 9b23af2bc178 (bug 1218576) 2016-08-30 19:58:27 +02:00
Andrzej Hunt
822242f13f Bug 1293790 - Pre: implement AS topsites access r=grisha
MozReview-Commit-ID: 1z30naErciE
2016-08-23 14:04:01 -07:00
Chris H-C
320dc315ef bug 1290027 - Update "main" ping docs for child telemetry aggregation. r=gfritzsche
MozReview-Commit-ID: 52ja77pxuXu
2016-08-30 20:00:08 +02:00
Sebastian Kaspari
5a56f7887e Bug 1281220 - Remove about:accounts telemetry on Fennec. r=liuche
MozReview-Commit-ID: GTKaauQIDKo
2016-08-23 16:25:19 +02:00
Chris H-C
ca9b142aee bug 1218576 - Change unused.h to Unused.h, which matters to some filesystems. r=gfritzsche
MozReview-Commit-ID: GOy5Xz2Pxta
2016-08-30 09:13:00 +07:00
Chris H-C
511b1ed0bb 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-08-23 08:36:00 +07:00
Chris H-C
e6149882a2 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-08-18 14:06:00 +07:00
Chris H-C
258f9248cd 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-08-16 12:42:00 +07:00
Chris H-C
598dc8a2ca 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-08-16 12:42:00 +07:00
Chris H-C
b9fefa045d 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-08-16 12:41:00 +07:00
Chris H-C
e7674830d3 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-08-16 12:41:00 +07:00
Chris H-C
5084ac100e bug 1218576 - Update test_ChildHistograms for child telemetry aggregation r=gfritzsche
No more requestChildPayloads (or need for it).

MozReview-Commit-ID: AmPuT04HjWx
2016-08-16 12:40:00 +07:00
Chris H-C
4e0449cc04 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-08-19 08:41:00 +07:00
Chris H-C
db76c46f63 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-08-16 12:39:00 +07:00
Chris H-C
fc3d8bd619 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-08-16 12:39:00 +07:00
Chris H-C
627106b778 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-08-16 12:38:00 +07:00
Chris H-C
c6300959e9 bug 1218576 - 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-08-30 09:12:00 +07:00
Chris H-C
e73902e9c1 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-08-23 08:35:00 +07:00
Chris H-C
ff798e557f bug 1290027 - Update "main" ping docs for child telemetry aggregation. r=gfritzsche
MozReview-Commit-ID: 52ja77pxuXu
2016-08-29 08:20:00 +07:00
Sunny
a64f0d693b Bug 1205845 - Implement telemetry measure to track toolbox docking setting; r=jryans p=bsmedberg
MozReview-Commit-ID: 7Zl1ggZDbde
2016-08-30 10:19:29 -05:00
Sebastian Hengst
6f416eaf5f Backed out changeset 74b9b3f4ce25 (bug 1218576) for build bustage. r=backout on a CLOSED TREE 2016-08-30 15:52:38 +02:00
Sebastian Hengst
5f207b78e3 Backed out changeset 7537a79e91a4 (bug 1218577) 2016-08-30 15:51:57 +02:00
Sebastian Hengst
1a558852b9 Backed out changeset 2310da8e4942 (bug 1218576) 2016-08-30 15:51:53 +02:00
Sebastian Hengst
fcf1204868 Backed out changeset cd8049475224 (bug 1218576) 2016-08-30 15:51:49 +02:00
Sebastian Hengst
120ff75c68 Backed out changeset 6e4a7610406a (bug 1218576) 2016-08-30 15:51:45 +02:00
Sebastian Hengst
d696c1cd81 Backed out changeset 2d375de64477 (bug 1218576) 2016-08-30 15:51:41 +02:00