qemu/trace
Markus Armbruster db25d56c01 trace/simple: Fix unauthorized enable
st_set_trace_file() accidentally enables tracing.  It's called
unconditionally during startup, which is why QEMU built with the
simple trace backend always writes a trace file "trace-$PID".

This has been broken for quite a while.  I didn't track down the exact
commit.

Fix st_set_trace_file() to restore the state.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200527065613.25322-1-armbru@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-06-24 11:21:00 +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
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 tracing: only allow -trace to override -D if set 2020-02-25 20:20:23 +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
ftrace.c
ftrace.h
Makefile.objs
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/simple: Fix unauthorized enable 2020-06-24 11:21:00 +01:00
simple.h trace/simple: Fix unauthorized enable 2020-06-24 11:21:00 +01:00