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

kprobe: fails when debugfs isn't mounted, use alternate #108

Open
kaiwan opened this issue Oct 11, 2021 · 0 comments
Open

kprobe: fails when debugfs isn't mounted, use alternate #108

kaiwan opened this issue Oct 11, 2021 · 0 comments

Comments

@kaiwan
Copy link

kaiwan commented Oct 11, 2021

It's possible - especially on a production kernel - that CONFIG_DEBUG_FS_DISALLOW_MOUNT=y ;
which implies that though the debugfs filesystem's APIs are available, the filesystem itself isn't mounted - it's invisible. Take this into account, else the script won't work on such systems.
(Will setup a PR for this)

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

1 participant