commit | 7cb814aa978f49c64a54ed553c45f473086bb472 | [log] [tgz] |
---|---|---|
author | Carlos Galo <[email protected]> | Wed Feb 07 22:13:11 2024 +0000 |
committer | Carlos Galo <[email protected]> | Fri Feb 09 15:12:24 2024 -0800 |
tree | 70530fcd39005a1e4cc578eef9350d337fac5e14 | |
parent | 50a94ed5167c86ed7375bdbd983ec203b477b948 [diff] |
memevents: API to expose client's bpf ring buffer fd Adding a new API to allow for a MemEventClient to fetch their corresponding bpf ring-buffer file descriptor. This will allow clients, such as LMKD, to insert the fd into their polling instance, without the need to create a new thread to utilize the current `listen()` API. Bug: 244232958 Test: atest memevents_test Change-Id: Ie57499f25c8af8a636fd25b94c3f2217ea352158 Signed-off-by: Carlos Galo <[email protected]>