From 3c29c9163edee49620cc9aa151ccc990db21b753 Mon Sep 17 00:00:00 2001 From: Erik Staats Date: Thu, 10 Aug 2023 22:03:08 +0000 Subject: [PATCH] Dump stats from all AoC cores in dump_umfw_stat Bug: 289078336 Test: Verified AOC UmfwStat statistics in bugreport. Test: Verified AOC UmfwStat statistics in bugreport with tip of tree master EFW build. Change-Id: I06feabda21ba3fc34e04885134904dad50c2f6c1 --- umfw_stat/dump_umfw_stat.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/umfw_stat/dump_umfw_stat.cpp b/umfw_stat/dump_umfw_stat.cpp index 63478cd..627144b 100644 --- a/umfw_stat/dump_umfw_stat.cpp +++ b/umfw_stat/dump_umfw_stat.cpp @@ -26,7 +26,14 @@ int main() { // Dump AoC statistics. // TODO(b/272300997): Add timeouts for requests. - runCommand("AoC statistics", "timeout 5 /vendor/bin/umfw_stat_tool get_all"); + runCommand("AoC A32 statistics", + "timeout 5 /vendor/bin/umfw_stat_tool -s aoc:1 get_all"); + runCommand("AoC FF1 statistics", + "timeout 5 /vendor/bin/umfw_stat_tool -s aoc:2 get_all"); + runCommand("AoC HF0 statistics", + "timeout 5 /vendor/bin/umfw_stat_tool -s aoc:3 get_all"); + runCommand("AoC HF1 statistics", + "timeout 5 /vendor/bin/umfw_stat_tool -s aoc:4 get_all"); return 0; }