Commit Graph

206 Commits

Author SHA1 Message Date
Anup Kumar
af825059ba Bug 1201492 - Remove extended_statistics_ok from Telemetry histograms. r=dexter 2015-12-21 08:31:00 +01:00
Carsten "Tomcat" Book
9159668909 Backed out changeset d19ad724c64c (bug 1198209) for test failures in browser_aboutHealthReport.js 2015-12-21 14:28:43 +01:00
Chris H-C
563e0e33c5 Bug 1198209 - Add a "Total Memory" Histogram. r=vladan
We now have all the necessary measurement APIs to get a full memory picture for
a running multi-process instance. However, there's no way to correlate one
particular RSS measurement on chrome with its USS measurements on content
processes.

So do that in TelemetrySession and report it.
2015-12-18 07:48:00 +01:00
Patrick Nwoko
b32d51e2ec Bug 1217458 - change TelemetrySession comments to point to the correct bug number. r=dexter 2015-12-08 04:38:00 +01:00
Dave Townsend
66459b47af Bug 1229519: Fix toolkit/components/telemetry to pass eslint checks. r=gfritzsche 2015-12-03 10:02:02 -08:00
Tyler Steiman
b763693520 Bug 1226196 Lowers MEMORY_RESIDENT's buckets from 200 to 100. When building, MEMORY_RESIDENT_FAST correctly shows in the HISTOGRAMs in about:telemetry r=chutten 2015-11-23 11:19:04 -08:00
Chris H-C
ff72f599a0 Bug 1198209 - Add a histogram for USS r=Yoric
Unique Set Size (USS) could be described as "the amount of memory you could
expect to reclaim if you killed this process"

Resident Set Size (RSS) is USS with the addition of memory allocated by
shared memory.

To get a full picture of the memory use of a multi-process application is
impossible. A better guess than most is

Parent Process' RSS + sum(Child Processes' USS)

Or, from Telemetry:

