Re: a question about how to debug this case in ftrace

From: Song Chen
Date: Wed Jun 26 2024 - 04:26:40 EST


not really, sounds like it meets my expectation of merging logs either way, "printk:console ftrace event" in cmdline? I searched it in code or google, no luck.

Song

在 2024/6/26 15:25, John Ogness 写道:
On 2024-06-26, Song Chen <chensong_2000@xxxxxx> wrote:
ohh, by the way, i'm curious why softlockup/hardlockup/hungtask don't
have ftrace dump as well as rcu stall, or is it possible to add a
parameter in cmdline to redirect
softlockup/hardlockup/hungtask/rcustall warning either to ftrace or
printk.

Are you aware of the printk:console ftrace event? If you enable it, all
printk output also goes into the ftrace buffers.

John Ogness