summaryrefslogtreecommitdiff
path: root/openjdkjvmti
diff options
context:
space:
mode:
authorEric Holk <eholk@google.com>2021-02-09 15:02:13 -0800
committerTreehugger Robot <treehugger-gerrit@google.com>2021-02-16 21:16:42 +0000
commit3d2b93e6acb4e7ac6fc808f17813975f250dbf89 (patch)
treec44605b61d2e863ad9d0cb76b59b84a0a8f71266 /openjdkjvmti
parentd2efecc12ca362cf7d2ee86455b1646f96aecb2c (diff)
[metrics] Add StatsdBackend
Adds a new backend that allows reporting ART's metrics to statsd, where they can then be uploaded to Westworld. Manual Testing Instructions: Run the following commands. m statsd_testdrive adb shell setprop dalvik.vm.extra-opts \ -Xwrite-metrics-to-statsd\\\ \ -Xwrite-metrics-to-log\\\ \ -Xmetrics-reporting-period=10 adb shell stop && adb shell start statsd_testdrive 332 After about a minute, you should see several atoms logged from ART. Bug: 178236337 Test: Manual, see above Change-Id: Ia1c0bbadb0a9790ab44453ad60ca217c0fdb4e1a
Diffstat (limited to 'openjdkjvmti')
-rw-r--r--openjdkjvmti/ti_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/openjdkjvmti/ti_thread.cc b/openjdkjvmti/ti_thread.cc
index c9e58094c4..bb8fa3b694 100644
--- a/openjdkjvmti/ti_thread.cc
+++ b/openjdkjvmti/ti_thread.cc
@@ -45,7 +45,7 @@
#include "gc/system_weak.h"
#include "gc_root-inl.h"
#include "jni/jni_internal.h"
-#include "metrics_reporter.h"
+#include "metrics/reporter.h"
#include "mirror/class.h"
#include "mirror/object-inl.h"
#include "mirror/string.h"