mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
trace: remove argument from trace_init_file
It is not needed, all the callers are just saving what was retrieved from -trace and trace_init_file can retrieve it on its own. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20201102115841.4017692-1-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
c6f28ed507
commit
92eecfff32
10 changed files with 24 additions and 49 deletions
|
@ -180,12 +180,9 @@ static void process_options(int argc, char *argv[])
|
|||
help();
|
||||
exit(EXIT_SUCCESS);
|
||||
case 'T':
|
||||
{
|
||||
char *trace_file = trace_opt_parse(optarg);
|
||||
trace_init_file(trace_file);
|
||||
g_free(trace_file);
|
||||
break;
|
||||
}
|
||||
trace_opt_parse(optarg);
|
||||
trace_init_file();
|
||||
break;
|
||||
case 'V':
|
||||
printf("qemu-storage-daemon version "
|
||||
QEMU_FULL_VERSION "\n" QEMU_COPYRIGHT "\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue