diff options
author | Pu Lehui <[email protected]> | 2024-08-31 04:19:32 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-09-04 17:06:06 -0700 |
commit | 9ab94078e868a45cbd23828b8377600b83a41fac (patch) | |
tree | 0300e1cd697e491014a45689f0ce1db2375cc028 /drivers/usb/cdns3/cdns3-plat.c | |
parent | e4db2a821b6cff4bd59c0efabdbfdd84ac6005c1 (diff) |
libbpf: Access first syscall argument with CO-RE direct read on arm64
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]>
Acked-by: Xu Kuohai <[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