Closed
Bug 1654379
Opened 5 years ago
Closed 5 years ago
Allow filtering the IPC log by multiple toplevel protocol names
Categories
(Core :: IPC, enhancement)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla80
| Tracking | Status | |
|---|---|---|
| firefox80 | --- | fixed |
People
(Reporter: jbauman, Assigned: jbauman)
References
Details
Attachments
(1 file)
In the context of analyzing GMP code, it's useful to log a variety of IPC messages for protocols such as PGMPContentChild and PGMPContentParent while excluding much noisier protocols such as PContentChild and PContentParent. To facilitate this, we can extend the implementation in mozilla::ipc::LoggingEnabledFor which currently reads the MOZ_IPC_MESSAGE_LOG environment variable and either logs all protocol messages when it is set to 1 or only the specific protocol name matching its value.
Similar to the behavior of MOZ_LOG, multiple protocol names should be allowed in the value of MOZ_IPC_MESSAGE_LOG delimited by commas (,) or spaces ( ).
| Assignee | ||
Comment 1•5 years ago
|
||
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f8e83f5b68e0
Allow filtering the IPC log by multiple toplevel protocol names. r=nika
Comment 3•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•