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] Support more probe types and their combinations in a single BPF program #163

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

Comments

@JiriPavela
Copy link
Collaborator

JiriPavela commented Feb 3, 2024

Ktrace currently instruments all locations for a specific run using either only kprobes or kfuncs (fentry).

  • Check multi probe type (should be similar to SystemTap).
  • Add support for automated selection of the best probe type.
    • This will likely require some evaluation of probe type runtime or attachment overhead etc.
  • Add support for mixing different probe types in a single BPF program, e.g., for situations when kfunc does not support a particular location but kprobe does.
  • Consider adding support for uprobes as well, so we can get more precise traces originating from the benchmark itself.

There might be an issue with using kfunc (despite listed for kfunc) and it might fail on bpf-attachment/loading.

@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