diff mbox series

libtracefs meson: build tracefs-mmap by default

Message ID 20240110203925.266999-1-giulio.benetti@benettiengineering.com (mailing list archive)
State Accepted
Commit 7d15d7744d957b1721d8e202bd5095b7c449570f
Headers show
Series libtracefs meson: build tracefs-mmap by default | expand

Commit Message

Giulio Benetti Jan. 10, 2024, 8:39 p.m. UTC
Accordingly to Makefile let's add tracefs-mmap.c to build, this is needed
for linking by other object files.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 src/meson.build | 1 +
 1 file changed, 1 insertion(+)

Comments

Steven Rostedt Jan. 10, 2024, 8:56 p.m. UTC | #1
On Wed, 10 Jan 2024 21:39:25 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> Accordingly to Makefile let's add tracefs-mmap.c to build, this is needed
> for linking by other object files.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

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

> ---
>  src/meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/meson.build b/src/meson.build
> index 5b76554..f7a98b9 100644
> --- a/src/meson.build
> +++ b/src/meson.build
> @@ -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',
diff mbox series

Patch

diff --git a/src/meson.build b/src/meson.build
index 5b76554..f7a98b9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -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',