Home
last modified time | relevance | path

Searched refs:jited_linfo (Results 1 – 7 of 7) sorted by relevance

/linux/tools/lib/bpf/
H A Dbpf_prog_linfo.c27 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 Dcore.c185 prog->aux->jited_linfo = kvzalloc_objs(*prog->aux->jited_linfo, in bpf_prog_alloc_jited_linfo()
188 if (!prog->aux->jited_linfo) in bpf_prog_alloc_jited_linfo()
196 if (prog->aux->jited_linfo && in bpf_prog_jit_attempt_done()
197 (!prog->jited || !prog->aux->jited_linfo[0])) { in bpf_prog_jit_attempt_done()
198 kvfree(prog->aux->jited_linfo); in bpf_prog_jit_attempt_done()
199 prog->aux->jited_linfo = NULL; in bpf_prog_jit_attempt_done()
221 * The prog's idx to prog->aux->linfo and jited_linfo
223 * jited_linfo[linfo_idx] = prog->bpf_func
227 * jited_linfo[
235 void **jited_linfo; bpf_prog_fill_jited_linfo() local
3525 void **jited_linfo; bpf_prog_get_file_line() local
[all...]
H A Dfixups.c1198 func[i]->aux->jited_linfo = prog->aux->jited_linfo; in jit_subprogs()
H A Dsyscall.c2471 kvfree(prog->aux->jited_linfo); in __bpf_prog_put_noref()
5354 if (prog->aux->jited_linfo) in bpf_prog_get_info_by_fd()
5367 line_addr = (unsigned long)prog->aux->jited_linfo[i]; in bpf_prog_get_info_by_fd()
/linux/scripts/gdb/linux/
H A Dbpf.py181 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 Dbtf.c6701 __u64 *jited_linfo = NULL, *jited_ksyms = NULL; in test_get_linfo() local
6713 jited_rec_size = sizeof(*jited_linfo); in test_get_linfo()
6775 jited_linfo = calloc(jited_cnt, jited_rec_size); in test_get_linfo()
6779 if (CHECK(!jited_linfo || !jited_ksyms || !jited_func_lens, in test_get_linfo()
6781 jited_linfo, jited_ksyms, jited_func_lens)) { in test_get_linfo()
6788 info.jited_line_info = ptr_to_u64(jited_linfo); in test_get_linfo()
6861 if (CHECK(jited_linfo[0] != jited_ksyms[0], in test_get_linfo()
6863 (long)(jited_linfo[0]), (long)(jited_ksyms[0]))) { in test_get_linfo()
6873 jited_linfo[i] == jited_ksyms[ksyms_found]) { in test_get_linfo()
6880 if (CHECK(jited_linfo[i] <= jited_linfo[i - 1], in test_get_linfo()
[all …]
/linux/include/linux/
H A Dbpf.h1874 /* jited_linfo is the jited addr of the linfo. It has a
1876 * jited_linfo[i] is the jited addr for the linfo[i]->insn_off.
1877 * Both the main and sub prog share the same jited_linfo.
1878 * The subprog can access its first jited_linfo by
1881 void **jited_linfo;
1885 * jited_linfo.
1844 void **jited_linfo; global() member