Searched refs:jited_linfo (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | bpf_prog_linfo.c | 27 const __u64 *jited_linfo; in dissect_jited_func() local 38 jited_linfo = raw_jited_linfo; in dissect_jited_func() 39 if (ksym_func[0] != *jited_linfo) in dissect_jited_func() 50 last_jited_linfo = *jited_linfo; in dissect_jited_func() 51 jited_linfo = raw_jited_linfo; in dissect_jited_func() 53 if (ksym_func[f] == *jited_linfo) { in dissect_jited_func() 70 } else if (*jited_linfo <= last_jited_linfo) { in dissect_jited_func() 186 const __u64 *jited_linfo; in bpf_prog_linfo__lfind_addr_func() local 199 jited_linfo = raw_jited_linfo; in bpf_prog_linfo__lfind_addr_func() 200 if (addr < *jited_linfo) in bpf_prog_linfo__lfind_addr_func() [all …]
|
| /linux/kernel/bpf/ |
| H A D | core.c | 182 prog->aux->jited_linfo = kvzalloc_objs(*prog->aux->jited_linfo, in bpf_prog_alloc_jited_linfo() 185 if (!prog->aux->jited_linfo) in bpf_prog_alloc_jited_linfo() 193 if (prog->aux->jited_linfo && in bpf_prog_jit_attempt_done() 194 (!prog->jited || !prog->aux->jited_linfo[0])) { in bpf_prog_jit_attempt_done() 195 kvfree(prog->aux->jited_linfo); in bpf_prog_jit_attempt_done() 196 prog->aux->jited_linfo = NULL; in bpf_prog_jit_attempt_done() 232 void **jited_linfo; in bpf_prog_fill_jited_linfo() local 234 if (!prog->aux->jited_linfo || prog->aux->func_idx > prog->aux->func_cnt) in bpf_prog_fill_jited_linfo() 243 jited_linfo = &prog->aux->jited_linfo[linfo_idx]; in bpf_prog_fill_jited_linfo() 244 jited_linfo[0] = prog->bpf_func; in bpf_prog_fill_jited_linfo() [all …]
|
| H A D | syscall.c | 2374 kvfree(prog->aux->jited_linfo); in __bpf_prog_put_noref() 5248 if (prog->aux->jited_linfo) in bpf_prog_get_info_by_fd() 5261 line_addr = (unsigned long)prog->aux->jited_linfo[i]; in bpf_prog_get_info_by_fd()
|
| /linux/scripts/gdb/linux/ |
| H A D | bpf.py | 181 self.jited_linfo = (jited_linfo_ptr + linfo_idx).cast(tpe).dereference() 188 return self.jited_linfo[self.pos] - self.bpf_func
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf.c | 6624 __u64 *jited_linfo = NULL, *jited_ksyms = NULL; in test_get_linfo() 6636 jited_rec_size = sizeof(*jited_linfo); in test_get_linfo() 6698 jited_linfo = calloc(jited_cnt, jited_rec_size); in test_get_linfo() 6702 if (CHECK(!jited_linfo || !jited_ksyms || !jited_func_lens, in test_get_linfo() 6703 "jited_linfo:%p jited_ksyms:%p jited_func_lens:%p", in test_get_linfo() 6704 jited_linfo, jited_ksyms, jited_func_lens)) { in test_get_linfo() 6711 info.jited_line_info = ptr_to_u64(jited_linfo); in test_get_linfo() 6784 if (CHECK(jited_linfo[0] != jited_ksyms[0], in test_get_linfo() 6785 "jited_linfo[0]:%lx != jited_ksyms[0]:%lx", in test_get_linfo() 6786 (long)(jited_linfo[ in test_get_linfo() 6609 __u64 *jited_linfo = NULL, *jited_ksyms = NULL; test_get_linfo() local [all...] |
| /linux/include/linux/ |
| H A D | bpf.h | 1755 void **jited_linfo; member
|