[PATCH 4/4] uprobes: Teach uprobe_trace_consumer to support the pre-filtering

2013-01-27 Thread Oleg Nesterov
Implement trace_uprobe_filter_func() and change probe_event_enable() to setup uprobe_consumer->filter() if necessary. Also change uprobe_dispatcher() to skip the tasks we do not want to probe and return UPROBE_HANDLER_REMOVE to indicate that this "int3" should be removed unless there is another

[PATCH 4/4] uprobes: Teach uprobe_trace_consumer to support the pre-filtering

2013-01-27 Thread Oleg Nesterov
Implement trace_uprobe_filter_func() and change probe_event_enable() to setup uprobe_consumer-filter() if necessary. Also change uprobe_dispatcher() to skip the tasks we do not want to probe and return UPROBE_HANDLER_REMOVE to indicate that this int3 should be removed unless there is another