commit | e0f2c62ff4b225a5a297cdaa9035f1ea32caa694 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Fri Feb 11 22:16:19 2022 +0000 |
committer | Allen Hair <allenhair@google.com> | Tue Mar 08 22:52:52 2022 +0000 |
tree | cc46e808e001b4c890b189d27e78b3ed4975a7de | |
parent | 5a5a4504a5e4fb336f1cc0f796e39ce9ba58ad61 [diff] |
Add tool for injecting tracing code into a method. This tool rewrites the bytecode in the designated JAR files to produce tracing calls on enter and exit, while making sure to close the tracing span even on exceptions being thrown. The idea is mostly to reduce the amount of noise within methods when just trying to add some tracing. Test: atest --host TraceInjectionTests Change-Id: If6acb72f34cbb83d9b041a62ee3d8c2abf74b69e Merged-In: If6acb72f34cbb83d9b041a62ee3d8c2abf74b69e