OSDN Git Service

Change IsMethodTracingActive to GetMethodTracingMode.
authorJeff Hao <jeffhao@google.com>
Thu, 29 Aug 2013 21:04:34 +0000 (14:04 -0700)
committerJeff Hao <jeffhao@google.com>
Fri, 30 Aug 2013 18:02:06 +0000 (18:02 +0000)
commit07344a400805d3d267352bf2694e728b29aa8ea8
tree065786a773ec96767d26cdf9c76ea155e5e2a8b7
parent8dd134b6a68f79c5369b6015a543eb7c0f5e649e
Change IsMethodTracingActive to GetMethodTracingMode.

This allows traceview to tell whether tracing is active, and whether
it is sampling or method tracing.

Bug: 9968521

Change-Id: I72100d1536ea3168998110ec1cfa5a183b55a67c
(cherry picked from commit 9d3a0a2e253aecd07c4a053c19cf9b0ccaa2db49)
vm/Profile.cpp
vm/Profile.h
vm/interp/Interp.cpp
vm/native/dalvik_system_VMDebug.cpp