Lines Matching refs:linfo
6626 struct bpf_line_info *linfo = NULL; in test_get_linfo() local
6635 rec_size = sizeof(*linfo); in test_get_linfo()
6688 linfo = calloc(cnt, rec_size); in test_get_linfo()
6689 if (CHECK(!linfo, "!linfo")) { in test_get_linfo()
6695 info.line_info = ptr_to_u64(linfo); in test_get_linfo()
6746 CHECK(linfo[0].insn_off, "linfo[0].insn_off:%u", in test_get_linfo()
6747 linfo[0].insn_off); in test_get_linfo()
6756 if (CHECK(linfo[i].insn_off <= linfo[i - 1].insn_off, in test_get_linfo()
6758 i, linfo[i].insn_off, in test_get_linfo()
6759 i - 1, linfo[i - 1].insn_off)) { in test_get_linfo()
6763 if (CHECK(linfo[i].file_name_off != expected_linfo->file_name_off || in test_get_linfo()
6764 linfo[i].line_off != expected_linfo->line_off || in test_get_linfo()
6765 linfo[i].line_col != expected_linfo->line_col, in test_get_linfo()
6767 linfo[i].file_name_off, in test_get_linfo()
6768 linfo[i].line_off, in test_get_linfo()
6769 linfo[i].line_col, in test_get_linfo()
6830 free(linfo); in test_get_linfo()