/external/strace/tests-mx32/ |
D | bpf-obj_get_info_by_fd.c | 183 static char log_buf[4096]; variable 197 if (size > offsetof(struct BPF_PROG_LOAD_struct, log_buf)) in print_prog_load() 199 sizeof(log_buf)); in print_prog_load() 258 .log_size = sizeof(log_buf), in main() 259 .log_buf = (uintptr_t) log_buf, in main() 268 offsetofend(struct BPF_PROG_LOAD_struct, log_buf), in main() 289 log_buf); in main()
|
D | bpf.c | 506 static char *log_buf; variable 516 if (!log_buf) in get_log_buf() 517 log_buf = tail_alloc(log_buf_size); in get_log_buf() 518 return log_buf; in get_log_buf() 544 attr->log_buf = (uintptr_t) get_log_buf_tail(); in init_BPF_PROG_LOAD_attr3() 567 attr->log_buf = (uintptr_t) get_log_buf(); in init_BPF_PROG_LOAD_attr4() 570 strncpy(log_buf, "log test", 9); in init_BPF_PROG_LOAD_attr4() 602 .log_buf = 0, 621 .log_buf = 0xffffffff00000000,
|
/external/strace/tests-m32/ |
D | bpf-obj_get_info_by_fd.c | 183 static char log_buf[4096]; variable 197 if (size > offsetof(struct BPF_PROG_LOAD_struct, log_buf)) in print_prog_load() 199 sizeof(log_buf)); in print_prog_load() 258 .log_size = sizeof(log_buf), in main() 259 .log_buf = (uintptr_t) log_buf, in main() 268 offsetofend(struct BPF_PROG_LOAD_struct, log_buf), in main() 289 log_buf); in main()
|
D | bpf.c | 506 static char *log_buf; variable 516 if (!log_buf) in get_log_buf() 517 log_buf = tail_alloc(log_buf_size); in get_log_buf() 518 return log_buf; in get_log_buf() 544 attr->log_buf = (uintptr_t) get_log_buf_tail(); in init_BPF_PROG_LOAD_attr3() 567 attr->log_buf = (uintptr_t) get_log_buf(); in init_BPF_PROG_LOAD_attr4() 570 strncpy(log_buf, "log test", 9); in init_BPF_PROG_LOAD_attr4() 602 .log_buf = 0, 621 .log_buf = 0xffffffff00000000,
|
/external/strace/tests/ |
D | bpf-obj_get_info_by_fd.c | 183 static char log_buf[4096]; variable 197 if (size > offsetof(struct BPF_PROG_LOAD_struct, log_buf)) in print_prog_load() 199 sizeof(log_buf)); in print_prog_load() 258 .log_size = sizeof(log_buf), in main() 259 .log_buf = (uintptr_t) log_buf, in main() 268 offsetofend(struct BPF_PROG_LOAD_struct, log_buf), in main() 289 log_buf); in main()
|
D | bpf.c | 506 static char *log_buf; variable 516 if (!log_buf) in get_log_buf() 517 log_buf = tail_alloc(log_buf_size); in get_log_buf() 518 return log_buf; in get_log_buf() 544 attr->log_buf = (uintptr_t) get_log_buf_tail(); in init_BPF_PROG_LOAD_attr3() 567 attr->log_buf = (uintptr_t) get_log_buf(); in init_BPF_PROG_LOAD_attr4() 570 strncpy(log_buf, "log test", 9); in init_BPF_PROG_LOAD_attr4() 602 .log_buf = 0, 621 .log_buf = 0xffffffff00000000,
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_stub.c | 27 __u32 kern_version, char *log_buf, in bpf_test_load_program() argument 43 return bpf_load_program_xattr(&load_attr, log_buf, log_buf_sz); in bpf_test_load_program()
|
D | test_progs.c | 50 env.log_buf[env.log_cnt] = '\0'; in dump_test_log() 51 fprintf(env.stdout, "%s", env.log_buf); in dump_test_log() 52 if (env.log_buf[env.log_cnt - 1] != '\n') in dump_test_log() 506 stdout = open_memstream(&env.log_buf, &env.log_cnt); in stdio_hijack() 524 free(env.log_buf); in stdio_restore() 526 env.log_buf = NULL; in stdio_restore()
|
D | test_progs.h | 66 char *log_buf; member
|
D | test_verifier_log.c | 57 attr.log_buf = ptr_to_u64(log); in load()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_fanout.c | 132 static char log_buf[65536]; in sock_fanout_set_ebpf() local 154 attr.log_buf = (unsigned long) log_buf, in sock_fanout_set_ebpf() 155 attr.log_size = sizeof(log_buf), in sock_fanout_set_ebpf() 161 fprintf(stderr, "bpf verifier:\n%s\n", log_buf); in sock_fanout_set_ebpf()
|
D | reuseport_bpf_numa.c | 92 attr.log_buf = (unsigned long) &bpf_log_buf; in attach_bpf()
|
/external/bcc/src/cc/ |
D | libbpf.c | 487 int log_level, char *log_buf, unsigned log_buf_size) in bpf_prog_load() argument 515 log_buf[0] = 0; in bpf_prog_load() 516 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load() 528 attr.log_buf = ptr_to_u64(tmp_log_buf); in bpf_prog_load() 577 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load() 582 bpf_print_hints(ret, log_buf); in bpf_prog_load() 603 attr.log_buf = ptr_to_u64(tmp_log_buf); in bpf_prog_load() 623 if (log_buf && ret < 0) in bpf_prog_load() 624 bpf_print_hints(ret, log_buf); in bpf_prog_load()
|
D | libbpf.h | 62 int log_level, char *log_buf, unsigned log_buf_size);
|
/external/strace/ |
D | bpf_attr_check.c | 215 static_assert(SoM(struct BPF_PROG_LOAD_struct, log_buf) == SoM(union bpf_attr, log_buf), 217 static_assert(offsetof(struct BPF_PROG_LOAD_struct, log_buf) == offsetof(union bpf_attr, log_buf),
|
D | bpf_attr.h | 121 uint64_t ATTRIBUTE_ALIGNED(8) log_buf;
|
D | bpf.c | 289 print_big_u64_addr(attr.log_buf); in BEGIN_BPF_CMD_DECODER() 290 printstr_ex(tcp, attr.log_buf, attr.log_size, QUOTE_0_TERMINATED); in BEGIN_BPF_CMD_DECODER()
|
/external/ltp/testcases/kernel/syscalls/bpf/ |
D | bpf_prog01.c | 76 attr->log_buf = ptr_to_u64(log); in load_prog()
|
D | bpf_prog03.c | 97 attr->log_buf = ptr_to_u64(log); in load_prog()
|
D | bpf_prog02.c | 79 attr->log_buf = ptr_to_u64(log); in load_prog()
|
/external/elfutils/tests/ |
D | run-readelf-vmcoreinfo.sh | 97 SYMBOL(log_buf)=ffffffff81a532a8
|
/external/strace/m4/ |
D | bpf_attr.m4 | 43 union bpf_attr.log_buf,
|
/external/bcc/src/cc/includes/ |
D | libbpf.h | 62 int log_level, char *log_buf, unsigned log_buf_size);
|
/external/iproute2/include/uapi/linux/ |
D | bpf.h | 211 __aligned_u64 log_buf; /* user supplied buffer */ member
|
/external/ltp/include/lapi/ |
D | bpf.h | 209 aligned_uint64_t log_buf; /* user supplied buffer */ member
|