commit | 89e7f57831f6d981b16526e366a0bc6f5803dd3c | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Mar 27 12:43:43 2014 +0000 |
committer | Peter Maydell <peter.maydell@linaro.org> | Thu Mar 27 12:43:43 2014 +0000 |
tree | 5cf63cc912d6ba09ccd61dda8cda1f870abad0b0 | |
parent | 169e4878ee96b7d6dec929e0cd400a0395865a85 [diff] |
qemu-log: Avoid function call for disabled qemu_log_mask logging Make qemu_log_mask() a macro which only calls the function to do the actual work if the logging is enabled. This avoids making a function call in possible fast paths where logging is disabled. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>