Home
last modified time | relevance | path

Searched refs:log_buf_size (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/tools/lib/bpf/
Dbpf.c659 int bpf_load_btf(void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size, in bpf_load_btf() argument
669 if (do_log && log_buf && log_buf_size) { in bpf_load_btf()
671 attr.btf_log_size = log_buf_size; in bpf_load_btf()
676 if (fd == -1 && !do_log && log_buf && log_buf_size) { in bpf_load_btf()
Dxsk.c269 static const int log_buf_size = 16 * 1024; in xsk_load_xdp_prog() local
270 char log_buf[log_buf_size]; in xsk_load_xdp_prog()
311 log_buf_size); in xsk_load_xdp_prog()
Dbpf.h169 __u32 log_buf_size, bool do_log);
Dbtf.c586 __u32 log_buf_size = BPF_LOG_BUF_SIZE; in btf__load() local
593 log_buf = malloc(log_buf_size); in btf__load()
600 log_buf, log_buf_size, false); in btf__load()
Dlibbpf.c3361 int log_buf_size = BPF_LOG_BUF_SIZE; in load_program() local
3394 log_buf = malloc(log_buf_size); in load_program()
3398 ret = bpf_load_program_xattr(&load_attr, log_buf, log_buf_size); in load_program()
3409 log_buf_size <<= 1; in load_program()