Modify traceview to sample instead of instrumenting methods.

Disabled the method instrumentation in traceview. Now when traceview
is triggered, it starts up a thread which periodically samples all
threads instead, generating method entry/exit events that traceview
can understand.

Change-Id: Ifc4012a4509d8eb9f54941eee2a8b42c411e5e9c
2 files changed