commit | dbbc000ae4e450b4b4ac9d545d0d1c3995949f89 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Thu Apr 12 19:05:19 2018 -0700 |
committer | Chenbo Feng <fengc@google.com> | Tue May 01 18:16:17 2018 -0700 |
tree | 8b9c292d95f36ced6051fb17f7418fd6c14be48b | |
parent | ef1cab3a984a21e807d3a28987e6d5793b04a039 [diff] |
Merge all bpf programs into one Multiple bpf program can be stored the same binary and we can extract them one by one according to their function name elf header at run time. Store them in one file can reduce the load time by only open one binary file once. Rewrite the elf parser with Slice support. Test: phone boot and eBPF program is loaded and pinned. Bug: 78132446 Change-Id: I96dba91a69654fcac2c022100e954d8b0c4e0718