Parent MEMORY_RESIDENT + sum(Children's MEMORY_UNIQUE)
2015-11-19 08:18:00 +01:00
Alessio Placitelli
6c90173d20 Bug 1222054 - Route shutdown/saved-session pings through TelemetrySend. r=gfritzsche 2015-11-10 07:34:00 +01:00
Carsten "Tomcat" Book
ea81f2050d merge mozilla-inbound to mozilla-central a=merge 2015-11-19 14:44:11 +01:00
simplyblue
2001f58122 Bug 1221505 - Remove osfile.jsm dependency from TelemetrySession.jsm. r=dexter 2015-11-17 16:55:47 +05:30
Birunthan Mohanathas
e1eeed0e68 Bug 1225861 - Fix collection of LOW_MEMORY_EVENTS_{PHYSICAL,VIRTUAL} histograms. r=njn 2015-11-19 09:13:50 +02:00
rthyberg
219aab6101 Bug 1190801 - Moved loadSessionData and split saveSessionData from TelemetrySession to TelemetryStorage. r=gfritzsche 2015-11-06 03:54:00 +01: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
Tooru Fujisawa
2bf22fe47e Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
Georg Fritzsche
d574601ae1 Bug 1210658 - Protect Telemetry ping assembly from exceptions in data gathering functions. r=dexter 2015-10-19 18:23:57 +02:00
Iaroslav (yarik) Sheptykin
3fefc41350 Bug 1209458 - Replace HISTOGRAM_FILE_VERSION preprocessor usage with AppConstants.jsm definitions. r=ted,gfritzsche 2015-10-01 10:18:10 +02:00
Iaroslav (yarik) Sheptykin
808255ed7c Bug 1206085: Replacing preprocessor directives with AppConstants in Telemetry modules. r=gfritzsche 2015-09-23 11:46:56 +02:00
Dave Townsend
f657500ff0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher
69b522405d Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
eef8701d19 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Aaron Klotz
42fabfe5d0 Bug 1200698: Rename async plugin init pref; r=bsmedberg 2015-09-09 01:01:13 -06:00
André Reinald
0850396f2e Bug 1197292 - Read delays from prefs, backup to defaults if not set. Shorter delays are useful to accelerate test cycles. r=gfritzsche 2015-08-24 16:50:51 +02:00
Aaron Raimist
a57cb8e67a Bug 1193377 - Remove SCHEDULER_COALESCE_THRESHOLD_MS from TelemetrySession.jsm. r=gfritzsche 2015-08-11 20:51:39 -05:00
Georg Fritzsche
2d70dff31a Bug 1191912 - Bonus: Remove left-over clientId getter from TelemetrySession. r=rvitillo 2015-08-11 12:17:30 +02:00
Giovanny Andres Gongora Granada
7aa1d98db4 Bug 1190421 - Remove |hasPingBeenSent| from TelemetrySession.jsm. r=Dexter 2015-08-06 23:33:00 -04:00
Alessio Placitelli
d3cf28c872 Bug 1191312 - Stop retrying daily pings in TelemetrySession scheduler. r=gfritzsche 2015-08-06 02:55:00 +02:00
Georg Fritzsche
8b592a5c90 Bug 1190302 - Add probes for Telemetry session data load & save failures. r=dexter 2015-08-03 17:37:51 +02:00
Georg Fritzsche
b17ea7ab47 Bug 1188416 - Use monotonic clocks for Telemetry subsessionLength. r=dexter 2015-07-29 14:47:01 +02:00
Georg Fritzsche
0929c262d4 Bug 1187339 - Always duplicate-save new main pings as aborted-session pings. r=dexter 2015-07-28 18:05:35 +02:00
Georg Fritzsche
a32f530eb7 Bug 1183632 - Don't generate child Telemetry payloads for the thumbnail service in non-e10s. r=dexter 2015-07-28 18:05:35 +02:00
Alessio Placitelli
8b47c06304 Bug 1186871 - Don't wait for "shutdown" ping saving before creating "saved-session" payloads. r=gfritzsche 2015-07-23 08:40:00 +02:00
Alessio Placitelli
1f7e1b2ac6 Bug 1168835 - Implement pending-pings cleanup and quota. r=Yoric 2015-07-20 10:31:00 +02:00
Alessio Placitelli
f9ca60929e Bug 1169159 - Add basic test coverage for Telemetry child payloads. r=gfritzsche 2015-06-08 00:12:00 +02:00
Alessio Placitelli
87757465b3 Bug 1149537 - Daily subsession splits should not occur before midnight. r=gfritzsche 2015-06-02 01:41:00 +02:00
Georg Fritzsche
6a1cde5594 Bug 1156359 - Part 2: Let TelemetrySend manage the pending ping queue. r=yoric 2015-06-06 01:29:19 +07:00
Georg Fritzsche
5d54ceb252 Bug 1156359 - Part 1: Move send logic from TelemetryController to TelemetrySend. r=yoric
Also move over triggering sending of pending pings on "idle-daily" from TelemetrySession.
2015-06-06 01:29:19 +07:00
Anthony Zhang
f6c740e573 Bug 1167689 - Send addonHistogram field in main ping only if there are actually addon histograms. r=vladan 2015-05-26 12:53:47 -04:00
Qeole
1d4553c8f2 Bug 1161515 - Add previousSessionId to Telemetry payloads. r=gfritzsche 2015-05-20 13:32:00 -04:00
Georg Fritzsche
02eeed87a6 Bug 1166705 - Don't send a saved-session ping when extended Telemetry is off. r=vladan
This also cleans up the pending pings persistance, putting the control of saving them out of TelemetrySession.
2015-05-22 22:42:29 +07:00
Georg Fritzsche
e33cc2d7bc Bug 1140037 - Improve midnight fuzzing readability and comments. r=vladan 2015-05-21 15:12:43 +07:00
Alessio Placitelli
6ed2bf416e Bug 1120380 - Update Telemetry interfaces to mention the correct number of ping retention days. r=gfritzsche 2015-05-19 09:12:00 -04:00
Alessio Placitelli
643b564957 Bug 1161032 - Don't listen to "cycle-collector-begin" in TelemetrySession if extended recording is disabled. r=gfritzsche 2015-05-14 05:35:00 -04:00
Georg Fritzsche
0c1d44df74 Bug 1122480 - Part 1 - Allow collecting the current ping data from TelemetryController. r=rvitillo 2015-05-13 21:57:05 +02:00
Wes Kocher
777762cb87 Backed out 9 changesets (bug 1122480) for xpcshell orange
Backed out changeset 9fff6229aa8e (bug 1122480)
Backed out changeset 6ae5efa42928 (bug 1122480)
Backed out changeset ea2720c41747 (bug 1122480)
Backed out changeset 3eb7a0e58d4e (bug 1122480)
Backed out changeset 79a925a3dd30 (bug 1122480)
Backed out changeset 1dd431a945d0 (bug 1122480)
Backed out changeset 73e107ca87c1 (bug 1122480)
Backed out changeset c9c7cf08c7d7 (bug 1122480)
Backed out changeset eecb2b1271ca (bug 1122480)
2015-05-11 13:06:21 -07:00
Georg Fritzsche
33887127bc Bug 1122480 - Part 1 - Allow collecting the current ping data from TelemetryController. r=rvitillo 2015-05-11 19:40:22 +02:00
Georg Fritzsche
91c6b62c10 Bug 1156253 - Part 1 - Refactor aborted-session ping file details into TelemetryStorage. r=dexter 2015-05-07 14:48:29 +02:00
Georg Fritzsche
4d9fccf91e Bug 1140037 - Fix ping fuzzing calculations. r=dexter 2015-05-06 12:54:12 +02:00
Alessio Placitelli
9441c4141e Bug 1157359 - Fix archiving aborted-session pings. r=gfritzsche 2015-05-05 01:33:37 +02:00
Alessio Placitelli
f70684e60e Bug 1157359 - Fix daily pings being incorrectly archived as "aborted-sessions". r=gfritzsche 2015-05-05 01:33:37 +02:00