Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/tools/bpf/bpftool/Documentation/
A Dbpftool-btf.rst7 tool for inspection of BTF data
23 BTF COMMANDS
38 Show information about loaded BTF objects. If a BTF ID is
49 Dump BTF entries from a given *BTF_SRC*.
52 loaded and all its BTF types emitted.
55 associated BTF object with BTF types describing key and
63 associated BTF object with BTF types.
66 .BTF section with well-defined BTF binary format data,
81 Pass a base BTF object. Base BTF objects are typically used
85 the kernel (vmlinux) BTF object. So the base BTF reference
[all …]
A 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
A Dbpftool.rst45 *BTF-COMMANDS* := { **show** | **list** | **dump** | **help** }
A Dbpftool-prog.rst255 helper to log each step of loading BTF, creating the maps,
/linux-6.3-rc2/Documentation/bpf/
A Dbtf.rst2 BPF Type Format (BTF)
19 * BTF kernel API
20 * BTF ELF file format
32 2. BTF Type and String Encoding
554 3. BTF Kernel API
718 4.1 .BTF section
726 4.2 .BTF.ext section
782 .BTF.ext is generated.
851 5. Using BTF
955 6. BTF Generation
[all …]
A 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:
A 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``.
A Dkfuncs.rst42 "Global kfuncs as their definitions will be in BTF");
95 ID in program's BTF and return a sized pointer to it. Each type ID will have a
125 This set encodes the BTF ID of each kfunc listed above, and encodes the flags
183 BTF objects have been passed in their unmodified form (that is, at a zero
192 Pointers to non-BTF objects (e.g. scalar pointers) may also be passed to
289 The verifier will always enforce that the BTF type of a pointer passed to a
A Dprog_lsm.rst43 This can be further simplified (if one has access to the BTF information at
A Dbpf_design_QA.rst315 values (when using BTF support for BPF maps). This allows to use helpers for
317 pointers to some kernel types (with __kptr and __kptr_ref BTF tags). Will the
343 in BTF with 'bpf\_' prefix.
/linux-6.3-rc2/Documentation/ABI/testing/
A 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-6.3-rc2/Documentation/admin-guide/media/
A 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
A Di2c-cardlist.rst32 sony-btf-mpx Sony BTF's internal MPX
/linux-6.3-rc2/tools/testing/selftests/bpf/
A DDENYLIST.s390x3 bloom_filter_map # failed to find kernel BTF type ID of '__x64_sys_getpgid'…
21 user_ringbuf # failed to find kernel BTF type ID of '__s390x_sys_prctl'…
A DDENYLIST.aarch6428 …ubprog # extern (var ksym) 'bpf_prog_active': not found in kernel BTF
39 …yms_module/libbpf # 'bpf_testmod_ksym_percpu': not found in kernel BTF
A DREADME.rst235 either crash when compiling these tests, or generate an incorrect BTF.
243 to generate extern function in BTF. It was introduced in `Clang 13`__.
249 libbpf: failed to find BTF for extern 'tcp_slow_start' [25] section: -2
274 generate valid BTF information for weak variables. Please make sure you use
/linux-6.3-rc2/Documentation/bpf/libbpf/
A 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-6.3-rc2/scripts/
A Dlink-vmlinux.sh135 ${OBJCOPY} --only-section=.BTF --set-section-flags .BTF=alloc,readonly \
A DMakefile.modfinal40 quiet_cmd_btf_ko = BTF [M] $@
/linux-6.3-rc2/include/asm-generic/
A Dvmlinux.lds.h548 BTF \
655 #define BTF \ macro
656 .BTF : AT(ADDR(.BTF) - LOAD_OFFSET) { \
657 BOUNDED_SECTION_BY(.BTF, _BTF) \
664 #define BTF macro
/linux-6.3-rc2/samples/hid/
A DMakefile86 BTF_PAHOLE_PROBE := $(shell $(BTF_PAHOLE) --help 2>&1 | grep BTF)
90 $(LLVM_READELF) -S ./llvm_btf_verify.o | grep BTF; \
/linux-6.3-rc2/samples/bpf/
A DMakefile248 BTF_PAHOLE_PROBE := $(shell $(BTF_PAHOLE) --help 2>&1 | grep BTF)
252 $(LLVM_READELF) -S ./llvm_btf_verify.o | grep BTF; \
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf.data-file-format.txt354 Contains BPF Type Format (BTF). For more information about BTF, please
A Dperf-trace.txt240 by default and use BTF when available, as well as use functions to do pretty
/linux-6.3-rc2/lib/
A DKconfig.debug371 bool "Generate BTF typeinfo"
377 Generate deduplicated BTF type information from DWARF debug info.
379 DWARF type info into equivalent deduplicated BTF type info.
405 Generate compact split BTF type information for kernel modules.
408 bool "Allow loading modules with non-matching BTF type info"
411 For modules whose split BTF does not match vmlinux, load without
412 BTF rather than refusing to load. The default behavior with
413 module BTF enabled is to reject modules with such mismatches;
414 this option will still load module BTF where possible but ignore

Completed in 36 milliseconds

12