Messages in this thread | | | From | "Luck, Tony" <> | Subject | RE: [PATCH 1/3] mce: Add a msg string to the MCE tracepoint | Date | Wed, 29 Feb 2012 18:11:40 +0000 |
| |
> That probably means that the needed cpu family/model info is not (or may not) be > stored at the MCE structure.
mcelog can run as a daemon, or one-off to process reports from earlier (or even from other systems). It picks up cpu/family from /proc/cpuinfo - but can also take a command line argument. These get checked against the cpuid field in the structure that is read from /dev/mcelog (or decoded from a console log with the --ascii option).
In some cases the checks may be redundant (e.g. running in daemon mode, there is no way that /dev/mcelog will not have a cpuid that matches the cpu that you are running on!) But better to have too many checks than too few.
-Tony
| |