On Thu, Dec 23, 2021 at 12:07:56PM +0100, Vladimir Sementsov-Ogievskiy wrote: > 1. Use --add-trace-points 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 <vsement...@virtuozzo.com> > --- > meson.build | 1 + > qapi/meson.build | 9 ++++++++- > trace/meson.build | 11 ++++++++--- > 3 files changed, 17 insertions(+), 4 deletions(-)
This patch has a meson subdir ordering dependency: qapi/ must be processed before trace/. Please document this in meson.build so anyone editing subdirs knows to preserve this order.
signature.asc
Description: PGP signature