diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-11-21 11:32:30 -0500 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-02-08 11:47:02 -0500 |
commit | fe20d71f25400cccc8bffef865f79250be7dbc81 (patch) | |
tree | 97b5f757780ebf67359867c9493c4860b0cb4477 /kernel/trace | |
parent | f0744af7d0fde190674064c54e2ff60b34ac71fe (diff) |
uprobes: Kill uprobe_consumer->filter()
uprobe_consumer->filter() is pointless in its current form, kill it.
We will add it back, but with the different signature/semantics. Perhaps
we will even re-introduce the callsite in handler_chain(), but not to
just skip uc->handler().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace_uprobe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c index 87b6db4ccbc5..e668024773d4 100644 --- a/kernel/trace/trace_uprobe.c +++ b/kernel/trace/trace_uprobe.c | |||
@@ -550,7 +550,6 @@ static int probe_event_enable(struct trace_uprobe *tu, int flag) | |||
550 | return -EINTR; | 550 | return -EINTR; |
551 | 551 | ||
552 | utc->cons.handler = uprobe_dispatcher; | 552 | utc->cons.handler = uprobe_dispatcher; |
553 | utc->cons.filter = NULL; | ||
554 | ret = uprobe_register(tu->inode, tu->offset, &utc->cons); | 553 | ret = uprobe_register(tu->inode, tu->offset, &utc->cons); |
555 | if (ret) { | 554 | if (ret) { |
556 | kfree(utc); | 555 | kfree(utc); |