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

Using debuginfo for pid provider probes #97

Open
thesamesam opened this issue Aug 28, 2024 · 2 comments
Open

Using debuginfo for pid provider probes #97

thesamesam opened this issue Aug 28, 2024 · 2 comments

Comments

@thesamesam
Copy link

See also #84 and #96.

With SystemTap, one can attach based on line number and function name if debug info is available, AFAIK (https://blogs.oracle.com/linux/post/getting-started-with-systemtap-on-oracle-linux).

I see two usecases:

  1. Printing argument or variable contents (not having to lookup which argument path is)
  2. Being able to add a probe which I could already do via instruction offsets in a more friendly manner
@thesamesam
Copy link
Author

thesamesam commented Aug 28, 2024

I think stap supports this for the kernel side too but AFAIK CTF & BTF don't have the needed information and I think it has less value there anyway given there's more probes, so I think I'm only interested in the userland side.

@kvanhees
Copy link
Member

kvanhees commented Aug 28, 2024 via email

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

No branches or pull requests

2 participants