kprobes: log drops via printk

Signed-off-by: David Windsor <dwindsor@gmail.com>
This commit is contained in:
David Windsor 2024-05-08 10:24:36 -04:00
parent 179395a007
commit 2d38bc39cb

View file

@ -1260,6 +1260,8 @@ void kprobes_inc_nmissed_count(struct kprobe *p, unsigned flags)
}
}
}
printk("ss=%lu:objpool=%lu;rethook=%lu;callback=%lu;ftrace=%lu\n", p->nmissed_ss, p->nmissed_objpool, p->nmissed_rethook, p->nmissed_callback, p->nmissed_ftrace_callback);
}
NOKPROBE_SYMBOL(kprobes_inc_nmissed_count);