Show Table of Contents
function::sprint_backtrace
名前
function::sprint_backtrace — スタックバックトレースを文字列として返します。
概要
sprint_backtrace:string()
引数
なし
説明
簡単な (カーネル) バックトレースを返します。アドレスごとに 1 行使用します。シンボル名 (またはシンボルを解決できなかった場合は 16 進アドレス) およびモジュール名 (見つかった場合) が含まれます。見つかった場合は関数の始めからのオフセットが含まれ、見つからなかった場合はオフセットはモジュールに追加されます (見つかった場合かっこで囲む)。バックトレースを文字列として返します (各行は改行文字で終わります)。返されるスタックは MAXSTRINGLEN に切り捨てられます。完全なスタックを出力するには
print_backtrace を使用します。sprint_stack(backtrace) と同等ですが、効率がよくなります (16 進文字列と最終のバックトレース文字列の変換を実行する必要がありません)。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.