How to unwind stack to seek for specific caller?
Lev Olshvang
levonshe at yandex.com
Fri Aug 3 08:14:45 EDT 2018
Hello all
I know that I can print stack of function using dump_stack()
But I need to find out whether my function y() was called from linux kernel function x().\
I see that kmsg_dump_get_buffer() function can get kernel messages but it is not clear for me should I use it
bedore calling dump_stack or I need to do additional setup before calling for these 2 functions?
Regards,
Lev
More information about the Kernelnewbies
mailing list