Closed
Bug 1498164
Opened 6 years ago
Closed 6 years ago
Add parser support for multiple stores
Categories
(Toolkit :: Telemetry, enhancement, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: janerik, Assigned: janerik)
References
Details
Attachments
(5 files)
All probes gain a new attribute `record_in_store`, defaulting to ['main']. The parsers need to support that. Code generation needs to generate the list of stores per probe.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → jrediger
Points: --- → 1
Priority: -- → P1
Assignee | ||
Updated•6 years ago
|
Points: 1 → 2
Assignee | ||
Comment 1•6 years ago
|
||
Previously the test succeeded, but not for the right reasons.
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D10918
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D10919
Assignee | ||
Comment 4•6 years ago
|
||
This generates new things: * store_count and store_offset in the ScalarInfo struct. store_count indicates the number of stores the scalar is registered in. store_offset is an offset into the gScalarStoresTable array. If store_count == 1 && store_offset == UINT16_MAX, then the scalar is only in the main store. * gScalarStoresMap: An array containing the offsets into gScalarsStringTable to get a store's name Depends on D10920
Assignee | ||
Comment 5•6 years ago
|
||
This generates several new things: * store_count and store_offset in the HistogramInfo struct. store_count indicates the number of stores the histogram is registered in. store_offset is an offset into the gHistogramStoresTable array. If store_count == 1 && store_offset == UINT16_MAX, then the histogram is only in the main store. * gHistogramStoresTable: An array containing the actual offsets into gHistogramStringTable to get a store's name Depends on D10921
Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29641f93f289 Fix scalar definition in parser test r=chutten https://hg.mozilla.org/integration/autoland/rev/d94fdea046be Use correct attribute to set release collection on dynamic scalar r=chutten https://hg.mozilla.org/integration/autoland/rev/feba93f1cc21 Add support to parse `record_into_store` for scalars and histograms r=chutten https://hg.mozilla.org/integration/autoland/rev/b7563042430d Generate stores for scalars r=chutten https://hg.mozilla.org/integration/autoland/rev/4407a6d3e374 Generate stores for histograms r=chutten
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/29641f93f289 https://hg.mozilla.org/mozilla-central/rev/d94fdea046be https://hg.mozilla.org/mozilla-central/rev/feba93f1cc21 https://hg.mozilla.org/mozilla-central/rev/b7563042430d https://hg.mozilla.org/mozilla-central/rev/4407a6d3e374
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•