How to unwind stack to seek for specific caller?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux