ilammy / ftrace-hook

Using ftrace for function hooking in Linux kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation warnings

VISION-183 opened this issue · comments

@ilammy

Moudle works ! but compilation has some warning ...

make -C /lib/modules/5.15.0-46-generic/build M=/root/test modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-46-generic'
CC [M] /root/test/ftrace_hook.o
/root/test/ftrace_hook.o: warning: objtool: duplicate_filename()+0x1d: call without frame pointer save/setup
/root/test/ftrace_hook.o: warning: objtool: fh_sys_execve()+0x10: call without frame pointer save/setup
/root/test/ftrace_hook.o: warning: objtool: fh_init()+0x13: call without frame pointer save/setup
/root/test/ftrace_hook.o: warning: objtool: fh_exit()+0xc: call without frame pointer save/setup
/root/test/ftrace_hook.o: warning: objtool: fh_sys_clone()+0x11: call without frame pointer save/setup
MODPOST /root/test/Module.symvers
CC [M] /root/test/ftrace_hook.mod.o
LD [M] /root/test/ftrace_hook.ko
BTF [M] /root/test/ftrace_hook.ko
Skipping BTF generation for /root/test/ftrace_hook.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-46-generic'