Bug#878935: libbpfcc needs a way to ensure the current kernel's headers are installed

2017-10-18 Thread Ben Hutchings
On Thu, 2017-10-19 at 00:46 +0800, Liang Guo wrote: > On Wed, Oct 18, 2017 at 9:25 PM, Ben Hutchings wrote: > > On Wed, 2017-10-18 at 14:21 +0200, Alexander Kurtz wrote: > > > Ok, that's what I figured. Is there at least a solution to the "if the > > > user has the standard,

Bug#878935: libbpfcc needs a way to ensure the current kernel's headers are installed

2017-10-18 Thread Liang Guo
On Wed, Oct 18, 2017 at 9:25 PM, Ben Hutchings wrote: > On Wed, 2017-10-18 at 14:21 +0200, Alexander Kurtz wrote: >> Ok, that's what I figured. Is there at least a solution to the "if the >> user has the standard, most recent, Debian kernel running, make sure >> the

Bug#878935: libbpfcc needs a way to ensure the current kernel's headers are installed

2017-10-18 Thread Ben Hutchings
On Wed, 2017-10-18 at 14:21 +0200, Alexander Kurtz wrote: > On Wed, 2017-10-18 at 13:02 +0100, Ben Hutchings wrote: > > > Please comment on bug #877925 [4] and/or #878922 [3] regarding on how > > > to solve the "this package needs the current kernel's headers > > > installed" problem! > > > > You

Bug#878935: libbpfcc needs a way to ensure the current kernel's headers are installed

2017-10-18 Thread Alexander Kurtz
On Wed, 2017-10-18 at 13:02 +0100, Ben Hutchings wrote: > > Please comment on bug #877925 [4] and/or #878922 [3] regarding on how > > to solve the "this package needs the current kernel's headers > > installed" problem! > > You cannot use package dependencies to do this. It has to be a run- >

Bug#878935: libbpfcc needs a way to ensure the current kernel's headers are installed

2017-10-18 Thread Ben Hutchings
On Tue, 2017-10-17 at 21:37 +0200, Alexander Kurtz wrote: > Hi! > > (Applications linked against) libbpfcc will dynamically compile and > load C source code into eBPF byte code at runtime and load the result > into the kernel for various purposes (e.g. socket filtering, tracing, > etc.). > > For

Bug#878935: libbpfcc needs a way to ensure the current kernel's headers are installed

2017-10-17 Thread Alexander Kurtz
Hi! (Applications linked against) libbpfcc will dynamically compile and load C source code into eBPF byte code at runtime and load the result into the kernel for various purposes (e.g. socket filtering, tracing, etc.). For this to work, it needs the kernel headers of the *currently running