commit | dc4e3253ddee699cdbb8ac659fab8662353c9194 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Fri Dec 22 11:00:52 2017 -0800 |
committer | Chenbo Feng <fengc@google.com> | Tue Jan 23 05:52:09 2018 +0000 |
tree | 641302741c8e434ab25250fec9e99fd8951eb8e4 | |
parent | 07d43fe9114880acb501e60dc6b537ae0e893064 [diff] |
Add unit test for bpf helper function These unit tests verify the behavior of NetworkStats helper function. It uses fake maps to simulate the result of network trafffic stats and verify the result from helper function is consistent. Test: compile and run libbpf_test. Bug: 30950746 Change-Id: I0fcd43e2aedcf7337c6fb78048d9725d18423127