diff options
author | Alex Light <allight@google.com> | 2018-05-15 16:09:44 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2018-05-15 16:43:31 -0700 |
commit | aa730efe50cbc76fc6954f1b323cf49aa275d1b2 (patch) | |
tree | f556c20ca03e143930cc42b6b3f2e3ec3842a77f /compiler/optimizing/instruction_builder.cc | |
parent | 04d81ff75ae339c082b1ecbea38ba34f873059cb (diff) |
Add ti-fast jvmti agent.
It is often useful to get a speed-of-light estimate for how heavy
watching various JVMTI is. This was difficult to measure without
creating a custom agent to exercise the feature. This adds a new
ti-fast agent which can be used to run a program which has an agent
that does nothing watching various events.
Test: m -j50 libtifast
adb push $OUT/system/lib64/libtifast.so /data/local/tmp
adb shell setenforce 0
adb shell am start-activity \
--attach-agent /data/local/tmp/libtifast.so=MethodEntry,MethodExit \
com.antonioleiva.bandhookkotlin/.ui.screens.main.MainActivity
Change-Id: Id97135bcae55f9a943108fd935031fd887fb913a
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions