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
 




_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to