OSDN Git Service

Add support for sample profiling in traceview.
authorJeff Hao <jeffhao@google.com>
Wed, 21 Aug 2013 23:54:45 +0000 (16:54 -0700)
committerBrian Carlstrom <bdc@google.com>
Thu, 29 Aug 2013 05:43:58 +0000 (22:43 -0700)
commit609317d5953f7a2a8174936be0d493d31d5280ab
tree3b81e33eae366117b6c0d4fa4dc416aadbf5031c
parent418c84770acea60b3b13aa37ac21563dba4c8854
Add support for sample profiling in traceview.

Instead of method instrumentation, allow traceview to periodically
sample stack traces of threads. Disabled by default until we add
gui support for this new mode.

(cherry picked from commit 676f8a527fb62abd39663d55c7d9208f5ca03093)

Change-Id: Ia5d0d57012305a5830d042bcb903a429432b035b
vm/Profile.cpp
vm/Profile.h
vm/Thread.cpp
vm/Thread.h
vm/interp/Interp.cpp
vm/interp/InterpState.h