From db18ebe01d588a128aebbd7b1bb8767cfb46b1e9 Mon Sep 17 00:00:00 2001 From: Jayanth Othayoth Date: Mon, 4 Sep 2017 00:48:02 -0500 Subject: Add _PID information in elog AdditionalData dreport need PID information to collect process specific journal for InternalFailure type error triggered dump. Change-Id: I313caa4795f7c0d47c1f42dae0653008cdbd5967 Signed-off-by: Jayanth Othayoth --- log_manager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'log_manager.cpp') diff --git a/log_manager.cpp b/log_manager.cpp index 29c0ffe..b535039 100644 --- a/log_manager.cpp +++ b/log_manager.cpp @@ -71,6 +71,9 @@ void Manager::commit(uint64_t transactionId, std::string errMsg) metalist.insert(metamap->second.begin(), metamap->second.end()); } + //Add _PID field information in AdditionalData. + metalist.insert("_PID"); + std::vector additionalData; // Read the journal from the end to get the most recent entry first. -- cgit v1.2.3