commit | 05be2f52fd7af9a02d00e58311bbfea9a0a19821 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Jun 02 13:24:21 2024 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Jun 05 06:48:27 2024 +0000 |
tree | ca5ce5857d3c508b3409e0e273d01c395f30c392 | |
parent | 05a3e88e6253e64ca912f287d36b299690aad139 [diff] |
Add a SingleWriterBpfMap class that caches reads. This should speed up BPF map reads by returning the cached value without needing a system call. Bug: 343166906 Test: added parameterization to BpfMapTest Change-Id: Ifc0c5baa80f6d46356434c249749e87fe2f9ec6c