Add method to get dump id
Add method to get dump id from the dump entry
object. This will useful in adding trace
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I6f6ac3b1fb773c85ff12ea6094f9abb6b2243d83
diff --git a/dump_entry.hpp b/dump_entry.hpp
index 34a25dc..cf15157 100644
--- a/dump_entry.hpp
+++ b/dump_entry.hpp
@@ -97,6 +97,14 @@
offloadUri(uri);
}
+ /** @brief Returns the dump id
+ * @return the id associated with entry
+ */
+ uint32_t getDumpId()
+ {
+ return id;
+ }
+
protected:
/** @brief This entry's parent */
Manager& parent;