[lkml]   [2012]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH 1/3] mce: Add a msg string to the MCE tracepoint
> 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


 \ /
  Last update: 2012-02-29 19:15    [W:0.057 / U:3.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site