xemu/scripts
Marc-André Lureau e32aaa5a19 trace: fix compilation with lttng-ust >= 2.13
On Fedora 36, with lttng-ust 2.13.1, compilation fails with:

In file included from trace/trace-ust-all.h:49085,
                 from trace/trace-ust-all.c:13:
/usr/include/lttng/tracepoint-event.h:67:10: error: #include expects "FILENAME" or <FILENAME>
   67 | #include LTTNG_UST_TRACEPOINT_INCLUDE
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In lttng-ust commit 41858e2b6e8 ("Fix: don't do macro expansion in
tracepoint file name") from 2012, starting from lttng-ust 2.1, the API
was changed to expect TRACEPOINT_INCLUDE to be defined as a string.

In lttng-ust commit d2966b4b0b2 ("Remove TRACEPOINT_INCLUDE_FILE
macro"), in 2021, the compatibility macro was removed.

Use the "new" API from 2012, and bump the version requirement to 2.1 to
fix compilation with >= 2.13.

According to repology, all distributions we support have >= 2.1 (centos
8 has oldest with 2.8.1 afaict)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220328084717.367993-2-marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2022-04-01 13:06:07 +02:00
..
ci scripts/ci: allow for a secondary runner 2022-02-28 16:42:12 +00:00
coccinelle scripts/coccinelle: New use-g_new-etc.cocci 2022-03-21 15:44:44 +01:00
codeconverter
coverity-scan drop libxml2 checks since libxml is not actually used (for parallels) 2022-02-09 12:08:42 +00:00
kvm vmxcap: Add 5-level EPT bit 2022-03-15 11:26:20 +01:00
modules
oss-fuzz
performance
qapi scripts/qapi: minor delinting 2022-02-28 11:39:35 +01:00
qemu-guest-agent
qemugdb
qmp scripts/qmp-shell-wrap: Fix import path 2022-03-07 14:36:47 -05:00
simplebench simplebench: Fix Python syntax error (reported by LGTM) 2022-01-10 18:23:10 -05:00
tracetool trace: fix compilation with lttng-ust >= 2.13 2022-04-01 13:06:07 +02:00
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py
analyze-inclusions
analyze-migration.py analyze-migration.py: fix extract contents ('-x') errors 2021-10-23 20:28:56 +02:00
archive-source.sh
block-coroutine-wrapper.py block-coroutine-wrapper.py: support BlockBackend first argument 2021-10-15 15:51:33 -05:00
check_sparse.py
checkpatch.pl compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED 2022-03-22 14:40:51 +04:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED 2022-03-22 14:40:51 +04:00
cpu-x86-uarch-abi.py scripts/cpu-x86-uarch-abi: switch to AQMP 2022-01-21 16:01:31 -05:00
decodetree.py
device-crash-test scripts/device-crash-test: Use a QMP timeout 2021-11-22 18:41:21 -05:00
disas-objdump.pl
dump-guest-memory.py
entitlement.sh scripts/entitlement.sh: Use backward-compatible cp flags 2021-11-30 22:25:58 +01:00
extract-vsssdk-headers
feature_to_c.sh
fix-multiline-comments.sh
gensyscalls.sh
get_maintainer.pl
git-submodule.sh
git.orderfile
hxtool
hxtool-conv.pl
kernel-doc
make-config-poison.sh configure, meson: move config-poison.h to meson 2022-01-12 14:09:06 +01:00
make-release roms/edk2: Only initialize required submodules 2021-10-20 16:26:19 -07:00
meson-buildoptions.py configure, meson: move CONFIG_IASL to a Meson option 2022-02-21 10:35:54 +01:00
meson-buildoptions.sh update meson-buildoptions.sh 2022-03-15 11:26:20 +01:00
meson.build trace: move configuration from configure to Meson 2021-10-14 09:50:56 +02:00
minikconf.py
modinfo-collect.py scripts/modinfo-collect: remove unused/dead code 2022-03-22 14:46:17 +04:00
modinfo-generate.py
mtest2make.py tests: Do not treat the iotests as separate meson test target anymore 2022-03-22 09:40:54 +01:00
nsis.py nsis installer: Fix mouse-over descriptions for emulators 2022-03-18 10:55:15 +00:00
qapi-gen.py
qemu-binfmt-conf.sh qemu-binfmt-conf.sh: mips: allow nonzero EI_ABIVERSION, distinguish o32 and n32 2022-03-29 00:51:55 +02:00
qemu-gdb.py
qemu-trace-stap
qemu-version.sh
refresh-pxe-roms.sh
render_block_graph.py scripts/render-block-graph: switch to AQMP 2022-01-21 16:01:31 -05:00
replay-dump.py
shaderinclude.pl
signrom.py
simpletrace.py
test-driver.py
tracetool.py
u2f-setup-gen.py
undefsym.py
update-linux-headers.sh headers: Add pvpanic.h 2022-03-06 05:08:23 -05:00
update-mips-syscall-args.sh
update-syscalltbl.sh
userfaultfd-wrlat.py
vmstate-static-checker.py