diff options
author | Gary Lin <glin@suse.com> | 2019-05-08 03:54:48 -0400 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-05-09 18:59:59 -0400 |
commit | 3ef4641fbf870ee1ecd5f890a54881b7f0e20b90 (patch) | |
tree | 3b4103af0ee9c37188ac7f11573bfc17379fd729 /Documentation/bpf/btf.rst | |
parent | 69e168ebdcfcb87ce7252d4857d570f99996fa27 (diff) |
docs/btf: fix the missing section marks
The section titles of 3.4 and 3.5 are not marked correctly.
Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/bpf/btf.rst')
-rw-r--r-- | Documentation/bpf/btf.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst index 29396e6943b0..8820360d00da 100644 --- a/Documentation/bpf/btf.rst +++ b/Documentation/bpf/btf.rst | |||
@@ -578,6 +578,7 @@ For line_info, the line number and column number are defined as below: | |||
578 | #define BPF_LINE_INFO_LINE_COL(line_col) ((line_col) & 0x3ff) | 578 | #define BPF_LINE_INFO_LINE_COL(line_col) ((line_col) & 0x3ff) |
579 | 579 | ||
580 | 3.4 BPF_{PROG,MAP}_GET_NEXT_ID | 580 | 3.4 BPF_{PROG,MAP}_GET_NEXT_ID |
581 | ============================== | ||
581 | 582 | ||
582 | In kernel, every loaded program, map or btf has a unique id. The id won't | 583 | In kernel, every loaded program, map or btf has a unique id. The id won't |
583 | change during the lifetime of a program, map, or btf. | 584 | change during the lifetime of a program, map, or btf. |
@@ -587,6 +588,7 @@ each command, to user space, for bpf program or maps, respectively, so an | |||
587 | inspection tool can inspect all programs and maps. | 588 | inspection tool can inspect all programs and maps. |
588 | 589 | ||
589 | 3.5 BPF_{PROG,MAP}_GET_FD_BY_ID | 590 | 3.5 BPF_{PROG,MAP}_GET_FD_BY_ID |
591 | =============================== | ||
590 | 592 | ||
591 | An introspection tool cannot use id to get details about program or maps. | 593 | An introspection tool cannot use id to get details about program or maps. |
592 | A file descriptor needs to be obtained first for reference-counting purpose. | 594 | A file descriptor needs to be obtained first for reference-counting purpose. |