Parser for BPF Type Format (.BTF and .BTF.ext) ELF sections.
Synopsis
Declared in <llvm/DebugInfo/BTF/BTFParser.h>
class BTFParser;
Description
BTFParser reads .BTF and .BTF.ext ELF sections generated by LLVM BPF backend and provides introspection for the stored information. Currently the following information is accessible:
-
string table;
-
instruction offset to line information mapping;
-
types table;
-
CO‐RE relocations table.
See llvm/DebugInfo/BTF/BTF.h for some details about binary format and links to Linux Kernel documentation.
Types
Name |
Description |
Options that select which BTF subsections to load. |
Member Functions
Name |
Description |
Find CO‐RE relocation information for an instruction address. |
|
Find line information for an exact instruction address. |
|
Look up a string in the .BTF section's string table. |
|
Look up the BTF type definition with identifier |
|
|
|
Write a human‐readable form of a CO‐RE relocation into |
|
Count the BTF types stored in this parser. |
Static Member Functions
Name |
Description |
Check whether |
Created with MrDocs