Skip to contentSkip to conversation

docs/btf: fix the missing section marks

PATCH Applied Gary Lin 2 participants 2 messages May 8, 2019 – May 9, 2019

Subsystems (2)
lore
Share & tools
lore

Gary Lin

author
#0 lore raw

PATCH 1/1 docs/btf: fix the missing section marks

The section titles of 3.4 and 3.5 are not marked correctly.

---
 Documentation/bpf/btf.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/bpf/btf.rst +2 -0
index 29396e6943b0..8820360d00da 100644
@@ -578,6 +578,7 @@ For line_info, the line number and column number are defined as below:
     #define BPF_LINE_INFO_LINE_COL(line_col)        ((line_col) & 0x3ff)
 
 3.4 BPF_{PROG,MAP}_GET_NEXT_ID
+==============================
 
 In kernel, every loaded program, map or btf has a unique id. The id won't
 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
 inspection tool can inspect all programs and maps.
 
 3.5 BPF_{PROG,MAP}_GET_FD_BY_ID
+===============================
 
 An introspection tool cannot use id to get details about program or maps.
 A file descriptor needs to be obtained first for reference-counting purpose.
Signature · 1 line
2.21.0