Skip to content

Commit

Permalink
docs: Fix BPF_HISTGRAM typo in reference guide
Browse files Browse the repository at this point in the history
Fix typo in reference guide, should be BPF_HISTOGRAM.
  • Loading branch information
rantala authored and yonghong-song committed Dec 18, 2021
1 parent e17c4f7 commit d166dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 */)`.

Expand Down

0 comments on commit d166dda

Please sign in to comment.