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

[Ktrace] Implement event parsing directly in the userspace C program #168

Open
JiriPavela opened this issue Feb 3, 2024 · 0 comments
Open

Comments

@JiriPavela
Copy link
Collaborator

JiriPavela commented Feb 3, 2024

Event records in Ktrace are being stored in a temporary data file and later parsed in Python. This is rather slow and processing the events directly in the userspace ktrace C program should be much faster. However, we might need larger BPF ring buffer to offset the slower event processing compared to simply storing the events in a file.

This could apply to other profilers (tracer+eBPF, tracer+PIN)

@JiriPavela JiriPavela converted this from a draft issue Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant