Closed Bug 982268 Opened 11 years ago Closed 7 years ago

improve b2g-info threads display

Categories

(Firefox OS Graveyard :: GonkIntegration, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bkelly, Unassigned)

References

Details

(Whiteboard: [c= p=2 s= u=])

Attachments

(1 file)

While working on bug 980027 I patched b2g-info to provide some additional information about the process threads. In particular: * system priority * RT priority * scheduling policy I'm attaching my work-in-progress patch here. It needs to have some additional headers added for the threads as its a bit confusing what each column means. Also, the expanded regex seems quite slow.
See Also: → 980027
A pevious version of process.cpp used fscanf It might be interesting to try that from a performance standpoint. However, I think you need to make it read in the line, scan from the beginning to look for (, scan from the end to find ), and then use sscanf on the portion to the right of )
Priority: -- → P3
ENOTIME to work on this unfortunately. Unassigning for now.
Assignee: bkelly → nobody
Status: ASSIGNED → NEW
Mason, you may want to look at these patches as they are useful for inspecting the RT priority of threads. Could be helpful with project silk.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 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: