Pass tracing instance index to start and stop callbacks

This will be used by the ProtoLog service to track running instances more accurately.

Test: atest com.android.internal.protolog
Flag: android.tracing.client_side_proto_logging
Change-Id: Ib6ee906c4c924d014456d91a7079d0cdc1e5e2e8
3 files changed