diff options
author | Richard Henderson | 2022-04-17 20:30:19 +0200 |
---|---|---|
committer | Richard Henderson | 2022-04-20 19:51:11 +0200 |
commit | 4e51069d679348d2617512e56e28cdc7bb34c833 (patch) | |
tree | 3e785e72429be78d4d28060e9a3bcdaed66a4b51 /scripts/qapi/gen.py | |
parent | util/log: Limit RCUCloseFILE to file closing (diff) | |
download | qemu-4e51069d679348d2617512e56e28cdc7bb34c833.tar.gz qemu-4e51069d679348d2617512e56e28cdc7bb34c833.tar.xz qemu-4e51069d679348d2617512e56e28cdc7bb34c833.zip |
util/log: Support per-thread log files
Add a new log flag, tid, to turn this feature on.
Require the log filename to be set, and to contain %d.
Do not allow tid to be turned off once it is on, nor let
the filename be change thereafter. This avoids the need
for signalling each thread to re-open on a name change.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-40-richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/gen.py')
0 files changed, 0 insertions, 0 deletions