Closed Bug 1626319 Opened 4 years ago Closed 4 years ago

Log AudioCallbackTracing per thread id

Categories

(Core :: Audio/Video: MediaStreamGraph, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: achronop, Assigned: achronop)

Details

Attachments

(1 file)

TRACE_AUDIO_CALLBACK() and TRACE_AUDIO_CALLBACK_COMMENT(aFmt, ...) log to a hardcoded thread id number. This creates confusion when more than one MTG is running because logs from different threads are depicted to the same thread line and overlapping each other.

I am updating the logging commands to log per thread-id. This is highly needed for debugging setSinkId.

Assignee: nobody → achronop

TRACE_AUDIO_CALLBACK() and TRACE_AUDIO_CALLBACK_COMMENT(aFmt, ...) log to a hardcoded thread id number. This creates confusion when more than one MTG is running because logs from different threads are depicted to the same thread line and overlapping each other. The logging commands have been updated to log per thread-id instead of the hardcoded value.

Pushed by achronopoulos@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/425af1615860
Change async callback logger to log per thread-id. r=padenot
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: