Skip to content

Improve Kprobe with symbol table to provide real dynamic tracing #130

Description

@louisom

At this moment, f9-kernel Kprobe approach was using function address in kernel,
we can saw it at kernel/sampling-kdb.c for the example.

Compare to Linux kernel Kprobe, it was using symbol name for user space program to insert the kprobe into kernel:

struct kprobe kp = {
    .symbol_name    = "_do_fork",
};

After reviewing, f9-kernel already provide the infrastructure ksym for this approach, we can take time and improve Kprobe for real dynamic tracing in user space.

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