Closed Bug 1371900 Opened 7 years ago Closed 7 years ago

Move implementation of ProcessedStack out of Telemetry.cpp

Categories

(Toolkit :: Telemetry, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: yarik.sheptykin, Assigned: yarik.sheptykin, Mentored)

References

Details

Attachments

(1 file)

Definition of the ProcessedStack lives in [.h](https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/ProcessedStack.h) file but the [implementation](https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/Telemetry.cpp#2459-2590) is still in the Telemetry.cpp file. Let factor the implementation out in order to decrease the size of Telemetry.cpp
Assignee: nobody → yarik.sheptykin
Not sure if you get notified about review requests, so adding a needinfo here. I submitted a first draft for factoring ProcessedStack out. The work was very straightforward. Do you need line-wise diffs for this patch?
Flags: needinfo?(gfritzsche)
Comment on attachment 8876419 [details]
Bug 1371900: Factored ProcessedStack out of Telemetry.cpp.

https://reviewboard.mozilla.org/r/147776/#review153388

Thanks, this looks good.

Only one small indentation fix is needed, then we can land this.
You don't need to re-request review after that fix.

::: toolkit/components/telemetry/ProcessedStack.cpp:14
(Diff revision 1)
> +#include "shared-libraries.h"
> +#endif // MOZ_GECKO_PROFILER
> +
> +namespace {
> +
> +  struct StackFrame

We don't use extra indentation inside namespaces.
Attachment #8876419 - Flags: review?(gfritzsche) → review+
Flags: needinfo?(gfritzsche)
Priority: -- → P2
Priority: P2 → P3
:gfritzsche, I addressed the feedback for the last patch re-based it onto the latest central and tried building without profiler. Everything looks ok. I scheduled a trybuild with tests. If that goes well we can try landing this patch.
Flags: needinfo?(gfritzsche)
Blocks: 1373900
Pushed by georg.fritzsche@googlemail.com:
https://hg.mozilla.org/integration/autoland/rev/d8280a4445c3
Factored ProcessedStack out of Telemetry.cpp. r=gfritzsche
https://hg.mozilla.org/mozilla-central/rev/d8280a4445c3
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Flags: needinfo?(gfritzsche)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: