sdm: Add support to dump fence info
CRs-Fixed: 2579548
Change-Id: I8c96d03b5d389b191d9520b0ee097c86b8e749af
diff --git a/composer/hwc_display_builtin.cpp b/composer/hwc_display_builtin.cpp
index e61aa3c..343dc33 100644
--- a/composer/hwc_display_builtin.cpp
+++ b/composer/hwc_display_builtin.cpp
@@ -139,8 +139,9 @@
return status;
}
-std::string HWCDisplayBuiltIn::Dump() {
- return HWCDisplay::Dump() + histogram.Dump();
+void HWCDisplayBuiltIn::Dump(std::ostringstream *os) {
+ HWCDisplay::Dump(os);
+ *os << histogram.Dump();
}
HWC2::Error HWCDisplayBuiltIn::Validate(uint32_t *out_num_types, uint32_t *out_num_requests) {