qemu/trace
Vladimir Sementsov-Ogievskiy b83a80e831 meson: generate trace events for qmp commands
1. Use --gen-trace when generate qmp commands
2. Add corresponding .trace-events files as outputs in qapi_files
   custom target
3. Define global qapi_trace_events list of .trace-events file targets,
   to fill in trace/qapi.build and to use in trace/meson.build
4. In trace/meson.build use the new array as an additional source of
   .trace_events files to be processed

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220126161130.3240892-5-vsementsov@virtuozzo.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2022-01-27 11:26:40 +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 trace: iter init tweaks 2021-07-12 17:37:07 +01: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 trace/simple: add st_init_group 2021-07-12 17:37:07 +01:00
control.h trace: add trace_event_iter_init_group 2021-07-12 17:37:07 +01: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
meson.build meson: generate trace events for qmp commands 2022-01-27 11:26:40 +01:00
qmp.c trace: iter init tweaks 2021-07-12 17:37:07 +01:00
simple.c trace: simple: pass trace_file unmodified to config-host.h 2021-10-14 09:50:56 +02:00
simple.h trace/simple: add st_init_group 2021-07-12 17:37:07 +01:00