Add static Process class and improved dump output
Test: as follows
- built, flashed, booted
- adb shell dumpsys netd shows new output
Change-Id: Ib78dbdc982f5db747bff445db21b8408c9c407cc
diff --git a/server/NetdNativeService.cpp b/server/NetdNativeService.cpp
index 60452d5..70aad71 100644
--- a/server/NetdNativeService.cpp
+++ b/server/NetdNativeService.cpp
@@ -38,6 +38,7 @@
#include "InterfaceController.h"
#include "NetdConstants.h"
#include "NetdNativeService.h"
+#include "Process.h"
#include "RouteController.h"
#include "SockDiag.h"
#include "UidRanges.h"
@@ -139,6 +140,7 @@
return NO_ERROR;
}
+ process::dump(dw);
dw.blankline();
gCtls->netCtrl.dump(dw);
dw.blankline();