Re: [RFC PATCH bpf-next v2 1/3] bpf: implement bpf_send_signal() helper

2019-05-05 Thread Yonghong Song
On 5/5/19 12:29 AM, Alexei Starovoitov wrote: > On Thu, May 2, 2019 at 5:08 PM Yonghong Song wrote: >> >> This patch tries to solve the following specific use case. >> >> Currently, bpf program can already collect stack traces >> when certain events happens (e.g., cache miss counter or >> cpu cl

Re: [RFC PATCH bpf-next v2 1/3] bpf: implement bpf_send_signal() helper

2019-05-05 Thread Alexei Starovoitov
On Thu, May 2, 2019 at 5:08 PM Yonghong Song wrote: > > This patch tries to solve the following specific use case. > > Currently, bpf program can already collect stack traces > when certain events happens (e.g., cache miss counter or > cpu clock counter overflows). These stack traces can be > used

[RFC PATCH bpf-next v2 1/3] bpf: implement bpf_send_signal() helper

2019-05-02 Thread Yonghong Song
This patch tries to solve the following specific use case. Currently, bpf program can already collect stack traces when certain events happens (e.g., cache miss counter or cpu clock counter overflows). These stack traces can be used for performance analysis. For jitted programs, e.g., hhvm (jited