On Thu, 29 Nov 2018 16:53:30 +0000 Catalin Marinas <catalin.marinas@xxxxxxx> wrote: > On Thu, Nov 29, 2018 at 02:39:33PM +0900, Masami Hiramatsu wrote: > > Since commit 4378a7d4be30 ("arm64: implement syscall wrappers") > > introduced "__arm64_" prefix to all syscall wrapper symbols in > > sys_call_table, syscall tracer can not find corresponding > > metadata from syscall name. In the result, we have no syscall > > ftrace events on arm64 kernel, and some bpf testcases are failed > > on arm64. > > > > To fix this issue, this introduces custom > > arch_syscall_match_sym_name() which skips first 8 bytes when > > comparing the syscall and symbol names. > > > > Fixes: 4378a7d4be30 ("arm64: implement syscall wrappers") > > Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> > > Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx> > > Acked-by: Will Deacon <will.deacon@xxxxxxx> > > Tested-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> > > Cc: stable@xxxxxxxxxxxxxxx > > Queued for 4.20. Thanks. Thank you Catalin! > > -- > Catalin -- Masami Hiramatsu <mhiramat@xxxxxxxxxx>