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
1 file changed
tree: 77e5d53a6cd568779d74979e80941443b90d4b7a
  1. staticlibs/