Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-30 Thread Wangnan (F)
On 2015/6/30 22:37, Arnaldo Carvalho de Melo wrote: Em Tue, Jun 30, 2015 at 09:38:26AM +0800, Wangnan (F) escreveu: On 2015/6/29 22:33, Arnaldo Carvalho de Melo wrote: Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: Before this patch, add_perf_probe_events() init symbol maps

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-30 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 30, 2015 at 09:38:26AM +0800, Wangnan (F) escreveu: > > > On 2015/6/29 22:33, Arnaldo Carvalho de Melo wrote: > >Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: > >>Before this patch, add_perf_probe_events() init symbol maps only for > >>uprobe if the first 'struct

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-30 Thread Wangnan (F)
On 2015/6/30 22:37, Arnaldo Carvalho de Melo wrote: Em Tue, Jun 30, 2015 at 09:38:26AM +0800, Wangnan (F) escreveu: On 2015/6/29 22:33, Arnaldo Carvalho de Melo wrote: Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: Before this patch, add_perf_probe_events() init symbol maps

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-30 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 30, 2015 at 09:38:26AM +0800, Wangnan (F) escreveu: On 2015/6/29 22:33, Arnaldo Carvalho de Melo wrote: Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first 'struct

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-29 Thread Wangnan (F)
On 2015/6/29 22:33, Arnaldo Carvalho de Melo wrote: Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first 'struct perf_probe_event' passed to it is a uprobe event. This is a trick because 'perf

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-29 Thread Arnaldo Carvalho de Melo
Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: > Before this patch, add_perf_probe_events() init symbol maps only for > uprobe if the first 'struct perf_probe_event' passed to it is a uprobe > event. This is a trick because 'perf probe''s command line syntax > constrains the first

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-29 Thread Arnaldo Carvalho de Melo
Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first 'struct perf_probe_event' passed to it is a uprobe event. This is a trick because 'perf probe''s command line syntax constrains the first

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-29 Thread Wangnan (F)
On 2015/6/29 22:33, Arnaldo Carvalho de Melo wrote: Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first 'struct perf_probe_event' passed to it is a uprobe event. This is a trick because 'perf

[RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-27 Thread Wang Nan
Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first 'struct perf_probe_event' passed to it is a uprobe event. This is a trick because 'perf probe''s command line syntax constrains the first elements of the probe_event arrays must be kprobes if there is one.

[RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-27 Thread Wang Nan
Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first 'struct perf_probe_event' passed to it is a uprobe event. This is a trick because 'perf probe''s command line syntax constrains the first elements of the probe_event arrays must be kprobes if there is one.