Closed Bug 916684 Opened 12 years ago Closed 12 years ago

profile.sh does not work if busybox exists on device

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: swu, Assigned: swu)

Details

Attachments

(1 file)

Some scripts in profile.sh assumes output format was generated by toolbox, which caused failure if busybox exists in the system. $ ./profile.sh ps PID Name ----- ---------------- 0 cat: can't open '/proc/0/comm': No such file or directory profiler not running 0 cat: can't open '/proc/0/comm': No such file or directory profiler not running 0 cat: can't open '/proc/0/comm': No such file or directory profiler not running 0 cat: can't open '/proc/0/comm': No such file or directory profiler not running 0 cat: can't open '/proc/0/comm': No such file or directory profiler not running
Assignee: nobody → swu
Status: NEW → ASSIGNED
Attachment #805178 - Flags: review?(dhylands)
Comment on attachment 805178 [details] [diff] [review] Patch: Explicitly use toolbox commands Review of attachment 805178 [details] [diff] [review]: ----------------------------------------------------------------- Looks good.
Attachment #805178 - Flags: review?(dhylands) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: