Commit Graph

29 Commits

Author SHA1 Message Date
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
Alejandro Rodriguez
e4e7fae200 Bug 1422849 - Drop support for full display versions in Histograms.json, Scalar.yaml and Events.yaml. r=chutten 2018-01-24 19:36:12 -05:00
Margareta Eliza Balazs
9a5ad6de55 Backed out changeset 2b3180f034b0 (bug 1422849) for f8 lint failure in /builds/worker/checkouts/gecko/toolkit/components/telemetry/parse_histograms.py:319:14 on a CLOSED TREE 2018-01-24 17:26:14 +02:00
Alejandro Rodriguez
f708c645d1 Bug 1422849 - Drop support for full display versions in Histograms.json, Scalar.yaml and Events.yaml r=chutten 2018-01-23 19:09:32 -05:00
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
Aditya Bharti
cb63319c77 Bug 1401612 - Telemetry histogram validator now prints multiple error messages at a time. r=chutten
The histogram validator and other probe parsers printed a single error at a time and halted the build.
Extended the ParserError() class to support printing multiple errors at a time.
Changed the parse_histograms.py histograms validator and partitioned all ParserErrors into 'immediately fatal'
and 'eventually fatal'. Eventual errors are now accumulated and printed at one go upon exit.

Future work might involve changing the other probe parsers (scalars and events) to make use of the extended functionality.
2017-12-15 13:14:28 +05:30
Cosmin Sabou
341979228f Backed out changeset 49f68b1f4c2e (bug 1374631) for build bustages at toolkit/components/telemetry/TelemetryProcessData.h:31:1 r=backout on a CLOSED TREE 2017-12-13 19:10:10 +02:00
Samathy Barratt
21ef415250 Bug 1374631 - Switch generated data to "constexpr" instead of "const" where possible r=chutten
Update the telemetry Python scripts which output C++ code to use
'constexpr' instead of 'const'. Except on Windows, where
we still use 'const'.

MozReview-Commit-ID: 3i6g4h5ZxE8
2017-12-08 18:58:35 +00:00
Sebastian Hengst
c9798f1af8 Backed out changeset 986214ae3837 (bug 1374631) on suspicion of causing xpcshell bustage in Windows builds. r=backout on a CLOSED TREE 2017-10-19 16:01:22 +02:00
Vedant Chakravadhanula
9fb023fc4b Bug 1374631 - Changed const to constexpr in generated data. r=chutten
MozReview-Commit-ID: Byvcvj9fWQF
2017-09-28 22:24:06 +05:30
Alessio Placitelli
a7af27a02a Bug 1381617 - Enable stricter scalar, histogram and events expiration validation. r=chutten
MozReview-Commit-ID: 9q93hOYsNUo
2017-07-18 09:59:00 +02:00
Georg Fritzsche
0569c9f83e Bug 1361661 - Part 1 - Generate headers with process data from Processes.yaml. r=dexter
Adding the Gecko enums to Processes.yaml allows us to generate mappings from ProcessID to GeckoProcessType.
We generate string tables with the Telemetry process names, so we can use these names consistently throughout Telemetry.
2017-05-23 13:43:35 +07:00
Sebastian Hengst
6a49b3810a Backed out changeset af4327fd49cd (bug 1361661) for bustage in TelemetryProcessData.h. r=backout 2017-05-22 20:41:12 +02:00
Georg Fritzsche
d49123af6e Bug 1361661 - Part 1: Generate headers with process data from Processes.yaml. r=dexter
Adding the Gecko enums to Processes.yaml allows us to generate mappings from ProcessID to GeckoProcessType.
We generate string tables with the Telemetry process names, so we can use these names consistently throughout Telemetry.
2017-05-22 15:33:29 +07:00
Sebastian Hengst
667dbf9aca Backed out changeset 78e8b1f01c25 (bug 1361661) for flake8 linting failures in gen-process-{data,enum}.py and build bustage in TelemetryProcessData.h on OS X, at least. r=backout on a CLOSED TREE 2017-05-22 16:20:56 +02:00
Georg Fritzsche
357ad6b727 Bug 1361661 - Part 1: Generate headers with process data from Processes.yaml. r=dexter
Adding the Gecko enums to Processes.yaml allows us to generate mappings from ProcessID to GeckoProcessType.
We generate string tables with the Telemetry process names, so we can use these names consistently throughout Telemetry.
2017-05-22 15:33:29 +07:00
Avikalpa Kundu
c2cf02e97d Bug 1344834 - Enable flake8 rule E501: 'line too long (113 > 99 characters)'. r=Dexter 2017-05-03 06:38:00 +02:00
Georg Fritzsche
15fb79d095 Bug 1357001 - Part 1 - Unify validation errors in probe parsing scripts. r=chutten, f=gps 2017-04-18 18:21:36 +02:00
Paavini Nanda
8b72dcd8ba Bug 1344852: Enable flake8 rule W602: "deprecated form of raising exception". r=dexter 2017-03-15 17:18:52 +05:30
Paavini Nanda
9f5fb0a113 Bug 1344840 - Enable flake8 rule E231: "missing whitespace after ','". r=dexter 2017-03-14 00:37:32 +05:30
djmdev
d657ec5e92 Bug 1344831 - Enable flake8 rule E703: "statement ends with a semicolon". r=dexter
Removed ending semicolons.
2017-03-09 22:37:32 +05:30
djmdev
2410c58bae Bug 1344718 - Enable flake8 rule E302: "expected 2 blank lines, found 1" for Telemetry code. r=Dexter 2017-03-08 22:41:00 +05:30
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
75a2db27c3 Bug 1188888 - Part 4 - Implement categorical histograms with JS API. r=chutten 2016-07-20 17:10:24 +02:00
Georg Fritzsche
dad7a8b043 Bug 1188888 - Part 2 - Generate readable Telemetry string tables. r=froydnj 2016-07-20 17:10:24 +02:00
Alessio Placitelli
4c826dcd18 Bug 1276190 - Add a script to generate headers with scalar data from Scalars.yaml. r=gfritzsche 2016-06-24 09:14:00 +02:00