Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 84885396 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Maciej Zenczykowski
Browse files

Convert bpf_update_stats to use type safe accessors



Unfortunately no way to do this in C without another macro.

Note: this doesn't result in any more code being generated, since
these were already being inlined at every invocation point, so the
code duplication is only at the source level, and even there it
is hidden behind the macro.

Test: atest libbpf_android_test libnetdbpf_test netd_integration_test netd_unit_test netdutils_test resolv_integration_test resolv_unit_test
Bug: 130746652
Bug: 131268436
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: Idcd903290fd36ac02d5fb6d98fe5bb809d4ec415
Merged-In: Idcd903290fd36ac02d5fb6d98fe5bb809d4ec415
(cherry picked from commit 0f24d323)
parent a9d38f14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment