Remove `operating_systems` support from Histograms, Scalars
Categories
(Toolkit :: Telemetry, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
Details
Attachments
(2 files)
A necessary task in migrating Scalar and Histogram APIs to Glean APIs is figuring out what to do with the operating_systems
property. On platforms not matching the values supplied to that property, the probe constants don't exist, and so any Glean metric (which exists in all platforms) that mirrors to it will fail the compile on those platforms.
Rather than continuing to do this piecemeal as we did with Events, let's sunset operating_systems
here as its own separate task.
Comment 1•28 days ago
|
||
There are already multiple patches in bug 1923028 that remove some operating_systems
fields.
Assignee | ||
Comment 2•21 days ago
|
||
All of the histograms were in code that only ran on the specified platform(s),
so the only thing that 'operating_systems' was doing was saving a few bytes
(the HistogramInfo, its part of gHistogramBucketLowerBoundIndex, its entry in
the PHF) and a few ms during build (less code in the headers,
fewer static asserts).
(( It didn't even save the bytes of storing the name in the string table. ))
Assignee | ||
Comment 3•20 days ago
|
||
Comment 5•17 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/581d74ca4495
https://hg.mozilla.org/mozilla-central/rev/019c11c5aa37
Description
•