bus: track the number of monitors
If no monitors are installed (the expected case), skip driver_monitor() which
is moderately expensive and otherwise would be performed on every message,
even if it ends up being a noop.
Signed-off-by: Tom Gundersen <teg@jklm.no>
Loading
Please register or sign in to comment