Commit Graph

33 Commits

Author SHA1 Message Date
Alessio Placitelli
7a82767f08 Bug 1453591 - Add a GetIDForProcessName utility function in TelemetryCommon. r=chutten,janerik
This introduces a function for getting the ProcessID value given
the name of a process.

MozReview-Commit-ID: 9cbZAO5hyL5
2018-04-30 16:47:08 +02:00
Cosmin Sabou
9b145c921e Backed out 5 changesets (bug 1453591) for build bustages on TelemetryGeckoViewPersistence.cpp. CLOSED TREE
Backed out changeset 6bd51139f05a (bug 1453591)
Backed out changeset f128be7d5256 (bug 1453591)
Backed out changeset e5cf4d14019f (bug 1453591)
Backed out changeset 47634ee93be3 (bug 1453591)
Backed out changeset 8e56f01b7ae4 (bug 1453591)
2018-05-14 22:56:28 +03:00
Alessio Placitelli
89d3570698 Bug 1453591 - Add a GetIDForProcessName utility function in TelemetryCommon. r=chutten,janerik
This introduces a function for getting the ProcessID value given
the name of a process.

MozReview-Commit-ID: 9cbZAO5hyL5
2018-04-30 16:47:08 +02:00
Jan-Erik Rediger
99595bf2ca Bug 1452552 - Add a method to reset the product during runtime on Android. r=Dexter
This should only be used in xpcshell on Android after toggling the GeckoView mode.
This is a workaround as we have no better way to detecting the current product (Fennec or GeckoView) on Android.

MozReview-Commit-ID: LEHt1Gt3JJ7
2018-04-26 16:41:46 +02:00
Jan-Erik Rediger
0f13fbcf9d Bug 1452552 - Add "products" property to scalars. r=Dexter
The "products" property is optional and defaults to `firefox, fennec`.
Recording of scalars is disabled if the probe doesn't have the products
property for the current running product.

MozReview-Commit-ID: 4HVBrBw1lls
2018-04-23 17:07:47 +02:00
Andrea Marchesini
cdb15164d7 Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
Aaron Klotz
c7d756bd26 Bug 1444361: Don't obtain cert subject info on main thread; r=chutten 2018-03-09 11:27:51 -07:00
Nathan Froyd
8b87608a7f Bug 1443587 - part 5 - more efficient string serialization; r=chutten
The code for serializing an EventKey in SerializeEventsArray does
something peculiar: it creates a temporary array of nsCStrings, copies
the appropriate strings from the event info for the key, and then
converts those into JavaScript strings.  But we shouldn't need to do any
copying into the temporary array.  We can do everything directly on the
strings from the event info themselves.

It seemed best to introduce a ToJSString for this purpose, which comes
in handy in a couple other places as well.
2018-03-07 11:00:44 -05:00
Hardik Tyagi
7892c8d0d0 Bug 1363725 - Changed inconsistent occurrence of 'all_child', 'all_childs' to 'all_children' and 'AllChilds' to 'AllChildren' in code and docs. r=chutten 2018-01-31 18:50:30 +05:30
Chris H-C
8233e0ee38 Revert "Bug 1363725 - Change inconsistent occurrence of 'all_child', 'all_childs' to 'all_children' and 'AllChilds' to 'AllChildren' in code and docs." r=Dexter
This reverts commit c238437964d1bfedd389ae72fd0da0f5f119211a.

It caused upstream processing headaches. We'll need to address those before
relanding.

MozReview-Commit-ID: Ae2d8iMPQuz
2018-01-12 10:37:02 -05:00
Hardik Tyagi
2499d0665f Bug 1363725 - Change inconsistent occurrence of 'all_child', 'all_childs' to 'all_children' and 'AllChilds' to 'AllChildren' in code and docs. r=chutten 2018-01-10 03:16:34 +05:30
Alessio Placitelli
e24412e896 Bug 1393801 - Enable dynamic scalar registration. f=gfritzsche,r=billm,chutten
MozReview-Commit-ID: JlRk7hLV5QD
2017-08-29 13:05:40 +02:00
Bill McCloskey
ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Georg Fritzsche
940a7067c5 Bug 1361661 - Part 3 - Update the Telemetry core. r=dexter
Updates the core Telemetry code to use the new headers and support the extension process.
TelemetryHistogram is not cleanly refactored here; doing this uncovered a few time consuming issues with the various lookup code paths.
2017-05-23 13:48:13 +07:00
Sebastian Hengst
2d99162f7f Backed out changeset 42a4e28e6210 (bug 1361661) 2017-05-22 20:40:17 +02:00
Georg Fritzsche
ab50d638c5 Bug 1361661 - Part 3: Update the Telemetry core. r=dexter
Updates the core Telemetry code to use the new headers and support the extension process.
TelemetryHistogram is not cleanly refactored here; doing this uncovered a few time consuming issues with the various lookup code paths.
2017-05-22 15:41:14 +07:00
Sebastian Hengst
de9a911353 Backed out changeset d1932fb366d4 (bug 1361661) 2017-05-22 16:19:21 +02:00
Georg Fritzsche
0f76edd4d9 Bug 1361661 - Part 3: Update the Telemetry core. r=dexter
Updates the core Telemetry code to use the new headers and support the extension process.
TelemetryHistogram is not cleanly refactored here; doing this uncovered a few time consuming issues with the various lookup code paths.
2017-05-22 15:41:14 +07:00
Nicholas Nethercote
c768a954ae Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto.
TimeStamp::ProcessCreations()'s aIsInconsistent outparam is ignored by the
majority of its caller. This patch makes it optional. Notably, this makes
ProcessCreation() easier to use in a constructor's initializer list.
2017-04-26 14:55:54 +10:00
Georg Fritzsche
d8b6b7d1e8 Bug 1313326 - Part 2 - Restrict event recording to specified processes. r=dexter 2017-03-06 16:12:49 +01:00
Sebastian Hengst
f464fc5724 Backed out changeset 223a0be48369 (bug 1313326) 2017-03-01 19:47:19 +01:00
Georg Fritzsche
ab4191da5a Bug 1313326 - Part 2: Restrict event recording to specified processes. r=dexter 2017-02-15 16:59:42 +01:00
Georg Fritzsche
e1b9aac97e Bug 1334105 - Work around startup crashes in Version(MOZ_APP_VERSION) checks. r=chutten 2017-02-08 18:43:27 +01:00
Georg Fritzsche
ee8fa595c6 Bug 1302663 - Part 2 - Implement Event Telemetry recording. r=froydnj,dexter
This implements the API, storage and serialization for Telemetry event recording.
2016-11-18 15:51:58 +01:00
Carsten "Tomcat" Book
6ee0c0ae44 Backed out changeset 64b95c8f9f12 (bug 1302663) 2016-11-18 14:27:50 +01:00
Georg Fritzsche
07339c0184 Bug 1302663 - Part 2 - Implement Event Telemetry recording. r=froydnj,dexter
This implements the API, storage and serialization for Telemetry event recording.
2016-11-18 13:03:58 +01:00
Sebastian Hengst
280534d947 Backed out changeset ab64c55508aa (bug 1302663) 2016-11-12 21:17:36 +01:00
Georg Fritzsche
41f4db552f Bug 1302663 - Part 2 - Implement Event Telemetry recording. r=froydnj,dexter
This implements the API, storage and serialization for Telemetry event recording.
2016-11-13 01:52:28 +07:00
Alessio Placitelli
b63d53634e Bug 1276195 - Add scalar measurements API & storage in Telemetry C++ core. r=gfritzsche
MozReview-Commit-ID: K27PoMxWRMp
2016-06-25 01:01:00 +02:00