Re: [PATCH] perf build: Fix LIBTRACEEVENT_DYNAMIC

From: Alexander Gordeev
Date: Fri Nov 25 2022 - 08:32:07 EST


On Fri, Nov 25, 2022 at 11:41:40AM +0100, Alexander Gordeev wrote:
> > The tools/lib includes fixes break LIBTRACEVENT_DYNAMIC as the
> > makefile erroneously had depdendencies on building libtraceevent even
> > when not linking with it. This change fixes the issues with
> > LIBTRACEEVENT_DYNAMIC by making the built files optional.
>
> It kernel-next on s390 somehow libtraceevent seems to be bypassed, which leads
> to make -C tools/perf install-bin failure. While it does not hit in every
> envoronment, could you please hint what could be a reason for that?

And unless I am missing something install-traceevent-plugins target
is only awailable when LIBTRACEEVENT_DYNAMIC is undefined..