Closed Bug 1969490 Opened 1 year ago Closed 11 months ago

Symbolicate profiles from simpleperf task

Categories

(Testing :: Performance, task, P2)

task

Tracking

(firefox145 fixed)

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: kshampur, Assigned: animalan)

References

Details

(Whiteboard: [fxp])

Attachments

(2 files, 1 obsolete file)

following 1969049 Using Samply and the crash symbols artifacts, symbolicate the results to be viewable with a firefox profiler

Hi Markus, could you please add the steps necessary to symbolicate a samply profile? Thanks!

Flags: needinfo?(mstange.moz)

There are two options:

  1. Implement a --presymbolicate option in samply and then do samply import --presymbolicate --save-only -o symbolicated-profile.json.gz --breakpad-symbol-dir /path/to/unzipped/crashreporter-symbols --breakpad-symbol-server https://symbols.mozilla.org/ perf-2.data
  2. Or utilize the symbolicator-cli node script
    • samply import --no-open -o converted-but-unsymbolicated-profile.json --breakpad-symbol-dir /path/to/unzipped/crashreporter-symbols --breakpad-symbol-server https://symbols.mozilla.org/ perf-2.data
    • grab the URL that's printed by it
    • node dist/symbolicator-cli.js --input converted-but-unsymbolicated-profile.json --output symbolicated-profile.json --server <URL from samply import>
    • terminate the samply import process

The second option is a bit trickier because you also have to obtain the symbolicator-cli.js script and have a node environment, but at least it's not blocked on samply changes.

The first option is what we want in the long term anyway. I am planning to implement --presymbolicate but I can't commit to a timeline. I could also mentor that part.

Flags: needinfo?(mstange.moz)
Attachment #9495335 - Attachment description: WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
See Also: → 1962227
Attachment #9495335 - Attachment description: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9509618 - Attachment is obsolete: true
Attachment #9509618 - Attachment is obsolete: false
Attachment #9509618 - Attachment description: WIP: Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur → Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9509618 - Attachment description: Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur → WIP: Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur
Attachment #9509618 - Attachment is obsolete: true
Attachment #9495335 - Attachment description: WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9509621 - Attachment description: WIP: Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur → Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9509621 - Attachment description: Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur → WIP: Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur
Attachment #9495335 - Attachment description: WIP: Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur → Bug 1969490 - Symbolicate profiles in simpleperf tasks. r=#perftest-reviewers,kshampur
Attachment #9509621 - Attachment description: WIP: Bug 1969490 - Add mozperftest tests for simpleperf symbolication. r=#perftest-reviewers,kshampur → Bug 1969490 - Add mozperftest unit tests for simpleperf symbolication. r=#perftest-reviewers,kshampur
Pushed by animalan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/84e47335efd1 https://hg.mozilla.org/integration/autoland/rev/0eb2bb0f5f36 Symbolicate profiles in simpleperf tasks. r=kshampur,perftest-reviewers,mozperftest-reviewers https://github.com/mozilla-firefox/firefox/commit/b1e019ff2c6d https://hg.mozilla.org/integration/autoland/rev/aeea9a31b2c9 Add mozperftest unit tests for simpleperf symbolication. r=kshampur,perftest-reviewers,mozperftest-reviewers
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
See Also: → 1833704
Priority: P3 → P2
Severity: S3 → S2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: