Home
last modified time | relevance | path

Searched refs:linum (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_skc_cls_ingress.c65 skel->bss->linum = 0; in reset_test()
70 if (skel->bss->linum) in print_err_line()
71 printf("bpf prog error at line %u\n", skel->bss->linum); in print_err_line()
116 CHECK(skel->bss->linum, "bpf prog detected error", "at line %u\n", in test_conn()
117 skel->bss->linum); in test_conn()
176 CHECK(skel->bss->linum, "bpf prog detected error", "at line %u\n", in test_syncookie()
177 skel->bss->linum); in test_syncookie()
H A Dsock_fields.c105 __u32 idx, ingress_linum, egress_linum, linum; in check_result() local
119 err = bpf_map_lookup_elem(linum_map_fd, &idx, &linum); in check_result()
121 ASSERT_EQ(linum, 0, "failure in read_sk_dst_port on line"); in check_result()
H A Dselect_reuseport.c227 __u32 linum; in get_linum() local
230 err = bpf_map_lookup_elem(linum_map, &index_zero, &linum); in get_linum()
234 return linum; in get_linum()
H A Dtcp_hdr_options.c191 lport, linum_err.linum, linum_err.err); in check_error_linum()
199 lport, linum_err.linum, linum_err.err); in check_error_linum()
/openbmc/linux/tools/bpf/bpftool/
H A Dxlated_dumper.h35 bool opcodes, bool linum);
37 bool opcodes, bool linum);
40 bool opcodes, bool linum);
H A Dcfg.c385 bool opcodes, bool linum) in draw_bb_node() argument
406 opcodes, linum); in draw_bb_node()
434 bool opcodes, bool linum) in func_output_bb_def() argument
439 draw_bb_node(func, bb, dd, opcodes, linum); in func_output_bb_def()
460 cfg_dump(struct cfg *cfg, struct dump_data *dd, bool opcodes, bool linum) in cfg_dump() argument
468 func_output_bb_def(func, dd, opcodes, linum); in cfg_dump()
476 bool opcodes, bool linum) in dump_xlated_cfg() argument
485 cfg_dump(&cfg, dd, opcodes, linum); in dump_xlated_cfg()
H A Dmain.h182 bool linum);
191 bool linum) in disasm_print_insn() argument
230 const char *prefix, bool linum);
232 const struct bpf_line_info *linfo, bool linum);
234 const struct bpf_line_info *linfo, bool linum);
H A Dxlated_dumper.c219 bool opcodes, bool linum) in dump_xlated_json() argument
265 btf_dump_linfo_json(btf, linfo, linum); in dump_xlated_json()
304 bool opcodes, bool linum) in dump_xlated_plain() argument
345 linum); in dump_xlated_plain()
369 bool opcodes, bool linum) in dump_xlated_for_graph() argument
413 btf_dump_linfo_dotlabel(btf, linfo, linum); in dump_xlated_for_graph()
H A Djit_disasm.c342 bool linum) in disasm_print_insn() argument
371 btf_dump_linfo_json(btf, linfo, linum); in disasm_print_insn()
377 linum); in disasm_print_insn()
H A Dcfg.h10 bool opcodes, bool linum);
H A Dbtf_dumper.c771 const char *prefix, bool linum) in btf_dump_linfo_plain() argument
782 if (linum) { in btf_dump_linfo_plain()
802 const struct bpf_line_info *linfo, bool linum) in btf_dump_linfo_json() argument
809 if (linum) { in btf_dump_linfo_json()
875 const struct bpf_line_info *linfo, bool linum) in btf_dump_linfo_dotlabel() argument
883 if (linum) { in btf_dump_linfo_dotlabel()
H A Dprog.c698 char *filepath, bool opcodes, bool visual, bool linum) in prog_dump() argument
825 linum)) in prog_dump()
860 dump_xlated_json(&dd, buf, member_len, opcodes, linum); in prog_dump()
862 dump_xlated_cfg(&dd, buf, member_len, opcodes, linum); in prog_dump()
864 dump_xlated_plain(&dd, buf, member_len, opcodes, linum); in prog_dump()
886 bool linum = false; in do_dump() local
941 linum = true; in do_dump()
949 if (filepath && (opcodes || visual || linum)) { in do_dump()
989 err = prog_dump(&info, mode, filepath, opcodes, visual, linum); in do_dump()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c116 linum = __LINE__; \
117 bpf_map_update_elem(&linum_map, &linum_idx, &linum, BPF_ANY); \
128 __u32 linum, linum_idx; in egress_read_sock_fields() local
221 __u32 linum, linum_idx; in ingress_read_sock_fields() local
284 __u32 linum, linum_idx; in read_sk_dst_port() local
H A Dtest_btf_skc_cls_ingress.c23 __u32 linum = 0; variable
25 #define LOG() ({ if (!linum) linum = __LINE__; })
H A Dtest_select_reuseport_kern.c59 linum = __LINE__; \
66 __u32 linum, index = 0, flags = 0, index_zero = 0; in _select_by_skb_data() local
177 bpf_map_update_elem(&linum_map, &index_zero, &linum, BPF_ANY); in _select_by_skb_data()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tcp_hdr_options.h37 unsigned int linum; member
142 __linum_err.linum = __LINE__; \
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst31 | **bpftool** **prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual*…
32 | **bpftool** **prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
91 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual**] }]
109 be displayed. If **linum** is specified, the filename, line
112 **bpftool prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
122 be displayed. If **linum** is specified, the filename, line
/openbmc/linux/tools/bpf/bpftool/bash-completion/
H A Dbpftool376 if ! _bpftool_search_list 'linum opcodes visual'; then
379 _bpftool_once_attr 'linum opcodes'