Increase the log size for larger bpf programs
Test: Build passes, bpf program loads without an out of space error Bug: 203462310 Change-Id: I5f67021a530223467662f341cdfffc4816781078
This commit is contained in:
parent
bf05d42ef4
commit
eb61b739ae
1 changed files with 3 additions and 3 deletions
|
|
@ -28,9 +28,9 @@
|
|||
#include <sys/utsname.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// This is BpfLoader v0.3
|
||||
// This is BpfLoader v0.4
|
||||
#define BPFLOADER_VERSION_MAJOR 0u
|
||||
#define BPFLOADER_VERSION_MINOR 3u
|
||||
#define BPFLOADER_VERSION_MINOR 4u
|
||||
#define BPFLOADER_VERSION ((BPFLOADER_VERSION_MAJOR << 16) | BPFLOADER_VERSION_MINOR)
|
||||
|
||||
#include "../progs/include/bpf_map_def.h"
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
#define BPF_FS_PATH "/sys/fs/bpf/"
|
||||
|
||||
// Size of the BPF log buffer for verifier logging
|
||||
#define BPF_LOAD_LOG_SZ 0x1ffff
|
||||
#define BPF_LOAD_LOG_SZ 0xfffff
|
||||
|
||||
using android::base::StartsWith;
|
||||
using android::base::unique_fd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue