Searched refs:log_buf_sz (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | log_buf.c | 35 const size_t log_buf_sz = 1024 * 1024; in obj_load_log_buf() local 40 obj_log_buf = malloc(3 * log_buf_sz); in obj_load_log_buf() 44 good_log_buf = obj_log_buf + log_buf_sz; in obj_load_log_buf() 45 bad_log_buf = obj_log_buf + 2 * log_buf_sz; in obj_load_log_buf() 49 opts.kernel_log_size = log_buf_sz; in obj_load_log_buf() 60 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf() 63 bpf_program__set_log_buf(skel->progs.bad_prog, bad_log_buf, log_buf_sz); in obj_load_log_buf() 111 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf() 153 const size_t log_buf_sz = 1024 * 1024; in bpf_prog_load_log_buf() local 157 log_buf = malloc(log_buf_sz); in bpf_prog_load_log_buf() [all …]
|
H A D | kfunc_call.c | 14 static size_t log_buf_sz = 1048576; /* 1 MB */ variable 165 opts.kernel_log_size = log_buf_sz; in verify_fail()
|
H A D | tc_opts.c | 2389 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/tools/testing/selftests/bpf/ |
H A D | testing_helpers.h | 22 size_t log_buf_sz);
|
H A D | test_loader.c | 95 tester->log_buf_sz = TEST_LOADER_LOG_BUF_SZ; in tester_init() 96 tester->log_buf = calloc(tester->log_buf_sz, 1); in tester_init() 619 bpf_program__set_log_buf(prog, tester->log_buf, tester->log_buf_sz); in prepare_case() 975 tester->log_buf, tester->log_buf_sz); in run_subtest() 984 tester->log_buf, tester->log_buf_sz); in run_subtest()
|
H A D | testing_helpers.c | 327 size_t log_buf_sz) in bpf_test_load_program() argument 334 .log_size = log_buf_sz, in bpf_test_load_program()
|
H A D | test_progs.h | 457 size_t log_buf_sz; member
|
/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 105 char *log_buf, size_t log_buf_sz) in probe_prog_load() argument 109 .log_size = log_buf_sz, in probe_prog_load()
|
/linux/tools/bpf/bpftool/ |
H A D | feature.c | 515 char *log_buf, size_t log_buf_sz, in probe_prog_load_ifindex() argument 520 .log_size = log_buf_sz, in probe_prog_load_ifindex()
|
H A D | prog.c | 1873 int log_buf_sz = (1u << 24) - 1; in try_loader() local 1882 ctx->log_size = log_buf_sz; in try_loader() 1883 log_buf = malloc(log_buf_sz); in try_loader()
|