diff options
| author | Konstantin Khlebnikov <[email protected]> | 2020-04-08 18:13:10 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2020-05-01 17:15:40 +0000 |
| commit | fdc63ff0e49c588884992b4b2656345a5e878b32 (patch) | |
| tree | f0cf6b62435dde407cb82de0cf4d7b7b5f56f20a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | x86/mm/cpa: Flush direct map alias during cpa (diff) | |
| download | kernel-fdc63ff0e49c588884992b4b2656345a5e878b32.tar.gz kernel-fdc63ff0e49c588884992b4b2656345a5e878b32.zip | |
ftrace/x86: Fix trace event registration for syscalls without arguments
The refactoring of SYSCALL_DEFINE0() macros removed the ABI stubs and
simply defines __abi_sys_$NAME as alias of __do_sys_$NAME.
As a result kallsyms_lookup() returns "__do_sys_$NAME" which does not match
with the declared trace event name.
See also commit 1c758a2202a6 ("tracing/x86: Update syscall trace events to
handle new prefixed syscall func names").
Add __do_sys_ to the valid prefixes which are checked in
arch_syscall_match_sym_name().
Fixes: d2b5de495ee9 ("x86/entry: Refactor SYSCALL_DEFINE0 macros")
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Link: https://lkml.kernel.org/r/158636958997.7900.16485049455470033557.stgit@buzz
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
