Implement ProcInfo on android
Categories
(Core :: Widget, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: tarek, Assigned: tarek)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Also, see how that compares to adb system memory dump
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Source code of the dumped memory info
They are reading the /proc/[pid]/smaps file to get the info.
That file is part of the POSIX standard so I guess I can port the linux version and extend it with [smaps] info
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
I don't have the bandwidth right now, feel free to pick it (it should be failry easy to implement, but requires testing on several androids)
(In reply to Tarek Ziadé (:tarek) from comment #3)
Source code of the dumped memory info
They are reading the /proc/[pid]/smaps file to get the info.
That file is part of the POSIX standard so I guess I can port the linux version and extend it with [smaps] info
I have in-flight code that will use /proc/[pid]/smaps
on Linux, too.
Updated•4 years ago
|
Just tested: the latest landed version of Linux GetProcInfo
seems to work on (at least one version of) Android.
Trying to find out whether our CI tests do run browser_test_procinfo.js
and browser_aboutprocesses.js
.
With this change, we expose ProcInfo to Android.
Note that we need to leave several empty ProcInfo.{cpp, mm} files lying around as removing them triggers unified build errors.
I'll try and find out how I can remove ProcInfo.cpp without triggering the unified build errors as a second patch.
Updated•4 years ago
|
Looks like I won't be able to push to try today because of bug 1674346.
Given that today is my last day at Mozilla, Tarek, can I reassign this bug to you?
Assignee | ||
Comment 13•4 years ago
|
||
Updated, if you want to check it out Aaron
Comment 15•4 years ago
|
||
Can we land this? I landed e10s-multi on Android on Monday and we'd really like to have about:processes
available...
Comment 16•4 years ago
|
||
Pushed by tziade@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8da02cb71d6 Move ProcInfo to processtoolsservice;r=aklotz,mstange
Comment 17•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•