reduce error to warning - happens for valid progs-section-less programs
07-21 01:39:43.946 26835 26835 E LibBpfLoader: No progs section could be found in elf object 07-21 01:39:43.951 26835 26835 I bpfloader: Loaded object: /system/etc/bpf/clatd.o 07-21 01:39:43.955 26835 26835 I bpfloader: Loaded object: /system/etc/bpf/offload.o 07-21 01:39:43.958 26835 26835 I bpfloader: Loaded object: /system/etc/bpf/time_in_state.o 07-21 01:39:43.967 26835 26835 I bpfloader: Loaded object: /system/etc/bpf/netd.o Test: build, atest Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ie8413509f76741a66a4b00f0131a58e7ebdbae3f
This commit is contained in:
parent
07b874481f
commit
21f34cb32c
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ static int getSectionSymNames(ifstream& elfFile, const string& sectionName, vect
|
|||
|
||||
/* No section found with matching name*/
|
||||
if (sec_idx == -1) {
|
||||
ALOGE("No %s section could be found in elf object\n", sectionName.c_str());
|
||||
ALOGW("No %s section could be found in elf object\n", sectionName.c_str());
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue