mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
qemu-log: Rename CPULogItem, cpu_log_items to QEMULogItem, qemu_log_items
Rename the typedef CPULogItem and the public array cpu_log_items to names that better reflect the fact that the qemu_log functionality isn't restricted to TCG CPU debug logs any more. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
b946bffab5
commit
38dad9e574
3 changed files with 11 additions and 11 deletions
|
@ -721,10 +721,10 @@ static void help_cmd(Monitor *mon, const char *name)
|
|||
} else {
|
||||
help_cmd_dump(mon, mon_cmds, "", name);
|
||||
if (name && !strcmp(name, "log")) {
|
||||
const CPULogItem *item;
|
||||
const QEMULogItem *item;
|
||||
monitor_printf(mon, "Log items (comma separated):\n");
|
||||
monitor_printf(mon, "%-10s %s\n", "none", "remove all logs");
|
||||
for(item = cpu_log_items; item->mask != 0; item++) {
|
||||
for (item = qemu_log_items; item->mask != 0; item++) {
|
||||
monitor_printf(mon, "%-10s %s\n", item->name, item->help);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue