diff options
| author | Ken Chen <cken@google.com> | 2021-10-25 17:19:12 +0800 |
|---|---|---|
| committer | Ken Chen <cken@google.com> | 2021-11-23 04:03:50 +0000 |
| commit | ed730a296147b9459ca161d43ca78194f4cc93f4 (patch) | |
| tree | 85d2494d18d1fbdb107f3a57104fee6a79a88fa2 /server/InterfaceController.cpp | |
| parent | c92fd63edff3d63ea7506ce2f95162a3ad55a96f (diff) | |
[NETD-BPF#9] bpf_benchmark links liblog
1. bpf_benchmark needs to link liblog because some functions it used are
moved from BpfUtils.cpp to BpfUtils.h. These functions use ALOGX().
2. Move LOG_TAG in TcUtils.cpp to first line to avoid LOG_TAG
redefinition. LOG_TAG should be defined before including headers.
Otherwise, LOG_TAG may have been defined as NULL (by log.h) in included
headers. It causes redefinition warning when cpp file tries to define
LOG_TAG again.
Bug: 202086915
Test: build; flash; cd system/netd; atest
Change-Id: I12c54e9e2d91083cf752c3cad5a9c4ec0d5fd6f2
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
