Skip to content

[Feature] Replace context structs for tracepoint/syscall programs #12776

Closed

Description

@tsint

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Referencing this issue comment, to avoid the impact of buggy kernels, it is recommended to use struct syscall_trace_exit to prevent issues where incorrect offset calculations lead to the verifier rejecting the BPF progs loading.

Use case

replace struct trace_point_common_exit with struct syscall_trace_exit

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Activity

  1. added
    feature
    on Nov 15, 2024
  2. added
    agent
    Rover
    on Nov 15, 2024
  3. wu-sheng commented on Nov 15, 2024

    @wu-sheng
    Member

    @mrproliu Here is another proposal.

  4. mrproliu commented on Nov 15, 2024

    @mrproliu
    Contributor

    Yes, we can do this. Please go ahead on this, thanks.

  5. tsint commented on Nov 19, 2024

    @tsint
    Author

    Yes, we can do this. Please go ahead on this, thanks.

    Don't mention it. The tracepoints for syscalls are quite numerous. To avoid introducing issues with the modifications, I need some additional time to carefully make adjustments.

  6. wu-sheng commented on Nov 19, 2024

    @wu-sheng
    Member

    I could move this as there is not estimated time and plan for this.

  7. locked and limited conversation to collaborators on Nov 19, 2024
  8. converted this issue into a discussion #12779 on Nov 19, 2024
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

    Roveragentfeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions