PowerLog: Add dump prefix to powerlog
Test: dumpsys media.audio_flinger
Bug: 30572472
Change-Id: I81ff273cf7901bcdb4b252781a02b65cf27b6832
(cherry picked from commit 627acb6b8ac6da6c0f1bab950e5b15c8ad44f61e)
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index badc889..262bbc6 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -1925,7 +1925,8 @@
(void)error_log_dump(
out->error_log, fd, " " /* prefix */, 0 /* lines */, 0 /* limit_ns */);
// dump power info (out->power_log may be null)
- (void)power_log_dump(out->power_log, fd, POWER_LOG_LINES, 0 /* limitNs */);
+ (void)power_log_dump(
+ out->power_log, fd, " " /* prefix */, POWER_LOG_LINES, 0 /* limit_ns */);
return 0;
}