diff options
author | Masami Hiramatsu <[email protected]> | 2018-11-29 14:39:33 +0900 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2018-11-29 16:53:10 +0000 |
commit | 874bfc6e5422d2421f7e4d5ea318d30e91679dfe (patch) | |
tree | bf59100e4453b8f2e4d5d0682d7354b0cd25dd6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ce8c80c536dac9f325a051b30bf7730ee505eddc (diff) |
arm64: ftrace: Fix to enable syscall events on arm64
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 <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Acked-by: Will Deacon <[email protected]>
Tested-by: Naresh Kamboju <[email protected]>
Cc: [email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions