Remove DNS event reporting level
Reporting level was used only by microbenchmarks, but CI go/apct-net
doesn't show a significant timing difference between test runs with and
without reporting enabled.
Test: atest resolv_integration_test
Test: m netd_benchmark && adb sync data && adb shell /data/benchmarktest64/netd_benchmark/netd_benchmark
Change-Id: I0db0522e1cf229649c2516973d8942549ccd5476
diff --git a/server/main.cpp b/server/main.cpp
index 4b06ada..51ce7ea 100644
--- a/server/main.cpp
+++ b/server/main.cpp
@@ -133,7 +133,7 @@
// Set local DNS mode, to prevent bionic from proxying
// back to this service, recursively.
setenv("ANDROID_DNS_MODE", "local", 1);
- DnsProxyListener dpl(&gCtls->netCtrl, &gCtls->eventReporter);
+ DnsProxyListener dpl(&gCtls->netCtrl);
if (dpl.startListener()) {
ALOGE("Unable to start DnsProxyListener (%s)", strerror(errno));
exit(1);