diff options
author | 2020-06-09 10:54:35 +0800 | |
---|---|---|
committer | 2025-02-21 17:46:30 +0100 | |
commit | 756276ce78d5624dc814f9d99f7d16c8fd51076e (patch) | |
tree | b44760f0ccaf9de41b77466350beda5da8b5d23e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mips: dts: realtek: Add restart to Cisco SG220-26P (diff) | |
download | wireguard-linux-756276ce78d5624dc814f9d99f7d16c8fd51076e.tar.xz wireguard-linux-756276ce78d5624dc814f9d99f7d16c8fd51076e.zip |
MIPS: Use arch specific syscall name match function
On MIPS system, most of the syscall function name begin with prefix
sys_. Some syscalls are special such as clone/fork, function name of
these begin with __sys_. Since scratch registers need be saved in
stack when these system calls happens.
With ftrace system call method, system call functions are declared with
SYSCALL_DEFINEx, metadata of the system call symbol name begins with
sys_. Here mips specific function arch_syscall_match_sym_name is used to
compare function name between sys_call_table[] and metadata of syscall
symbol.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions