Messages in this thread |  | | From | Alexei Starovoitov <> | Date | Sat, 14 Feb 2015 17:48:58 -0500 | Subject | Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls |
| |
On Wed, Feb 11, 2015 at 5:28 AM, Peter Zijlstra <peterz@infradead.org> wrote: > > We're compiling the BPF stuff against the 'current' kernel headers > right?
the tracex1 example is pulling kernel headers to demonstrate how bpf_fetch*() helpers can be used to walk kernel structures without debug info. The other examples don't need any internal headers.
> So would enforcing module versioning not be sufficient?
I'm going to redo the ex1 to use kprobe and some form of version check. Indeed module-like versioning should be enough.
|  |