Re: [RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe

2015-06-27 Thread Wangnan (F)
On 2015/6/27 16:30, Masami Hiramatsu wrote: Hi Wang, On 2015/06/27 16:34, Wangnan (F) wrote: On 2015/6/27 15:29, Masami Hiramatsu wrote: On 2015/06/25 19:37, Wang Nan wrote: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first pev passed to it is a uprob

Re: [RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe

2015-06-27 Thread Masami Hiramatsu
Hi Wang, On 2015/06/27 16:34, Wangnan (F) wrote: > > > On 2015/6/27 15:29, Masami Hiramatsu wrote: >> On 2015/06/25 19:37, Wang Nan wrote: >>> Before this patch, add_perf_probe_events() init symbol maps only for >>> uprobe if the first pev passed to it is a uprobe event. However, with >>> the in

Re: [RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe

2015-06-27 Thread Wangnan (F)
On 2015/6/27 15:29, Masami Hiramatsu wrote: On 2015/06/25 19:37, Wang Nan wrote: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first pev passed to it is a uprobe event. However, with the incoming BPF uprobe support, now it will be possible to pass an array

Re: [RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe

2015-06-27 Thread Masami Hiramatsu
On 2015/06/25 19:37, Wang Nan wrote: > Before this patch, add_perf_probe_events() init symbol maps only for > uprobe if the first pev passed to it is a uprobe event. However, with > the incoming BPF uprobe support, now it will be possible to pass an > array with combined kprobe and uprobe events to

Re: [RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe

2015-06-26 Thread Alexei Starovoitov
On 6/25/15 3:37 AM, Wang Nan wrote: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first pev passed to it is a uprobe event. However, with the incoming BPF uprobe support, now it will be possible to pass an array with combined kprobe and uprobe events to add_pe

[RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe

2015-06-25 Thread Wang Nan
Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first pev passed to it is a uprobe event. However, with the incoming BPF uprobe support, now it will be possible to pass an array with combined kprobe and uprobe events to add_perf_probe_events(). This patch check a