-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
ext4slower doesn't work and the error message is not very helpful #1391
Comments
/cc @brendangregg |
The tool is checking to see if that symbol exists in the kernel, as a means to determine if you have the ext4 compiled or loaded so as to ensure that those kprobes can attach successfully to the necessary functions. The ext4_file_operations is a struct and should show up as a symbol of type 'd'. In all likelihood you need to compile the kernel with CONFIG_KALLSYMS_ALL option enabled to ensure that symbol table contains more than just text type symbols. |
Indeed, CONFIG_KALLSYMS_ALL is disabled:
I believe it worth adding a corresponding hint to the script:
|
Could you submit a formal patch for this? I think this is indeed helpful. |
Done. |
For the record - also I've contacted Tobias Powalowski, the maintainer of the |
For the record - updated PR is here #1408 |
Explain possible reason of an error in scripts that rely on /proc/kallsyms (fixes #1391)
Hi,
I would like to use ext4slower. I execute it like this:
... and it tells me:
It's not very helpful since I can't understand from this error message whether I should rebuild a kernel with some additional flags or do something else. Could you please add some hint text that would explain how to make ext4slower work?
The environment is Arch Linux x64, uname -a:
The text was updated successfully, but these errors were encountered: