Modify sftrace macros to go through tracing_perfetto lib

If the perfetto trace events are not registered, the library will default to
the previous atrace calls. We will enable the perfetto registration with
the aconfig flag perfetto_sdk_tracing.

Flag: android.os.perfetto_sdk_tracing
Bug: 349905670
Test: perfetto

Change-Id: I04c3c0d09f36c95b7ac90ffa06b8be3428ddc950
8 files changed