Re: [PATCH 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-11 Thread Joel Fernandes
On Mon, Feb 11, 2019 at 10:39:43AM +0900, Masahiro Yamada wrote: > On Fri, Feb 8, 2019 at 6:13 AM Joel Fernandes (Google) > wrote: > > > > Introduce in-kernel headers and other artifacts which are made available > > as an archive through proc (/proc/kheaders.txz file). This archive makes > > it po

Re: [PATCH 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-10 Thread Masahiro Yamada
On Fri, Feb 8, 2019 at 6:13 AM Joel Fernandes (Google) wrote: > > Introduce in-kernel headers and other artifacts which are made available > as an archive through proc (/proc/kheaders.txz file). This archive makes > it possible to build kernel modules, run eBPF programs, and other > tracing progra

Re: [PATCH 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-07 Thread Joel Fernandes
On Thu, Feb 07, 2019 at 06:50:42PM -0500, Steven Rostedt wrote: > On Thu, 7 Feb 2019 18:39:02 -0500 > Joel Fernandes wrote: > > > > + > > > > +spath="$(dirname "$(readlink -f "$0")")" > > > > + > > > > +rm -rf $1.tmp > > > > +mkdir $1.tmp > > > > + > > > > +for f in "${@:2}"; > > > > + do fi

Re: [PATCH 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-07 Thread Steven Rostedt
On Thu, 7 Feb 2019 18:39:02 -0500 Joel Fernandes wrote: > > > + > > > +spath="$(dirname "$(readlink -f "$0")")" > > > + > > > +rm -rf $1.tmp > > > +mkdir $1.tmp > > > + > > > +for f in "${@:2}"; > > > + do find "$f" ! -name "*.c" ! -name "*.o" ! -name "*.cmd" ! -name ".*"; > > > > I wonder if i

Re: [PATCH 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-07 Thread Joel Fernandes
Hi Steve, On Thu, Feb 07, 2019 at 05:52:39PM -0500, Steven Rostedt wrote: > On Thu, 7 Feb 2019 16:11:01 -0500 > "Joel Fernandes (Google)" wrote: > > > + > > +# Build a list of in-kernel headers for building kernel modules > > +# Any other files will be stored in IKH_EXTRA variable. > > +ikh_fil

Re: [PATCH 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-07 Thread Steven Rostedt
On Thu, 7 Feb 2019 16:11:01 -0500 "Joel Fernandes (Google)" wrote: > + > +# Build a list of in-kernel headers for building kernel modules > +# Any other files will be stored in IKH_EXTRA variable. > +ikh_file_list := include/ > +ikh_file_list += arch/$(ARCH)/Makefile > +ikh_file_list += arch/$(A