mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
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>
This commit is contained in:
parent
f0744af7d0
commit
fe20d71f25
3 changed files with 2 additions and 10 deletions
|
@ -37,11 +37,6 @@ struct inode;
|
|||
|
||||
struct uprobe_consumer {
|
||||
int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs);
|
||||
/*
|
||||
* filter is optional; If a filter exists, handler is run
|
||||
* if and only if filter returns true.
|
||||
*/
|
||||
bool (*filter)(struct uprobe_consumer *self, struct task_struct *task);
|
||||
|
||||
struct uprobe_consumer *next;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue