Skip to content

Optimize arg retrieval from stack #121

Description

@kvanhees

Right now we have a loop over the argN values that need to be retrieved from the stack, and retrieve them one by one, using the bpf_probe_read_kernel helper. But, since the values will be in consecutive stack slots and we are going to store them in consecutive slots in the mstate, we can simply do a larger read using a single helper call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions