diff options
author | Pu Lehui <[email protected]> | 2024-08-31 04:19:31 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-09-04 17:05:30 -0700 |
commit | e4db2a821b6cff4bd59c0efabdbfdd84ac6005c1 (patch) | |
tree | 8b4d1d8e0deea1170be101f5e1114b2cce1cf4ae /drivers/usb/cdns3/cdns3-plat.c | |
parent | eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac (diff) |
libbpf: Access first syscall argument with CO-RE direct read on s390
Currently PT_REGS_PARM1 SYSCALL(x) is consistent with PT_REGS_PARM1_CORE
SYSCALL(x), which will introduce the overhead of BPF_CORE_READ(), taking
into account the read pt_regs comes directly from the context, let's use
CO-RE direct read to access the first system call argument.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Pu Lehui <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions