Commit Graph

3558 Commits

Author SHA1 Message Date
Sebastian Hengst
06e62f0bdc Backed out changeset 59b0fb3fa328 (bug 1218576) 2016-08-30 15:51:36 +02:00
Sebastian Hengst
cdcebbabd4 Backed out changeset 283cee5fb8a7 (bug 1218576) 2016-08-30 15:51:28 +02:00
Sebastian Hengst
381e062552 Backed out changeset 7f8e3d336e2f (bug 1218576) 2016-08-30 15:51:23 +02:00
Sebastian Hengst
51b99ca281 Backed out changeset aee17ede1c0e (bug 1218576) 2016-08-30 15:51:19 +02:00
Sebastian Hengst
388f62f8ae Backed out changeset 80b0680f916f (bug 1218576) 2016-08-30 15:51:15 +02:00
Sebastian Hengst
1255e51b21 Backed out changeset 3c5d66ad69a0 (bug 1218576) 2016-08-30 15:51:10 +02:00
Sebastian Hengst
f214bece93 Backed out changeset ce72d25d0c5b (bug 1218576) 2016-08-30 15:51:06 +02:00
Sebastian Hengst
cf1d018fd8 Backed out changeset fe56ce42df42 (bug 1290027) 2016-08-30 15:50:57 +02:00
Chris H-C
3a26b266f8 bug 1290027 - Update "main" ping docs for child telemetry aggregation. r=gfritzsche
MozReview-Commit-ID: 52ja77pxuXu
2016-08-29 08:20:00 +07:00
Chris H-C
e92b33d97e 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
ec0303eba6 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
a0c882f14b 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
46476c3142 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
58b3bd47df 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
83f6709072 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
9d3347074e 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
3a100a6fba 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
9a99c05da1 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
5da3659afa 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
47ac6969b9 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
5ec57b7991 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-08-22 12:26:00 +07:00
Chris H-C
0cd544be3b 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
Justin Dolske
2bf9ab9b69 Bug 1298208 - add bug number and notification emails for migrator probes, removing them from exception whitelist. r=mattn
MozReview-Commit-ID: A5kUiutYX0l
2016-08-26 13:06:14 -07:00
Justin Dolske
790a3531c8 Bug 1298208 - FX_MIGRATION_HOMEPAGE_IMPORTED probe is (incorrectly) always true. r=mattn
MozReview-Commit-ID: 6wZUeRTKExw
2016-08-26 13:06:14 -07:00
Ryan VanderMeulen
7049259c8a Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Ryan VanderMeulen
79935a96ec Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Jon Coppeard
ce1b5fc84b Bug 1297026 - Replace outdated references to 'compartment GC' with 'zone GC' r=terrence 2016-08-25 12:00:56 +01:00
Sebastian Kaspari
d421bb2663 Bug 1287387 - Remove FENNEC_RESTRICTED_PROFILE_RESTRICTIONS histogram. r=liuche
MozReview-Commit-ID: CvSLLCAACZv
2016-08-23 15:38:59 +02:00
Sebastian Kaspari
12807688cc Bug 1287387 - Set histograms FENNEC_CUSTOM_HOMEPAGE, FENNEC_LOAD_SAVED_PAGE, ZOOMED_VIEW_ENABLED to expire in Firefox 60.0. r=liuche
MozReview-Commit-ID: 8ymVQAm51VB
2016-08-23 15:37:46 +02:00
Nicholas Nethercote
1009bf0056 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
2016-08-24 15:23:45 +10:00
Gijs Kruitbosch
e2e91c7669 Bug 1289436 - add telemetry for the length of time we take to import data, r=jaws,bsmedberg
MozReview-Commit-ID: CkbHJVRucr5
2016-07-26 18:05:08 +01:00
Andrea Marchesini
f6650e8614 Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly 2016-08-19 08:38:58 +02:00
Christoph Kerschbaumer
7c916ee147 Bug 1288361 - Return a network error for requests whose type is script and response has a MIME type that starts with image. r=dveditz 2016-08-22 08:55:35 +02:00
Kan-Ru Chen
a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Gijs Kruitbosch
3acf980741 Bug 1289906 - part 2: add more generic telemetry for undo reasons, r=bsmedberg,markh
MozReview-Commit-ID: 1wwLdY2iumV
2016-08-20 14:15:12 +01:00
Gijs Kruitbosch
c2418d9932 Bug 1289906 - part 1: use an observer to know when the user signs into sync after an undo, r=markh
MozReview-Commit-ID: BPjUVvYdsRG
2016-08-22 12:39:39 +01:00
Mike Conley
6bc9dfcac7 Bug 1301104 - Add tab spinner interstitial probe with a higher ceiling to better measure degenerate cases. r=billm,chutten,liuche
MozReview-Commit-ID: 2XzfXDqoB
2016-09-07 13:22:12 -04:00
Aryeh Gregor
f0496bf611 Bug 1295588 - Add createEvent() telemetry; r=smaug, data-review=bsmedberg
The createEvent() method supports only a fixed list of legacy event
types, and we would like to converge with other browsers on a list of
events to support.  To this end, we want to know if any supported types
are unused so we can drop them.

MozReview-Commit-ID: 8uB1vepBCpi
2016-08-21 16:06:14 +03:00
Sebastian Hengst
51a1e0743d Backed out changeset f4c8b3de527e (bug 1286895) for crashing in test_bug1241485.html. r=backout 2016-08-21 11:31:35 +02:00
Andrea Marchesini
02514ffeca Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly 2016-08-19 08:38:58 +02:00
Ryan VanderMeulen
576edfd1fd Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Christoph Kerschbaumer
b5d3461734 Bug 1296287 - Add alert_emails & bug_numbers for new HTTP_RESPONSE_STATUS_CODE probe. r=gfritzsche 2016-08-19 12:40:47 +02:00
Gerald Squelart
85a526e957 Bug 1295831 - VIDEO_INTER_KEYFRAME_MAX_MS==0 means only 1 keyframe - r=francois
Telemetry peer review through mozreview.

This patch is modifying this probe description sligthly, to add the collection
of a special value: '0' means that only one keyframe was found when playing a
video (played for at least enough time to be eligible for video-decode-suspend
feature.)

Please note that this will not modify existing data or their meaning: It will
just add this zero value (which is not otherwise possible or meaningful when
dealing with *inter-keyframe* timings), which will help gauge the relative
presence of these difficult-to-recover-from videos, compared to more "normal"
videos.

MozReview-Commit-ID: ANFtybW9BKu
2016-08-18 11:58:44 +10:00
Kris Maglione
47312ecab3 Bug 1294811: Fix external tests that import head_addons.js. r=rhelmer
MozReview-Commit-ID: EWo7Gv9oSsz
2016-08-16 17:02:44 -07:00
Andrea Marchesini
bc83682a02 Bug 1296606 - Add telemetry to see how many profiles users have, r=MattN, r=bugs 2016-08-31 15:18:56 -07:00
Wes Kocher
41af310505 Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Jared Wein
8860cdf2c1 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Wes Kocher
de62d9c40d Merge m-c to inbound, a=merge 2016-08-12 16:29:24 -07:00
Wes Kocher
9247be04ab Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Florian Quèze
fe52d79334 Bug 1294680 - instrument the 'Settings page' button, r=past. 2016-08-12 16:16:41 +02:00