Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in tracing #15

Closed
shuhaowu opened this issue Jan 6, 2023 · 0 comments · Fixed by #36
Closed

Built-in tracing #15

shuhaowu opened this issue Jan 6, 2023 · 0 comments · Fixed by #36

Comments

@shuhaowu
Copy link
Contributor

shuhaowu commented Jan 6, 2023

The framework should be able to automatically trace regions of application run similar to Golang's trace region API: https://pkg.go.dev/runtime/trace#hdr-User_annotation. The application can then leverage the same system to create even more detailed traces.

One possible way to do this is via LTTng-UST. Another way to do this is via Perfetto. The former should be lock-free and constant time, the latter should also be. However, the latter uses string interning internally and it's unclear how that affects the worst-case runtime of the trace API calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant