Closed Bug 758697 Opened 12 years ago Closed 8 years ago

[Meta] Improve B2G support to the built-in profiler

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: BenWa, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 obsolete file)

We now support Desktop+Fennec. It should be simple now to add support for B2G. Work needed: 1) How to control it. (signals, ADB, debug server) 2) How to get the symbols (from the phone if we continue to not strip them) 3) Updating the profiling extension to handle the above: https://github.com/bgirard/Gecko-Profiler-Addon Here's some info on the profiler if you haven't seen it already: https://developer.mozilla.org/en/Performance/Profiling_with_the_Built-in_Profiler
I wanted to ask you today if you'd be interested in picking this up. I'll bug you tomorrow and give you more details. There isn't much work needed and can probably walk you through most of it.
Assignee: nobody → cbrocious
Profiling Add-on update to support B2G: https://github.com/bgirard/Gecko-Profiler-Addon/compare/e2d285ec29...6ab7f01778 Currently the phone must have an sdcard, patch coming up to save to /data/data if there's no sdcard.
Assignee: cbrocious → bgirard
Status: NEW → ASSIGNED
Note, there's no difference between b2g and android there --- b2g phones will almost always have /sdcard, just like android, but on phones with removeable SD cards, /sdcard may temporarily be absent. So we should do the same thing on both platforms.
Ideally we would fall back to others (/data/data, /sdcard) but I rather just do it the right way and switch to using debug TCP sockets since it will let us start/stop/inspect.
Attachment #633860 - Flags: review?(cbrocious)
The B2G profiler can work on b2g now but still doesn't support multi-process properly. Morphing this into a tracking bug on work to better support B2G (and multi-thread/multi-process gecko)
Summary: Add B2G support to the built-in profiler → [Meta] Improve B2G support to the built-in profiler
Comment on attachment 633860 [details] [diff] [review] Write to /data/local (Must be landed with addon change) This patch is made obsolete by refactoring of the saving code done by glandium.
Attachment #633860 - Attachment is obsolete: true
Attachment #633860 - Flags: review?(cbrocious)
Turning this into a proper tracker bug.
Depends on: 794206, 792855, 789667
Depends on: 795907
Depends on: 795910
Depends on: 797621
Depends on: 797627
No longer depends on: 795907
Depends on: 779291
Depends on: 797639
Depends on: 840313
Assignee: bgirard → nobody
Depends on: 853363
Depends on: 836590
Depends on: 861863
Depends on: 848071
Depends on: 867721
Depends on: 867728
Depends on: 867738
Depends on: 873914
Depends on: 873915
Blocks: 827846
Keywords: perf
Whiteboard: c=profiling
Keywords: perf
Whiteboard: c=profiling
Depends on: 914654
Depends on: 1005204
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: