Add infra for starting and cloning system triggered traces

- Modify configs to create a version of system trace for system triggered
- Add method to start system triggered trace
- Add method to clone trace and continue processing it
- Add configureable values for clone-able traces

The testing cannot be meaningfully done yet in an automated fashion because it needs to be triggered from framework to have permission to run, but that requires an api which is not complete yet.

Test: add manually triggered path to start trace and clone several times, observe output of valid traces
Bug: 350063680
Flag: android.os.profiling.system_triggered_profiling
Change-Id: I28b5a776fcf7df7ccce2338997cfd88019739f1c
6 files changed