OSDN Git Service

Support multiple instrumentation clients
authorSebastien Hertz <shertz@google.com>
Wed, 1 Apr 2015 14:34:17 +0000 (16:34 +0200)
committerSebastien Hertz <shertz@google.com>
Thu, 7 May 2015 21:11:36 +0000 (23:11 +0200)
commit5eae455507399286c845ba54796c47087a72b3e2
treead1e60f846ee4bb0054d9267938a8f29b9bc95a9
parentc3cde2c00bcbe97c9b0c119919500fcbbe824baa
Support multiple instrumentation clients

Changes Instrumentation::ConfigureStubs to support multiple clients
that need different levels of instrumenation. A client is identified
by a string key used to save the desired instrumentation level.

Also adds regression gtest instrumentation_test and some cleanup.

Bug: 19829329

(cherry picked from commit 0462c4c87c39db6cfcd338f323844738109ac3c9)

Change-Id: I1fc24a86fcb7cb46d4be806895376c25cc0a0b3c
build/Android.gtest.mk
runtime/debugger.cc
runtime/instrumentation.cc
runtime/instrumentation.h
runtime/instrumentation_test.cc [new file with mode: 0644]
runtime/jit/jit.h
runtime/trace.cc
test/Instrumentation/Instrumentation.java [new file with mode: 0644]