Skip to content

post handler for kprobe incorrectly defined #5

Description

@ashwin-h

* This probe runs immediately after the function "do_sys_open()" completes.

In this line it is mentioned that handler is called post do_sys_open. But as per kernel documentation, it is mentioned that post handler is called immediately after the instruction replaced by breakpoint instruction is executed. This needs to be corrected.

Pls check
https://docs.kernel.org/trace/kprobes.html

After the instruction is single-stepped, Kprobes executes the "post_handler," if any, that is associated with the kprobe. Execution then continues with the instruction following the probepoint.

Activity

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