mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 10:12:16 +09:00
369e955b3d1c12f6ec2e51a95911bb80ada55d79
Make sure to call btf__free() (and not simply free(), which does not free all pointers stored in the struct) on pointers to struct btf objects retrieved at various locations. These were found while updating the calls to btf__get_from_id(). Fixes:999d82cbc0("tools/bpf: enhance test_btf file testing to test func info") Fixes:254471e57a("tools/bpf: bpftool: add support for func types") Fixes:7b612e291a("perf tools: Synthesize PERF_RECORD_* for loaded BPF programs") Fixes:d56354dc49("perf tools: Save bpf_prog_info and BTF of new BPF programs") Fixes:47c09d6a9f("bpftool: Introduce "prog profile" command") Fixes:fa853c4b83("perf stat: Enable counting events for BPF programs") Signed-off-by: Quentin Monnet <quentin@isovalent.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210729162028.29512-5-quentin@isovalent.com
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%