docs: Fix BPF_HISTGRAM typo in reference guide
authorTommi Rantala <tt.rantala@gmail.com>
Sat, 18 Dec 2021 16:08:07 +0000 (18:08 +0200)
committeryonghong-song <ys114321@gmail.com>
Sat, 18 Dec 2021 17:18:29 +0000 (09:18 -0800)
Fix typo in reference guide, should be BPF_HISTOGRAM.

docs/reference_guide.md

index ad20cfc8a81478d3dbc62b5cbb0df2ae46fc0bf6..bc5c2d3ec69b23f223ab6d562057d4ff0f8ed6e8 100644 (file)
@@ -869,7 +869,7 @@ Maps are BPF data stores, and are the basis for higher level object types includ
 
 Syntax: ```BPF_TABLE(_table_type, _key_type, _leaf_type, _name, _max_entries)```
 
-Creates a map named ```_name```. Most of the time this will be used via higher-level macros, like BPF_HASH, BPF_ARRAY, BPF_HISTGRAM, etc.
+Creates a map named ```_name```. Most of the time this will be used via higher-level macros, like BPF_HASH, BPF_ARRAY, BPF_HISTOGRAM, etc.
 
 `BPF_F_TABLE` is a variant that takes a flag in the last parameter. `BPF_TABLE(...)` is actually a wrapper to `BPF_F_TABLE(..., 0 /* flag */)`.