aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAravind Gopalakrishnan <[email protected]>2015-05-06 06:58:53 -0500
committerBorislav Petkov <[email protected]>2015-05-06 19:49:20 +0200
commitafdf344e08fbec28ab2204a626fa1f260dcb68be (patch)
tree66ac120abcf8a7590e8956df40106faadaba7d00 /tools/perf/scripts/python/export-to-postgresql.py
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff)
x86/mce/amd: Factor out logging mechanism
Refactor the code here to setup struct mce and call mce_log() to log the error. We're going to reuse this in a later patch as part of the deferred error interrupt enablement. No functional change is introduced. Suggested-by: Borislav Petkov <[email protected]> Signed-off-by: Aravind Gopalakrishnan <[email protected]> Cc: Tony Luck <[email protected]> Cc: x86-ml <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions