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

2019-05-22 Thread Stanislav Fomichev
On 05/22, Alexei Starovoitov wrote: > On 5/22/19 9:38 AM, Stanislav Fomichev wrote: > > On 05/21, Yonghong Song wrote: > >> This patch tries to solve the following specific use case. > >> > >> Currently, bpf program can already collect stack traces > >> through kernel function get_perf_callchain()

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

2019-05-22 Thread Alexei Starovoitov
On 5/22/19 9:38 AM, Stanislav Fomichev wrote: > On 05/21, Yonghong Song wrote: >> This patch tries to solve the following specific use case. >> >> Currently, bpf program can already collect stack traces >> through kernel function get_perf_callchain() >> when certain events happens (e.g., cache miss

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

2019-05-22 Thread Stanislav Fomichev
On 05/21, Yonghong Song wrote: > This patch tries to solve the following specific use case. > > Currently, bpf program can already collect stack traces > through kernel function get_perf_callchain() > when certain events happens (e.g., cache miss counter or > cpu clock counter overflows). But such