Re: File not found: /sys/kernel/debug/tracing/events/syscalls

From: Masami Hiramatsu
Date: Tue Nov 27 2018 - 11:11:37 EST


Hi,

I found that the commit 4378a7d4be30 ("arm64: implement syscall
wrappers") changed
the syscall wrapper function names by adding __arm64_ prefix. So arm64
kernel should
have its own arch_syscall_match_sym_name().

Thank you,

2018å11æ28æ(æ) 0:22 Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>:
>
> While debugging the selftests/bpf: get_cgroup_id_user test failure on arm64
> where the test is expecting trace file
> /sys/kernel/debug/tracing/events/syscalls/sys_enter_nanosleep/id
> but this path not enabled after enabling required kernel configuration also.
> CONFIG_FTRACE_SYSCALLS=y
>
> strace output:
> open(\"/sys/kernel/debug/tracing/events/syscalls/sys_enter_nanosleep/id\",
> O_RDONLY) = -1 ENOENT (No such file or directory)
>
> This problem noticed on Linux mainline kernel version 4.20.0-rc3.
>
> Best regards
> Naresh Kamboju



--
Masami Hiramatsu