Skip to content

perfetto: support static track names in Java SDK#5219

Draft
parthsane wants to merge 1 commit intomainfrom
dev/parthsane/java_sdk_static_names_support_for_tracks
Draft

perfetto: support static track names in Java SDK#5219
parthsane wants to merge 1 commit intomainfrom
dev/parthsane/java_sdk_static_names_support_for_tracks

Conversation

@parthsane
Copy link
Contributor

This patch adds support for static track names in the Java SDK. Static track names are stored in field 10 of the TrackDescriptor protobuf, which allows the trace processor to use them as stable identifiers for tracks.

The implementation includes:

  • Support for @CompileTimeConstant for static track names in Java.
  • Cache collision fixes between static and non-static tracks in Java.
  • Additive C API extensions to support static names in the shared library.
  • Restored missing tests and added new cache collision tests.
  • Updated gen_android_bp to handle error_prone_annotations dependency.

This patch adds support for static track names in the Java SDK.
Static track names are stored in field 10 of the TrackDescriptor
protobuf, which allows the trace processor to use them as stable
identifiers for tracks.

The implementation includes:
- Support for @CompileTimeConstant for static track names in Java.
- Cache collision fixes between static and non-static tracks in Java.
- Additive C API extensions to support static names in the shared library.
- Restored missing tests and added new cache collision tests.
- Updated gen_android_bp to handle error_prone_annotations dependency.
@github-actions
Copy link

🎨 Perfetto UI Builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant