diff options
author | Jeff Hao <jeffhao@google.com> | 2013-08-29 11:20:30 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2013-08-30 18:02:34 +0000 |
commit | 20800b2857324f8101583352b61597b22c80fb84 (patch) | |
tree | 1ff759e15be59ae94a2f9dc3d48164d95c020b36 /dalvik/src/main | |
parent | 661f3c9ae4049cfa493fabaf129516e94f2388de (diff) | |
download | libcore-20800b2857324f8101583352b61597b22c80fb84.zip libcore-20800b2857324f8101583352b61597b22c80fb84.tar.gz libcore-20800b2857324f8101583352b61597b22c80fb84.tar.bz2 |
Change IsMethodTracingActive to GetMethodTracingMode for libcore.
Bug: 9968521
Change-Id: I3e36331980a192ab783ede095955b1f71b9ca40e
(cherry picked from commit b72f49ea6dac9cc6bf46485be8f97cafa7db3dc3)
Diffstat (limited to 'dalvik/src/main')
-rw-r--r-- | dalvik/src/main/java/dalvik/system/VMDebug.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dalvik/src/main/java/dalvik/system/VMDebug.java b/dalvik/src/main/java/dalvik/system/VMDebug.java index c3d199f..d2f96c3 100644 --- a/dalvik/src/main/java/dalvik/system/VMDebug.java +++ b/dalvik/src/main/java/dalvik/system/VMDebug.java @@ -198,9 +198,10 @@ public final class VMDebug { private static native void startMethodTracingFilename(String traceFileName, int bufferSize, int flags); /** - * Determine whether method tracing is currently active. + * Determine whether method tracing is currently active and what type is + * active. */ - public static native boolean isMethodTracingActive(); + public static native int getMethodTracingMode(); /** * Stops method tracing. |