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 /include/linux/uprobes.h | |
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 'include/linux/uprobes.h')
-rw-r--r-- | include/linux/uprobes.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index 4f628a6fc5b4..83742b91ff73 100644 --- a/include/linux/uprobes.h +++ b/include/linux/uprobes.h | |||
@@ -37,11 +37,6 @@ struct inode; | |||
37 | 37 | ||
38 | struct uprobe_consumer { | 38 | struct uprobe_consumer { |
39 | int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs); | 39 | int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs); |
40 | /* | ||
41 | * filter is optional; If a filter exists, handler is run | ||
42 | * if and only if filter returns true. | ||
43 | */ | ||
44 | bool (*filter)(struct uprobe_consumer *self, struct task_struct *task); | ||
45 | 40 | ||
46 | struct uprobe_consumer *next; | 41 | struct uprobe_consumer *next; |
47 | }; | 42 | }; |