libperfmgr: add dump interface

Bug: 72071908
Test: Call added interface in powerhal and check
      lshal-debug/android.hardware.power@1.2::IPower_default.txt

(cherry picked from commit b243f99965c7f9b780854233273f9d8f9e13b39c)

Change-Id: Ib2c63d40e772c0004abc1157f523eae0a357b261
diff --git a/libperfmgr/include/perfmgr/NodeLooperThread.h b/libperfmgr/include/perfmgr/NodeLooperThread.h
index e8151c8..42267d4 100644
--- a/libperfmgr/include/perfmgr/NodeLooperThread.h
+++ b/libperfmgr/include/perfmgr/NodeLooperThread.h
@@ -71,6 +71,9 @@
     bool Cancel(const std::vector<NodeAction>& actions,
                 const std::string& hint_type);
 
+    // Dump all nodes to fd
+    void DumpToFd(int fd);
+
   private:
     NodeLooperThread(NodeLooperThread const&) = delete;
     void operator=(NodeLooperThread const&) = delete;