/* Aggregate handlers for multiple kprobes support - these handlers take care of invoking the individual kprobe handlers on p->list  */
static int __kprobes aggr_pre_handler(struct kprobe *p, struct pt_regs *regs)
/* Aggregate handlers for multiple kprobes support - these handlers take care of invoking the individual kprobe handlers on p->list  */
static int __kprobes aggr_pre_handler(struct kprobe *p, struct pt_regs *regs)
{
	struct kprobe *kp;
	list_for_each_entry_rcu(kp, &p->list, list) {
		if (kp->pre_handler && likely(!kprobe_disabled(kp))) {
			set_kprobe_instance(kp);
			if (kp->pre_handler(kp, regs))
				return 1;
		}
		reset_kprobe_instance();
	}
	return 0;
}