The "ust" backend is complex (tracetool contains two output formats just
for that backend).  It is not clear if if it has any users, and LTTng
anyway can use the uprobe tracepoints provided by the "dtrace" backend,
therefore deprecate "ust".

Signed-off-by: Paolo Bonzini <[email protected]>
---
 docs/about/deprecated.rst | 9 +++++++++
 meson.build               | 4 ++++
 2 files changed, 13 insertions(+)

diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index aa300bbd507..57250f9d47f 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -533,3 +533,12 @@ command documentation for details on the ``fdset`` usage.
 
 The ``zero-blocks`` capability was part of the block migration which
 doesn't exist anymore since it was removed in QEMU v9.1.
+
+Host features
+-------------
+
+``ust`` tracing backend
+-----------------------
+
+LTTng can use uprobe tracepoints, therefore it is recommended to use
+the ``dtrace`` backend instead.
diff --git a/meson.build b/meson.build
index 72da97829ab..b5e2186b35e 100644
--- a/meson.build
+++ b/meson.build
@@ -5073,3 +5073,7 @@ if not actually_reloc and (host_os == 'windows' or 
get_option('relocatable'))
   message('QEMU will have to be installed under ' + get_option('prefix') + '.')
   message('Use --disable-relocatable to remove this warning.')
 endif
+
+if 'ust' in get_option('trace_backends')
+  warning('ust trace backend is deprecated, use dtrace backend for uprobe 
support')
+endif
-- 
2.51.0


Reply via email to