Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ext4slower doesn't work and the error message is not very helpful #1391
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 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: