Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
louisom opened this issue Oct 12, 2016 · 1 comment
Open

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

louisom opened this issue Oct 12, 2016 · 1 comment

Comments

@louisom
Copy link
Contributor

louisom commented Oct 12, 2016

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.

@ab1aw
Copy link

ab1aw commented Mar 7, 2019

Hello, Has any work been done in this area - perhaps on one of the forks? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants