Make UnwinderThread2 a bit less verbose

RESOLVED FIXED in mozilla23

Status

()

Core
Gecko Profiler
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jseward, Assigned: jseward)

Tracking

Trunk
mozilla23
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
When the unwinder thread falls idle for an extended period of time
due to the sampling thread(s) stopping, it prints this

  BPUnw: unwinder: sleep for 1000 ms

once per second to the profiler-debugging log output, which is annoying.
This patch changes the behaviour so it only prints that line once, and
then falls quiet.  Logging state returns to normal once more work to do
arrives.
(Assignee)

Comment 1

5 years ago
Created attachment 737424 [details] [diff] [review]
Patch
Attachment #737424 - Flags: review?(bgirard)

Updated

5 years ago
Attachment #737424 - Flags: review?(bgirard) → review+
https://hg.mozilla.org/mozilla-central/rev/f6507b43a880
Assignee: nobody → jseward
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.