Home
last modified time | relevance | path

Searched refs:log_buf_sz (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dlog_buf.c34 const size_t log_buf_sz = 1024 * 1024; in obj_load_log_buf() local
39 obj_log_buf = malloc(3 * log_buf_sz); in obj_load_log_buf()
43 good_log_buf = obj_log_buf + log_buf_sz; in obj_load_log_buf()
44 bad_log_buf = obj_log_buf + 2 * log_buf_sz; in obj_load_log_buf()
48 opts.kernel_log_size = log_buf_sz; in obj_load_log_buf()
59 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf()
62 bpf_program__set_log_buf(skel->progs.bad_prog, bad_log_buf, log_buf_sz); in obj_load_log_buf()
110 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf()
152 const size_t log_buf_sz = 1024 * 1024; in bpf_prog_load_log_buf() local
156 log_buf = malloc(log_buf_sz); in bpf_prog_load_log_buf()
[all …]
Ddynptr.c8 static size_t log_buf_sz = 1048576; /* 1 MB */ variable
60 opts.kernel_log_size = log_buf_sz; in verify_fail()
Dkfunc_dynptr_param.c13 static size_t log_buf_sz = 1048576; /* 1 MB */ variable
53 opts.kernel_log_size = log_buf_sz; in verify_fail()
Dkfunc_call.c14 static size_t log_buf_sz = 1048576; /* 1 MB */ variable
161 opts.kernel_log_size = log_buf_sz; in verify_fail()
Duser_ringbuf.c22 static size_t log_buf_sz = 1 << 20; /* 1 MB */ variable
709 opts.kernel_log_size = log_buf_sz; in verify_fail()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtesting_helpers.h14 size_t log_buf_sz);
Dtesting_helpers.c220 size_t log_buf_sz) in bpf_test_load_program() argument
227 .log_size = log_buf_sz, in bpf_test_load_program()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf_probes.c22 char *log_buf, size_t log_buf_sz) in probe_prog_load() argument
26 .log_size = log_buf_sz, in probe_prog_load()
/linux-6.1.9/tools/bpf/bpftool/
Dfeature.c519 char *log_buf, size_t log_buf_sz, in probe_prog_load_ifindex() argument
524 .log_size = log_buf_sz, in probe_prog_load_ifindex()
Dprog.c1768 int log_buf_sz = (1u << 24) - 1; in try_loader() local
1777 ctx->log_size = log_buf_sz; in try_loader()
1778 log_buf = malloc(log_buf_sz); in try_loader()
/linux-6.1.9/tools/perf/util/
Dbpf-event.c42 char *log_buf, size_t log_buf_sz);