ilammy / ftrace-hook

Using ftrace for function hooking in Linux kernel
GNU General Public License v2.0
252 stars 70 forks source link

Compilation warnings #14

Open VISION-183 opened 2 years ago

VISION-183 commented 2 years ago

@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'