Michael Wright e0f2c62ff4 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
2022-03-08 22:52:52 +00:00

2 lines
44 B
Plaintext

Main-Class: com.android.traceinjection.Main