Re: [lttng-dev] Capturing snapshot on kernel panic

2024-05-16 Thread Kienan Stewart via lttng-dev
Hi Damien, On 5/15/24 6:24 PM, Damien Berget via lttng-dev wrote: Good day, we have been using LTTng successfully to capture snapshots on user defined tracepoints and it did provide invaluable to debug our issues. Thanks to all the contributors of this project! We'd like to know if it would

Re: [lttng-dev] Capturing snapshot on kernel panic

2024-05-16 Thread Kienan Stewart via lttng-dev
Hi Damien, I want to expand on one of the options that could work for your case. On 5/16/24 9:37 AM, Kienan Stewart via lttng-dev wrote: Hi Damien, On 5/15/24 6:24 PM, Damien Berget via lttng-dev wrote: Good day, we have been using LTTng successfully to capture snapshots on user defined tra

Re: [lttng-dev] Capturing snapshot on kernel panic

2024-05-16 Thread Damien Berget via lttng-dev
Thanks Kienan for these quick suggestions, we'll investigate the pmem route (I was not aware of the lttng-cash utility, it's pretty nice) even if I'm not sure how fast it would burn through our SSD, it might still be worth trying. As for kexec-tool, it's not officially supported on our embedded mod

Re: [lttng-dev] Capturing snapshot on kernel panic

2024-05-16 Thread Mathieu Desnoyers via lttng-dev
Hi Damien, If kexec is not an option on your system, you might be able to access the pmem+dax filesystem after a warm reboot, but it very much depends on whether your bios clears your memory or not on warm reboot. Cheers, Mathieu On 2024-05-16 14:22, Damien Berget via lttng-dev wrote: Thanks