Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
Dkfunc_call.c14 static size_t log_buf_sz = 1048576; /* 1 MB */ variable
163 opts.kernel_log_size = log_buf_sz; in verify_fail()
Dtc_opts.c2389 const size_t log_buf_sz = 256; in generate_dummy_prog() local
2390 char log_buf[log_buf_sz]; in generate_dummy_prog()
2394 opts.log_size = log_buf_sz; in generate_dummy_prog()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtesting_helpers.h19 size_t log_buf_sz);
Dtesting_helpers.c298 size_t log_buf_sz) in bpf_test_load_program() argument
305 .log_size = log_buf_sz, in bpf_test_load_program()
Dtest_loader.c71 tester->log_buf_sz = TEST_LOADER_LOG_BUF_SZ; in tester_init()
72 tester->log_buf = malloc(tester->log_buf_sz); in tester_init()
353 bpf_program__set_log_buf(prog, tester->log_buf, tester->log_buf_sz); in prepare_case()
Dtest_progs.h432 size_t log_buf_sz; member
/linux-6.6.21/tools/lib/bpf/
Dlibbpf_probes.c105 char *log_buf, size_t log_buf_sz) in probe_prog_load() argument
109 .log_size = log_buf_sz, in probe_prog_load()
/linux-6.6.21/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.c1862 int log_buf_sz = (1u << 24) - 1; in try_loader() local
1871 ctx->log_size = log_buf_sz; in try_loader()
1872 log_buf = malloc(log_buf_sz); in try_loader()