[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191002184315.zl5xpfhsaspllaix@ast-mbp.dhcp.thefacebook.com>
Date: Wed, 2 Oct 2019 11:43:17 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Julia Kartseva <hex@...com>, Yonghong Song <yhs@...com>,
"debian-kernel@...ts.debian.org" <debian-kernel@...ts.debian.org>,
"md@...ux.it" <md@...ux.it>, Alexei Starovoitov <ast@...com>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
"labbott@...hat.com" <labbott@...hat.com>,
"acme@...nel.org" <acme@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Andrey Ignatov <rdna@...com>,
"jolsa@...nel.org" <jolsa@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Toke Høiland-Jørgensen <toke@...hat.com>,
iovisor-dev@...ts.iovisor.org
Subject: Re: libbpf-devel rpm uapi headers
On Wed, Oct 02, 2019 at 07:43:31PM +0200, Jiri Olsa wrote:
> hi,
> we'd like to have bcc linked with libbpf instead of the
> github submodule, initial change is discussed in here:
> https://github.com/iovisor/bcc/pull/2535
>
> In order to do that, we need to have access to uapi headers
> compatible with libbpf rpm, bcc is attaching and using them
> during compilation.
>
> I added them in the fedora spec below (not submitted yet),
> so libbpf would carry those headers.
>
> Thoughts? thanks,
I think it may break a bunch of people who rely on bcc being a single library.
What is the main motiviation to use libbpf as a shared library in libbcc?
I think we can have both options. libbpf as git submodule and as shared.
In practice git submodule is so much simpler to use and a lot less headaches.
Powered by blists - more mailing lists