commit | 79ce874e8f33b4b903adef9d0b4d59aed92bd31b | [log] [tgz] |
---|---|---|
author | Ryan Zuklie <rzuklie@google.com> | Mon Nov 21 17:19:25 2022 -0800 |
committer | Ryan Zuklie <rzuklie@google.com> | Mon Nov 28 11:06:30 2022 -0800 |
tree | 77e5d53a6cd568779d74979e80941443b90d4b7a | |
parent | 8228246ad0de9f16d245e23c8066c8f806c1e1ac [diff] |
Add macro to create BPF ring buffers. BPF ring buffers are defined like maps, but cannot specify a key or value size (attempting to do so is a verifier error). This change also adds the type-safe methods for interacting with the map (output, reserve and submit). Bug: 246985031 Test: local run of Network Tracing w/ ring buffers Change-Id: Ie8a47d987be6cb219fe7d73f2c61a56e3a3ab21a