Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Latest commit

 

History

History
12 lines (10 loc) · 356 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 356 Bytes

xdptrace (prototype)

A tcpdump-like tool, attaches to XDP programs and traces packets as they traverse a tail-call based pipeline.

The tool depends on the tracee coperation. Specifically, cooperating XDP programs must define and invoke

int xdp_trace_entry__(struct xdp_md *ctx);
int xdp_trace_exit__(struct xdp_md *ctx, int res);

subprograms.