Lines Matching refs:func_info
371 type. The BTF_KIND_FUNC may in turn be referenced by a func_info in the
463 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info
535 During prog_load, func_info and line_info can be passed to kernel with proper
544 __aligned_u64 func_info; /* func info */
550 The func_info and line_info are an array of below, respectively.::
563 func_info_rec_size is the size of each func_info record, and
567 Below are requirements for func_info:
568 * func_info[0].insn_off must be 0.
569 * the func_info insn_off is in strictly increasing order and matches
604 ``bpf_prog_info`` returns ``btf_id``, func_info, and line info for translated
633 The .BTF.ext section encodes func_info and line_info which needs loader
655 contains func_info and line_info section. See :ref:`BPF_Prog_Load` for details
656 about func_info and line_info record format.
658 The func_info is organized as below.::
661 btf_ext_info_sec for section #1 /* func_info for section #1 */
662 btf_ext_info_sec for section #2 /* func_info for section #2 */
667 func_info for each specific ELF section.::
803 The following is an example showing how func_info and line_info can help prog