diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-11-07 21:11:31 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-11-09 18:26:45 +0000 |
| commit | eb146eaf8a525cbaaf511a013d0dbb70bb1207b9 (patch) | |
| tree | 55015bdf9bdfa59baca350b80a29176d68151784 /vm | |
| parent | ec3b566eb26bbe8fa4cf8a9f8625712a21286bf7 (diff) | |
sys/linux: describe BPF helper bpf_ringbuf_output
This helper has the prototype:
bpf_ringbuf_output(void *ringbuf, void *data, u64 size, u64 flags)
We need to prepare the second argument (R2) on the stack. We use an
8 bytes data value initialized to some random value on the stack and
pointed to by R2. The third argument therefore needs to be 8 (for 8
bytes).
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'vm')
0 files changed, 0 insertions, 0 deletions
