android_system_bpf/libbpf_android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chenbo Feng 9cd8f14ed0 Do not take cumulative network stats anymore
Use two maps to record the details of network stats and swap and clean
up after system server pulls the stats. The kernel program checks the
bpf map currently enabled before updating the stats and updates on the
corresponding map. Remove the TAG_STATS_MAP since we don't need to worry
about uid stats overflow problem. All the stats can be stored in the
same map until system server scrapes the stats and clean it up.

Bug: 79171384
Test: dumpsys netd trafficcontroller
      CtsUsageStatsTestCases

Change-Id: Ic79e382f51bf21eee78c4cac5a8a97edaf3654cd
2019-01-22 18:40:10 -08:00
..
include Do not take cumulative network stats anymore 2019-01-22 18:40:10 -08:00
Android.bp Initial checkin for relocatable ELF loader and link with bcc 2018-12-17 22:27:56 +00:00
BpfMapTest.cpp Code style clean up 2018-11-28 11:31:36 -08:00
BpfUtils.cpp Do not take cumulative network stats anymore 2019-01-22 18:40:10 -08:00
Loader.cpp Initial checkin for relocatable ELF loader and link with bcc 2018-12-17 22:27:56 +00:00
LoaderUtils.h Initial checkin for relocatable ELF loader and link with bcc 2018-12-17 22:27:56 +00:00