summaryrefslogtreecommitdiffstats
path: root/tools/phosphor-logging
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-01-24 12:21:50 -0600
committerAdriana Kobylak <anoo@us.ibm.com>2017-01-30 12:57:24 -0600
commit7298dc2320ff8b18b16acfb66a06c328c786dd87 (patch)
tree6c33e9245d08c45d2b9ffc2d2c41a687fe0c3395 /tools/phosphor-logging
parent7d0692ab33bee41f2525ebd454d948fc9d351822 (diff)
downloadphosphor-logging-7298dc2320ff8b18b16acfb66a06c328c786dd87.tar.gz
phosphor-logging-7298dc2320ff8b18b16acfb66a06c328c786dd87.zip
logging: Commit: Use transaction id and metadata lookup
Add the lookup mako target to the makefile to get it built. Use the lookup map to find the metadata that needs to be added to the error log. Use the transaction id to filter for the desired journal entries. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Change-Id: Ia57dc83aab4f7ee35f8de32a799c862be28113f7
Diffstat (limited to 'tools/phosphor-logging')
-rw-r--r--tools/phosphor-logging/templates/elog-lookup-template.mako.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/phosphor-logging/templates/elog-lookup-template.mako.cpp b/tools/phosphor-logging/templates/elog-lookup-template.mako.cpp
index be4ff96..e53067a 100644
--- a/tools/phosphor-logging/templates/elog-lookup-template.mako.cpp
+++ b/tools/phosphor-logging/templates/elog-lookup-template.mako.cpp
@@ -1,9 +1,7 @@
## Note that this file is not auto generated, it is what generates the
-## elog-lookup.hpp file
+## elog-lookup.cpp file
// This file was autogenerated. Do not edit!
// See elog-gen.py for more details
-#pragma once
-
#include <map>
#include <vector>
OpenPOWER on IntegriCloud