Skip to contentSkip to conversation

libtracefs meson: build tracefs-mmap by default

PATCH In review Giulio Benetti 2 participants 2 messages Jan 10, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtracefs meson: build tracefs-mmap by default

Accordingly to Makefile let's add tracefs-mmap.c to build, this is needed for linking by other object files.

---
 src/meson.build | 1 +
 1 file changed, 1 insertion(+)
src/meson.build +1 -0
index 5b76554..f7a98b9 100644
@@ -11,6 +11,7 @@ sources= [
    'tracefs-instance.c',
    'tracefs-kprobes.c',
    'tracefs-marker.c',
+   'tracefs-mmap.c',
    'tracefs-record.c',
    'tracefs-sqlhist.c',
    'tracefs-tools.c',
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · On Wed, 10 Jan 2024 21:39:25 +0100 Giulio Benetti…

Accordingly to Makefile let's add tracefs-mmap.c to build, this is needed for linking by other object files.

Bah! I need to start remembering to update the meson.build file when adding new files.

Thanks for the change. It'll go into 1.8.1 which I'll wait till next week to see what else may have broken.

-- Steve

Quoted 16 lines
---
 src/meson.build | 1 +
 1 file changed, 1 insertion(+)
src/meson.build +1 -0
index 5b76554..f7a98b9 100644
@@ -11,6 +11,7 @@ sources= [
    'tracefs-instance.c',
    'tracefs-kprobes.c',
    'tracefs-marker.c',
+   'tracefs-mmap.c',
    'tracefs-record.c',
    'tracefs-sqlhist.c',
    'tracefs-tools.c',