Proposal: Unify printing the function name in panic messages()
Andriy Gapon
avg at FreeBSD.org
Wed Feb 13 21:05:53 UTC 2013
on 13/02/2013 22:57 Adrian Chadd said the following:
> Oh I'm not offended, feel free to be a bit of a jerk back to me.
>
> I'm just thinking of the longer term benefit here. If we _did_ tag
> panic() messages with a globally unique panic string identifier we'd
> make your job easier.
> But yes, it's a longer term project..
Something of tangential relevance. In Linux they have some special trace code
to debug ACPI resume issues that stores some IDs/hashes of trace statements
(perhaps somewhat akin to our ktr) to RTC time-of-day registers.
I guess that that was a smart choice because you can count on presence of those
registers and they can be written with simple outb instructions.
--
Andriy Gapon
More information about the freebsd-arch
mailing list