Welcome to the Linux Foundation Forum!

Port dump_trace to a buffer

Options

Hi,

I am looking to develop my own stack trace and have trouble porting dump_trace data to a buffer. I was able to do this until linux 3.18. However since the function has been deprecated since 4.18 with implementation of the unwinder design for trace dumps. For more information, please go through below link.

https://lore.kernel.org/lkml/20160920155340.yhewlx7vmgmov5fb@treble/t/

Please let me know if I could use any other function for this purpose of storing the stack trace to a buffer.

Thanks

Categories

Upcoming Training