aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-12-22 13:39:23 -0800
committerAlexei Starovoitov <[email protected]>2021-12-28 19:14:44 -0800
commit3cc31d794097a0de5ac619d4a20b1975139e6b05 (patch)
treebfbac52f8f66f82330814ea81986734083f3f64a /net/unix/sysctl_net_unix.c
parentecf45e60a62dfeb65658abac02f0bdb45b786911 (diff)
libbpf: Normalize PT_REGS_xxx() macro definitions
Refactor PT_REGS macros definitions in bpf_tracing.h to avoid excessive duplication. We currently have classic PT_REGS_xxx() and CO-RE-enabled PT_REGS_xxx_CORE(). We are about to add also _SYSCALL variants, which would require excessive copying of all the per-architecture definitions. Instead, separate architecture-specific field/register names from the final macro that utilize them. That way for upcoming _SYSCALL variants we'll be able to just define x86_64 exception and otherwise have one common set of _SYSCALL macro definitions common for all architectures. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Tested-by: Ilya Leoshkevich <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Ilya Leoshkevich <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions