qemu/trace
Salvador Fandino e144a605a6 qemu_set_log_filename: filename argument may be NULL
NULL is a valid log filename used to indicate we want to use stderr
but qemu_set_log_filename (which is called by bsd-user/main.c) was not
handling it correctly.

That also made redundant a couple of NULL checks in calling code which
have been removed.

Signed-off-by: Salvador Fandino <salvador@qindel.com>
Message-Id: <20200123193626.19956-1-salvador@qindel.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-01-30 21:33:50 +00:00
..
Makefile.objs build: get rid of target-obj-y 2019-03-11 16:33:49 +01:00
control-internal.h trace: Do not include qom/cpu.h into generated trace.h 2019-08-16 13:31:52 +02:00
control-target.c move public invalidate APIs out of translate-all.{c,h}, clean up 2018-06-28 19:05:30 +02:00
control-vcpu.h hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
control.c qemu_set_log_filename: filename argument may be NULL 2020-01-30 21:33:50 +00:00
control.h trace: Do not include qom/cpu.h into generated trace.h 2019-08-16 13:31:52 +02:00
event-internal.h trace: remove the TraceEventID and TraceEventVCPUID enums 2016-10-12 09:35:54 +02:00
ftrace.c trace: handle tracefs path truncation 2019-03-22 15:55:50 +00:00
ftrace.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
mem-internal.h trace: Remove trace_mem_build_info_no_se_[bl]e 2020-01-15 15:13:09 -10:00
mem.h trace: add mmu_index to mem_info 2019-10-28 15:12:38 +00:00
qmp.c trace: Do not include qom/cpu.h into generated trace.h 2019-08-16 13:31:52 +02:00
simple.c trace: Simplify how st_print_trace_file_status() prints 2019-04-18 22:18:59 +02:00
simple.h trace: Simplify how st_print_trace_file_status() prints 2019-04-18 22:18:59 +02:00