Re: [PATCH bpf-next] samples/bpf: Add hello world sample for newbies

2021-02-04 Thread Andrii Nakryiko
On Thu, Feb 4, 2021 at 11:27 AM Song Liu wrote: > > On Thu, Feb 4, 2021 at 3:42 AM Tiezhu Yang wrote: > > > > The program is made in a way that everytime an execve syscall > > is executed it prints Hello, BPF World! > > > > This is inspired and based on the code example for the book > > Linux

Re: [PATCH bpf-next] samples/bpf: Add hello world sample for newbies

2021-02-04 Thread Song Liu
On Thu, Feb 4, 2021 at 3:42 AM Tiezhu Yang wrote: > > The program is made in a way that everytime an execve syscall > is executed it prints Hello, BPF World! > > This is inspired and based on the code example for the book > Linux Observability with BPF [1], load_bpf_file() has been > removed

[PATCH bpf-next] samples/bpf: Add hello world sample for newbies

2021-02-04 Thread Tiezhu Yang
The program is made in a way that everytime an execve syscall is executed it prints Hello, BPF World! This is inspired and based on the code example for the book Linux Observability with BPF [1], load_bpf_file() has been removed after commit ceb5dea56543 ("samples: bpf: Remove bpf_load loader