Closed Bug 1758795 Opened 3 years ago Closed 3 years ago

Histogram mirroring from child into parent was broken

Categories

(Toolkit :: Telemetry, defect)

defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 --- fixed
firefox100 --- fixed

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

As far as I can tell, glean mirroring to telemetry from child processes to the parent was broken by bug 1751448. Since before that we called the GIFFT code even in the child (unconditionally from the C++ code), and after that we called it only from a Parent TimingDistributionMetric.

Set release status flags based on info from the regressing bug 1751448

Has Regression Range: --- → yes
Attachment #9267099 - Attachment description: Bug 1758795: Also call GIFFT code when calling members on TimingDistributionMetric::Child. r=chutten → Bug 1758795: Also call GIFFT code when calling members on TimingDistributionMetric::Child. r=chutten!

Oh yeah, should probably confirm here that yes: indeed this was broken in Fx99 by bug 1751448 so we should seek uplift once we get this slathered in tests and landed.

For the record, I had the misapprehension that the IPC replay would have all the samples come through (though all attributed to the parent process). And GIFFT over IPC was not covered by tests (because why would it be? It had no IPC-sensitive code in it (until bug 1751448)). So this escaped on me.

:bas.schouten is this something we need a beta uplift for 99, or let it ride the trains when it lands in central?
This is the final week for beta releases for 99

Flags: needinfo?(bas)

If we don't, we assert if the first GIFFT-enabled timing distribution's
instrumentation thread on a given process is not the main thread.

Depends on D140772

Pushed by bschouten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca181fe0c88d Also call GIFFT code when calling members on TimingDistributionMetric::Child. r=chutten https://hg.mozilla.org/integration/autoland/rev/1f93f26f3878 Test all IPC-available Glean metric types over GIFFT r=TravisLong https://hg.mozilla.org/integration/autoland/rev/344d1bbe7ed5 Run cleanup registration on main thread r=TravisLong

(In reply to Donal Meehan [:dmeehan] from comment #5)

:bas.schouten is this something we need a beta uplift for 99, or let it ride the trains when it lands in central?
This is the final week for beta releases for 99

Yes, I will request approval once it's seen a day of nightly testing.

Flags: needinfo?(bas)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch

Comment on attachment 9268702 [details]
Bug 1758795 - Run cleanup registration on main thread r?TravisLong!

Beta/Release Uplift Approval Request

  • User impact if declined: None. This hurts our telemetry collection.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This only impacts telemetry code.
  • String changes made/needed: None
Attachment #9268702 - Flags: approval-mozilla-beta?
Attachment #9267099 - Flags: approval-mozilla-beta?
Attachment #9267270 - Flags: approval-mozilla-beta?

Comment on attachment 9267099 [details]
Bug 1758795: Also call GIFFT code when calling members on TimingDistributionMetric::Child. r=chutten!

Approved for 99.0b8. Thanks.

Attachment #9267099 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9267270 [details]
Bug 1758795 - Test all IPC-available Glean metric types over GIFFT r?TravisLong!

Approved for 99.0b8. Thanks.

Attachment #9267270 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9268702 [details]
Bug 1758795 - Run cleanup registration on main thread r?TravisLong!

Approved for 99.0b8. Thanks.

Attachment #9268702 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Regressions: 1761268
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: