BPF (Debugging with GDB)

From Get docs
Gdb/docs/latest/gdb/BPF /
Revision as of 03:23, 6 December 2021 by Notes (talk | contribs) (Page commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Next: M68K, Previous: ARM, Up: Embedded Processors   [Contents][Index]

21.3.3 BPF

target sim [simargs] …
The GDB BPF simulator accepts the following optional arguments.
Tell the simulator the offset, measured in bytes, of the skb_data field in the kernel struct sk_buff structure. This offset is used by some BPF specific-purpose load/store instructions. Defaults to 0.