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()
6888 size_t log_buf_size = 0; in bpf_object_load_prog() local6962 log_buf_size = prog->log_size; in bpf_object_load_prog()6966 log_buf_size = obj->log_size; in bpf_object_load_prog()6969 log_buf_size = max((size_t)BPF_LOG_BUF_SIZE, log_buf_size * 2); in bpf_object_load_prog()6970 tmp = realloc(log_buf, log_buf_size); in bpf_object_load_prog()6982 load_attr.log_size = log_buf_size; in bpf_object_load_prog()7026 if (own_log_buf && errno == ENOSPC && log_buf_size <= UINT_MAX / 2) in bpf_object_load_prog()7032 fixup_verifier_log(prog, log_buf, log_buf_size); in bpf_object_load_prog()