Problem only partly solved so far.
Building separate object files for modules works.
Actually linking those to the module not yet.
See last patch of the series for my not working approach.
More context:
https://bugzilla.redhat.com/show_bug.cgi?id=1898700
https://bugzilla.redhat.com/show_bug.cgi?id=1869642
take care,
Gerd
Gerd Hoffmann (4):
meson: add trace_events_config[]
meson: move up hw subdir (specifically before trace subdir)
meson: move qxl trace events to separate file
[broken] meson: try link tracepoints to module
hw/display/qxl-render.c | 1 +
hw/display/qxl.c | 1 +
hw/display/meson.build | 5 +++
hw/display/trace-events | 67 -------------------------------------
hw/display/trace-events-qxl | 66 ++++++++++++++++++++++++++++++++++++
meson.build | 4 ++-
trace/meson.build | 30 ++++++++++++-----
7 files changed, 97 insertions(+), 77 deletions(-)
create mode 100644 hw/display/trace-events-qxl
--
2.27.0