android_system_bpf/progs
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
..
Android.bp New bpfloader netd kernel program 2019-01-07 20:17:42 -05:00
netd.c New bpfloader netd kernel program 2019-01-07 20:17:42 -05:00
netd.h Do not take cumulative network stats anymore 2019-01-22 18:40:10 -08:00