Commit Graph

163 Commits

Author SHA1 Message Date
Vincent Lequertier
8fbb285473 Bug 1324003 - Remove TELEMETRY_SCHEDULER_SEND_DAILY; r=chutten 2016-12-19 13:23:00 +01:00
Georg Fritzsche
3f191261d7 Bug 1316281 - Part 3 - Fix TelemetrySession filter for test events. r=dexter 2016-12-02 12:17:12 +01:00
Phil Ringnalda
6f651bae70 Backed out 5 changesets (bug 1316281, bug 1316810) for ASan failures in UsageTelemetry tests
Backed out changeset 2c711bb8e373 (bug 1316281)
Backed out changeset b3ea1334c33a (bug 1316281)
Backed out changeset 823e118b3fad (bug 1316281)
Backed out changeset 84e97301a8c9 (bug 1316810)
Backed out changeset f98ddece4b12 (bug 1316810)

MozReview-Commit-ID: 5tR2v8NWxQW
2016-12-01 07:46:00 -08:00
Georg Fritzsche
ca3a514e2c Bug 1316281 - Part 3 - Fix TelemetrySession filter for test events. r=dexter 2016-12-01 14:57:32 +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
Georg Fritzsche
abc6f73276 Bug 1302663 - Part 3 - Add events to the main ping. r=dexter 2016-11-18 15:51:59 +01:00
Carsten "Tomcat" Book
16dbcfed31 Backed out changeset ae8ae9a484d3 (bug 1302663) 2016-11-18 14:27:49 +01:00
Georg Fritzsche
6244530e0c Bug 1302663 - Part 3 - Add events to the main ping. r=dexter 2016-11-18 13:03:59 +01:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
b0f59ac265 Bug 1316882: Turn on func-call-spacing eslint rule. r=bgrins
MozReview-Commit-ID: GIkQnRX9woD
2016-11-10 15:05:32 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Sebastian Hengst
bd537aeb6f Backed out changeset 574bf5f49185 (bug 1302663) 2016-11-12 21:17:32 +01:00
Georg Fritzsche
00c600e494 Bug 1302663 - Part 3 - Add events to the main ping. r=dexter 2016-11-13 01:52:29 +07:00
AdamG2
fa1c11cef7 Bug 1300491 - Removed histogramFrom and resulting unused functions, all STARTUP_* histograms, and any tests using these. r=chutten
MozReview-Commit-ID: EnVYxGIOWgs
2016-11-07 15:13:01 -05:00
Dave Townsend
dc3810c548 Bug 1314343: Turn on no-unreachable in eslint. r=standard8
Unreachable code can be a sign of a mistake so we should turn this rule on.

MozReview-Commit-ID: LQphsNL7HBX
2016-11-01 10:58:35 -07:00
Bill McCloskey
1ca23fca34 Bug 1308040 - Save GCs in telemetry (r=gfritzsche,bsmedberg) 2016-10-31 14:01:49 -07:00
David Anderson
fa4d050323 Add GPU process histograms to Telemetry pings. (bug 1304494 part 4, r=gfritzsche) 2016-10-30 22:35:57 -07:00
Georg Fritzsche
78c9a104f7 Bug 1293318 - Always throttle environment changes and limit throttling to main pings. r=dexter 2016-09-27 10:45:31 +02:00
Mike Conley
0cf9eef882 Bug 1260316 - Make TelemetrySession more resilient if content processes have crashed. r=chutten
MozReview-Commit-ID: 2CbKYaNcBai
2016-10-11 14:09:24 -04: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
00251d488b 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-19 13:30:25 -04:00
Chris H-C
b6f04194a9 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-19 13:30:25 -04:00
Chris H-C
1820cbf157 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-19 13:30:25 -04:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Jared Wein
e8b20b6db5 Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES
2016-08-04 03:20:25 -04:00
Alessio Placitelli
0ceb2b70ea Bug 1271304 - Measure the tabs/window open events and max number of tab/window per subsession. r=Gijs, r=gfritzsche, data-review=bsmedberg
MozReview-Commit-ID: 6vYfoEb8VvB
2016-05-12 09:30:00 +02:00
Alessio Placitelli
c0e285b879 Bug 1282091 - Adjust the "scalars" format in the main ping. r=gfritzsche 2016-07-05 02:35:00 +02:00
Alessio Placitelli
d53e2e503a Bug 1276196 - Add scalars to the main ping payload. r=gfritzsche 2016-06-24 08:58:00 +02:00
Alessio Placitelli
381601829e Bug 1156361 - Telemetry redesign: Consolidate date & string utility functions in TelemetryUtils.jsm. r=gfritzsche 2016-05-06 09:36:00 +02:00
Iaroslav Sheptykin
17b9d2f2b5 Bug 1145188: Shifting TelemetrySession init control to TelemetryController (core). r=Dexter 2016-05-16 06:57:00 +02:00
Sebastian Hengst
9c6add3610 Backed out changeset 9e90db2262ac (bug 1145188) for frequent Android 4.2 x86 opt Sets(S4) failure in test_TelemetrySession.js. r=backout 2016-04-29 21:30:50 +02:00
Georg Fritzsche
d31a33ba75 Bug 1262386 - Trigger Telemetry scheduler tick after waking up from sleep. r=dexter 2016-04-29 15:16:22 +02:00
Georg Fritzsche
8cc8fd4960 Bug 1262386 - Move Scheduler shutdown() next to init(). r=dexter 2016-04-29 15:16:22 +02:00
Georg Fritzsche
e37d614132 Bug 1268581 - Reduce Telemetry initialization delay in tests. r=dexter 2016-04-29 15:16:22 +02:00
Iaroslav Sheptykin
87be9cbb55 Bug 1145188: Shifting TelemetrySession init control to TelemetryController (core). r=Dexter 2016-04-17 11:57:00 +02:00
Claas Augner
6d5c467dfd Bug 1231812 - Don't send empty keyed histograms in Telemetry pings. r=gfritzsche
MozReview-Commit-ID: 2Vl3IjjeaHj
2016-04-14 15:57:10 -07:00
Georg Fritzsche
e60cfe2f11 Bug 1250640 - Part 3 - Add diagnostics for suspected scheduler scenarios. r=dexter, f=bsmedberg 2016-04-13 12:55:31 +02:00
Georg Fritzsche
d111064dfe Bug 1250640 - Part 2 - Start new subsessions even when payload assembly fails. r=dexter 2016-04-13 12:55:31 +02:00
Georg Fritzsche
d21d4588ec Bug 1250640 - Part 1 - Avoid potential timer races in the TelemetrySession scheduler. r=dexter 2016-04-13 12:55:31 +02:00
Nicholas Nethercote
ae26e5712f Bug 1263484 - Remove the JS_MAIN_RUNTIME_TEMPORARY_PEAK telemetry measurement. r=chutten.
It's no longer useful.
2016-04-11 09:33:35 +10:00
Wes Kocher
d34e61e3ec Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9YZdlIARozU
2016-04-08 16:47:03 -07:00
Dave Townsend
769fc8f245 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr
2016-04-05 11:33:48 -07:00
Jonathan Watt
dd031ae560 Bug 1263042 - When the crash reporter is disabled, avoid JavaScript strict warnings in Telemetry code during startup. r=gfritzsche 2016-03-23 10:24:41 +00:00
Benjamin Smedberg
8bdab4404f Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H
2016-03-14 09:31:19 -04:00
Rob Wood
46057b021b Bug 1253633 - Don't put the TELEMETRY_TEST_* histograms into the Telemetry payload outside of tests; r=gfritzsche
MozReview-Commit-ID: FX5BsR2cUBh
2016-03-14 14:45:33 -04:00
malayaleecoder
90b08f4703 Bug 1252481 - Remove sum_squares_lo and sum_squares_hi from Histogram serialization. r=gfritzsche 2016-03-12 01:34:59 +05:30
Nicholas Nethercote
9a10481c08 Bug 1252375 - Fix up jemalloc stats reporting. r=erahm.
We have some oddities in our jemalloc stats reporting.

- "heap-overhead-ratio" is a strange measurement: overhead / non-overhead,
  expressed as a percentage. And it omits "bin_unused", which appears to be an
  oversight.

- "heap-committed" also omits "bin_unused".

- There are some minor errors in memory report descriptions.

This patch fixes these and improves the heap reporting. It makes the following
reporting changes:

- "heap-allocated": Duplicated as "heap-committed/allocated". (We keep
  "heap-allocated" because that's a special value used in the computation of
  "heap-unclassified".)

- "heap-committed/overhead": Added; it's the same as the sum of the
  "explicit/heap-overhead/*" values. Together with "heap-committed/allocated"
  it shows clearly what fraction of the heap is overhead and what fraction is
  useful.

- "heap-committed": Removed; now implicit as the "heap-committed/" node.

- "heap-overhead-ratio":
  - Removed from memory reports; now shown as the percentage of the new
    "heap-committed/overhead" node.
  - Still available as a distinguished amount (because it's useful in
    isolation) but renamed to heapOverheadFraction, and the telemetry ID is
    renamed as MEMORY_HEAP_OVERHEAD_FRACTION.

- "heap-chunks": Removed; it's not that interesting, and can be manually
  computed as "heap-mapped" / "heap-chunksize" if necessary.
2016-03-03 12:49:27 +11:00
Anthony Zhang
7c77d084d9 Bug 1250224 - Add a comment to clarify the purpose of TelemetrySession._childThreadHangs, etc. r=gfritzsche 2016-02-23 11:00:45 -05:00
Mark Finkle
d9b1c1a77d Bug 1246973 - Support clearing UI Telemetry when creating pings r=gfritzsche 2016-02-12 18:02:03 -05:00
Georg Fritzsche
126faa6bd3 Bug 1247258 - Use Array.prototype.includes in Telemetry code. r=dexter 2016-02-10 15:19:37 +01:00