Copy transformation code over

This change copies all of the required bytecode transformation code from
profilers module.

Test: n/a
Bug: 178232811
Change-Id: I0049792026f3a268fe68dcb1c5a342fbdd873ce7
12 files changed