[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230110095137.18168c29@gandalf.local.home>
Date: Tue, 10 Jan 2023 09:51:37 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Daniel Wagner <dwagner@...e.de>
Cc: Daniel Bristot de Oliveira <bristot@...nel.org>,
linux-trace-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools/rtla: Explicitly list libtraceevent dependency
On Tue, 10 Jan 2023 15:45:36 +0100
Daniel Wagner <dwagner@...e.de> wrote:
> Just to clarify, the generated pkg file by Meson is adding the libtraceevent
> dependency in the private section. So this part should be okay. I would be
> surprised if Meson would get this wrong at this point.
No that's incorrect.
There's many interfaces that require the libtraceevent header files to work
with libtracefs. Anything that uses libtracefs must also use libtraceevent,
as libtracefs is really just an extension of libtraceevent.
>
> $ cat .build/meson-private/libtracefs.pc
> prefix=/tmp/trace-cmd
> includedir=${prefix}/include
> libdir=${prefix}/lib64
>
> Name: libtracefs
> Description: Manage trace fs
> URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
> Version: 1.6.3
> Requires.private: libtraceevent >= 1.7.0
This is incorrect.
-- Steve
> Libs: -L${libdir} -ltracefs
> Cflags: -I${includedir}/libtracefs
Powered by blists - more mailing lists