mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 04:53:36 +01:00
kprobes: log drops via printk
Signed-off-by: David Windsor <dwindsor@gmail.com>
This commit is contained in:
parent
179395a007
commit
2d38bc39cb
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue