author | Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com> | |
Thu, 19 Jan 2017 10:59:29 +0000 (10:59 +0000) | ||
committer | Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com> | |
Thu, 19 Jan 2017 12:33:31 +0000 (12:33 +0000) | ||
commit | 8860aa692de10bbd6b9e56ef42d1b103564e1432 | |
tree | a5ddb0235504e972f4503531a2c979187b2a2c41 | tree | snapshot |
parent | 3679e44b3611544270bcbd9e2d3aaf55e4dc5f02 | commit | diff |
mcelog: Check if location was correctly parsed
Avoid dispatching metrics if location (used as plugin instance) wasn't parsed
correctly. Such thing can occur when there are no machine check exceptions
reported by mcelog server. With csv plugin enabled, it was causing a creation of
unexpected mcelog directory with all files (metrics) filled out with 0's.
Change-Id: Ib01f355a986ee5c6191cd126e1b32ef956ffce1f
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Avoid dispatching metrics if location (used as plugin instance) wasn't parsed
correctly. Such thing can occur when there are no machine check exceptions
reported by mcelog server. With csv plugin enabled, it was causing a creation of
unexpected mcelog directory with all files (metrics) filled out with 0's.
Change-Id: Ib01f355a986ee5c6191cd126e1b32ef956ffce1f
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
src/mcelog.c | diff | blob | history |