0001-libtracefs-meson-build-tracefs-mmap-by-default.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. From 7d15d7744d957b1721d8e202bd5095b7c449570f Mon Sep 17 00:00:00 2001
  2. From: Giulio Benetti <giulio.benetti@benettiengineering.com>
  3. Date: Wed, 10 Jan 2024 21:39:25 +0100
  4. Subject: [PATCH] libtracefs meson: build tracefs-mmap by default
  5. Accordingly to Makefile let's add tracefs-mmap.c to build, this is needed
  6. for linking by other object files.
  7. Link: https://lore.kernel.org/linux-trace-devel/20240110203925.266999-1-giulio.benetti@benettiengineering.com
  8. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
  9. Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
  10. Upstream: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/commit/?id=7d15d7744d957b1721d8e202bd5095b7c449570f
  11. [yann.morin.1998@free.fr: do an actual backport]
  12. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
  13. ---
  14. src/meson.build | 1 +
  15. 1 file changed, 1 insertion(+)
  16. diff --git a/src/meson.build b/src/meson.build
  17. index 5b76554..f7a98b9 100644
  18. --- a/src/meson.build
  19. +++ b/src/meson.build
  20. @@ -11,6 +11,7 @@ sources= [
  21. 'tracefs-instance.c',
  22. 'tracefs-kprobes.c',
  23. 'tracefs-marker.c',
  24. + 'tracefs-mmap.c',
  25. 'tracefs-record.c',
  26. 'tracefs-sqlhist.c',
  27. 'tracefs-tools.c',
  28. --
  29. 2.43.0