Searched refs:log_buf_size (Results 1 – 5 of 5) sorted by relevance
659 int bpf_load_btf(void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size, in bpf_load_btf() argument669 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()
269 static const int log_buf_size = 16 * 1024; in xsk_load_xdp_prog() local270 char log_buf[log_buf_size]; in xsk_load_xdp_prog()311 log_buf_size); in xsk_load_xdp_prog()
169 __u32 log_buf_size, bool do_log);
586 __u32 log_buf_size = BPF_LOG_BUF_SIZE; in btf__load() local593 log_buf = malloc(log_buf_size); in btf__load()600 log_buf, log_buf_size, false); in btf__load()
3361 int log_buf_size = BPF_LOG_BUF_SIZE; in load_program() local3394 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()