Re: [PATCH 6/7] uprobes/perf: Teach trace_uprobe/perf code to use UPROBE_HANDLER_REMOVE

2013-02-11 Thread Srikar Dronamraju
* Oleg Nesterov [2013-02-04 20:03:01]: > Change uprobe_trace_func() and uprobe_perf_func() to return "int". Change > Change uprobe_dispatcher() to return "trace_ret | perf_ret" although this > is not really needed, currently TP_FLAG_TRACE/TP_FLAG_PROFILE are mutually > exclusive. > > The only

Re: [PATCH 6/7] uprobes/perf: Teach trace_uprobe/perf code to use UPROBE_HANDLER_REMOVE

2013-02-11 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2013-02-04 20:03:01]: Change uprobe_trace_func() and uprobe_perf_func() to return int. Change Change uprobe_dispatcher() to return trace_ret | perf_ret although this is not really needed, currently TP_FLAG_TRACE/TP_FLAG_PROFILE are mutually exclusive. The

[PATCH 6/7] uprobes/perf: Teach trace_uprobe/perf code to use UPROBE_HANDLER_REMOVE

2013-02-04 Thread Oleg Nesterov
Change uprobe_trace_func() and uprobe_perf_func() to return "int". Change Change uprobe_dispatcher() to return "trace_ret | perf_ret" although this is not really needed, currently TP_FLAG_TRACE/TP_FLAG_PROFILE are mutually exclusive. The only functional change is that uprobe_perf_func() checks

[PATCH 6/7] uprobes/perf: Teach trace_uprobe/perf code to use UPROBE_HANDLER_REMOVE

2013-02-04 Thread Oleg Nesterov
Change uprobe_trace_func() and uprobe_perf_func() to return int. Change Change uprobe_dispatcher() to return trace_ret | perf_ret although this is not really needed, currently TP_FLAG_TRACE/TP_FLAG_PROFILE are mutually exclusive. The only functional change is that uprobe_perf_func() checks the