Skip to content

Using debuginfo for pid provider probes #97

Description

@thesamesam

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

Activity

  1. thesamesam commented on Aug 28, 2024

    @thesamesam
    ContributorAuthor

    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.

  2. kvanhees commented on Aug 28, 2024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions