Searched refs:log_buf_size (Results 1 – 2 of 2) sorted by relevance
14 static void bad_core_relo(size_t log_buf_size, enum trunc_type trunc_type) in bad_core_relo() argument26 bpf_program__set_log_buf(skel->progs.bad_relo, log_buf, log_buf_size ?: sizeof(log_buf)); in bad_core_relo()
7457 size_t log_buf_size = 0; in bpf_object_load_prog() local7545 log_buf_size = prog->log_size; in bpf_object_load_prog()7549 log_buf_size = obj->log_size; in bpf_object_load_prog()7552 log_buf_size = max((size_t)BPF_LOG_BUF_SIZE, log_buf_size * 2); in bpf_object_load_prog()7553 tmp = realloc(log_buf, log_buf_size); in bpf_object_load_prog()7565 load_attr.log_size = log_buf_size; in bpf_object_load_prog()7608 if (own_log_buf && errno == ENOSPC && log_buf_size <= UINT_MAX / 2) in bpf_object_load_prog()7614 fixup_verifier_log(prog, log_buf, log_buf_size); in bpf_object_load_prog()