Home
last modified time | relevance | path

Searched refs:BTF (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.1/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst7 tool for inspection of BTF data
23 BTF COMMANDS
38 Show information about loaded BTF objects. If a BTF ID is
39 specified, show information only about given BTF object,
40 otherwise list all BTF objects currently loaded on the
44 processes that hold open file descriptors (FDs) against BTF
49 Dump BTF entries from a given *BTF_SRC*.
51 When **id** is specified, BTF object with that ID will be
52 loaded and all its BTF types emitted.
55 associated BTF object with BTF types describing key and
[all …]
Dbpftool-gen.rst41 and instruction sections, .BTF and .BTF.ext (if present in
42 any of the input files) data are combined together. .BTF
45 BTF information.
179 Generate a minimum BTF file as *OUTPUT*, derived from a given
180 *INPUT* BTF file, containing all needed BTF types so one, or
185 BTF files to be able to calculate CO-RE relocations.
187 Usually, an external BTF file is built from existing kernel
191 The min_core_btf feature builds smaller BTF files, customized
434 Now, the "5.4.0-smaller.btf" file may be used by libbpf as an external BTF file
436 the generated BTF file won't allow other eBPF objects to be loaded, just the
Dcommon_options.rst31 some of the older non-BTF map declarations.
Dbpftool.rst45 *BTF-COMMANDS* := { **show** | **list** | **dump** | **help** }
Dbpftool-prog.rst244 helper to log each step of loading BTF, creating the maps,
/Linux-v6.1/Documentation/bpf/
Dbtf.rst2 BPF Type Format (BTF)
8 BTF (BPF Type Format) is the metadata format which encodes the debug info
9 related to BPF program/map. The name BTF was used initially to describe data
10 types. The BTF was later extended to include function info for defined
18 The BTF specification contains two parts,
19 * BTF kernel API
20 * BTF ELF file format
23 verifies the BTF info before using it. The ELF file format is a user space
26 The type and string sections are part of the BTF kernel API, describing the
32 2. BTF Type and String Encoding
[all …]
Dllvm_reloc.rst112 4 R_BPF_64_NODYLD32 .BTF[.ext] data 32 r_offset S + A
129 But ``R_BPF_64_NODYLD32`` specifically refers to relocations in ``.BTF`` and
130 ``.BTF.ext`` sections. For cases like bcc where llvm ``ExecutionEngine RuntimeDyld``
132 to actual function/variable address. Otherwise, ``.BTF`` and ``.BTF.ext``
231 The .BTF/.BTF.ext sections has R_BPF_64_NODYLD32 relocations::
233 Relocation section '.rel.BTF' at offset 0x538 contains 1 entries:
237 Relocation section '.rel.BTF.ext' at offset 0x548 contains 2 entries:
Ddrgn.rst35 List BPF programs (full names are obtained from BTF)::
71 that has BTF id 16 in BPF program id 650, name ``test_pkt_access``.
Dkfuncs.rst38 "Global kfuncs as their definitions will be in BTF");
97 This set encodes the BTF ID of each kfunc listed above, and encodes the flags
Dprog_lsm.rst43 This can be further simplified (if one has access to the BTF information at
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-kernel-btf6 Contains BTF type information and related data for kernel and
14 Read-only binary attribute exposing kernel's own BTF type
24 Read-only binary attribute exposing kernel module's BTF type
25 information as an add-on to the kernel's BTF (/sys/kernel/btf/vmlinux).
/Linux-v6.1/Documentation/admin-guide/media/
Dtuner-cardlist.rst92 84 Sony BTF-Pxn01Z
97 89 Sony BTF-PG472Z PAL/SECAM
98 90 Sony BTF-PK467Z NTSC-M-JP
99 91 Sony BTF-PB463Z NTSC-M
Di2c-cardlist.rst32 sony-btf-mpx Sony BTF's internal MPX
/Linux-v6.1/Documentation/bpf/libbpf/
Dlibbpf_naming_convention.rst52 All objects and corresponding functions other than BTF related should go
53 to ``libbpf.h``. BTF types and functions should go to ``btf.h``.
158 * @brief **btf__new()** creates a new instance of a BTF object from the raw
159 * bytes of an ELF's BTF section
162 * @return new BTF object instance which has to be eventually freed with
/Linux-v6.1/tools/testing/selftests/bpf/
DDENYLIST.s390x4 bloom_filter_map # failed to find kernel BTF type ID of '__x64_sys_getpgid'…
22 kfunc_call # 'bpf_prog_active': not found in kernel BTF
74 user_ringbuf # failed to find kernel BTF type ID of '__s390x_sys_prctl'…
DREADME.rst194 either crash when compiling these tests, or generate an incorrect BTF.
202 to generate extern function in BTF. It was introduced in `Clang 13`__.
208 libbpf: failed to find BTF for extern 'tcp_slow_start' [25] section: -2
233 generate valid BTF information for weak variables. Please make sure you use
/Linux-v6.1/scripts/
Dlink-vmlinux.sh135 ${OBJCOPY} --only-section=.BTF --set-section-flags .BTF=alloc,readonly \
DMakefile.modfinal40 quiet_cmd_btf_ko = BTF [M] $@
/Linux-v6.1/include/asm-generic/
Dvmlinux.lds.h570 BTF \
682 #define BTF \ macro
683 .BTF : AT(ADDR(.BTF) - LOAD_OFFSET) { \
685 KEEP(*(.BTF)) \
693 #define BTF macro
/Linux-v6.1/samples/bpf/
DMakefile248 BTF_PAHOLE_PROBE := $(shell $(BTF_PAHOLE) --help 2>&1 | grep BTF)
252 $(LLVM_READELF) -S ./llvm_btf_verify.o | grep BTF; \
/Linux-v6.1/tools/perf/Documentation/
Dperf.data-file-format.txt354 Contains BPF Type Format (BTF). For more information about BTF, please
Dperf-trace.txt240 by default and use BTF when available, as well as use functions to do pretty
/Linux-v6.1/lib/
DKconfig.debug346 bool "Generate BTF typeinfo"
352 Generate deduplicated BTF type information from DWARF debug info.
354 DWARF type info into equivalent deduplicated BTF type info.
371 Generate compact split BTF type information for kernel modules.
374 bool "Allow loading modules with non-matching BTF type info"
377 For modules whose split BTF does not match vmlinux, load without
378 BTF rather than refusing to load. The default behavior with
379 module BTF enabled is to reject modules with such mismatches;
380 this option will still load module BTF where possible but ignore
/Linux-v6.1/Documentation/translations/it_IT/process/
Dchanges.rst120 compilazione genera BTF (BPF Type Format) a partire da DWARF per vmlinux. Più
/Linux-v6.1/Documentation/
DChanges149 generates BTF (BPF Type Format) from DWARF in vmlinux, a bit later from kernel

12