x86/dumpstack: Use uniform "Oops: " prefix for die() messages
authorAlex Shi <alexs@kernel.org>
Wed, 27 Mar 2024 02:44:19 +0000 (10:44 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 Mar 2024 07:45:19 +0000 (08:45 +0100)
commitf9f62a877da1e6f6e9d58bd779c1c77052eb04ab
treecc98556ebbf8e7066bdb1af88be032ae20fe43ad
parent4cece764965020c22cff7665b18a012006359095
x86/dumpstack: Use uniform "Oops: " prefix for die() messages

panic() prints a uniform prompt: "Kernel panic - not syncing:",
but die() messages don't have any of that, the message is the
raw user-defined message with no prefix.

There's companies that collect thousands of die() messages per week,
but w/o a prompt in dmesg, it's hard to write scripts to collect and
analize the reasons.

Add a uniform "Oops:" prefix like other architectures.

[ mingo: Rewrote changelog. ]

Signed-off-by: Alex Shi <alexs@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20240327024419.471433-1-alexs@kernel.org
arch/x86/kernel/dumpstack.c