mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
util/log: Introduce qemu_set_log_filename_flags
Provide a function to set both filename and flags at the same time. This is the common case at startup. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220417183019.755276-28-richard.henderson@linaro.org>
This commit is contained in:
parent
6391c772d7
commit
144539d360
2 changed files with 77 additions and 46 deletions
|
@ -82,6 +82,7 @@ extern const QEMULogItem qemu_log_items[];
|
|||
|
||||
bool qemu_set_log(int log_flags, Error **errp);
|
||||
bool qemu_set_log_filename(const char *filename, Error **errp);
|
||||
bool qemu_set_log_filename_flags(const char *name, int flags, Error **errp);
|
||||
void qemu_set_dfilter_ranges(const char *ranges, Error **errp);
|
||||
bool qemu_log_in_addr_range(uint64_t addr);
|
||||
int qemu_str_to_log_mask(const char *str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue