Skip to content

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

@kaiwan

Description

@kaiwan

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions