Lines Matching refs:opts
34 LIBBPF_OPTS(bpf_object_open_opts, opts); in obj_load_log_buf()
48 opts.kernel_log_buf = obj_log_buf; in obj_load_log_buf()
49 opts.kernel_log_size = log_buf_sz; in obj_load_log_buf()
50 opts.kernel_log_level = 4; /* for BTF this will turn into 1 */ in obj_load_log_buf()
55 skel = test_log_buf__open_opts(&opts); in obj_load_log_buf()
102 opts.kernel_log_buf = NULL; /* let everything through into print callback */ in obj_load_log_buf()
103 opts.kernel_log_size = 0; in obj_load_log_buf()
104 opts.kernel_log_level = 1; in obj_load_log_buf()
106 skel = test_log_buf__open_opts(&opts); in obj_load_log_buf()
152 LIBBPF_OPTS(bpf_prog_load_opts, opts); in bpf_prog_load_log_buf()
160 opts.log_buf = log_buf; in bpf_prog_load_log_buf()
161 opts.log_size = log_buf_sz; in bpf_prog_load_log_buf()
165 opts.log_level = 0; in bpf_prog_load_log_buf()
167 good_prog_insns, good_prog_insn_cnt, &opts); in bpf_prog_load_log_buf()
176 opts.log_level = 2; in bpf_prog_load_log_buf()
178 good_prog_insns, good_prog_insn_cnt, &opts); in bpf_prog_load_log_buf()
187 opts.log_level = 0; in bpf_prog_load_log_buf()
189 bad_prog_insns, bad_prog_insn_cnt, &opts); in bpf_prog_load_log_buf()
201 LIBBPF_OPTS(bpf_btf_load_opts, opts); in bpf_btf_load_log_buf()
222 opts.log_buf = log_buf; in bpf_btf_load_log_buf()
223 opts.log_size = log_buf_sz; in bpf_btf_load_log_buf()
227 opts.log_level = 0; in bpf_btf_load_log_buf()
228 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
237 opts.log_level = 2; in bpf_btf_load_log_buf()
238 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
255 opts.log_level = 0; in bpf_btf_load_log_buf()
256 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()