ftrace-hook icon indicating copy to clipboard operation
ftrace-hook copied to clipboard

can not work on arm64

Open xvim opened this issue 4 years ago • 2 comments

I want to function hooking on arm64 but the code build fail

xvim avatar Nov 25 '21 12:11 xvim

Uh... Yeah, I've tested this only on x86_64 since that's the hardware I have. Sorry, I was not an expert at arm64 at the time and I'm not one now either. I believe it has a chance at working on arm64 though, if you let the code compile there, ftrace is a generic framework after all.

Have you tried removing the CONFIG_X86_64 guard check?

https://github.com/ilammy/ftrace-hook/blob/ff7bad4cd3de3d5ed8fe2baf8a1676d1cec7b5d8/ftrace_hook.c#L224-L226

ilammy avatar Nov 27 '21 12:11 ilammy