Commit Graph

5 Commits (d1457acc6d2c98d163e4f7694fefc73d5276b3eb)

Author SHA1 Message Date
Zero King 95e1763e30 aya-ebpf: Add set_reply accessor to SockOpsContext
Billy McFall b513af12e8 aya: add archs powerpc64 and s390x to aya
bpfman, a project using aya, has a requirement to support powerpc64 and
s390x architectures. Adding these two architectures to aya.

Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
tyrone-wu 2d38b23b99 aya-ebpf/programs: moved ret from ProbeContext into new RetProbeContext
Created retprobe.rs to hold RetProbeContext and moved the ret from
ProbeContext in probe.rs into RetProbeContext. Now, only kprobe (which
uses ProbeContext) can access args, and kretprobe (which uses
RetProbeContext) can access ret.

Fixes: 
Dave Tucker d7af6acb42 chore(aya-ebpf): Rename BpfContext -> EbpfContext
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Dave Tucker 41c61560ea chore(aya-ebpf): Rename bpf -> ebpf
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>