Skip to content

Commit 17c9b4e

Browse files
florianlMartin KaFai Lau
authored andcommitted
bpf: fix typo in header for bpf_perf_prog_read_value
Fix a simple typo in the documentation for bpf_perf_prog_read_value. Signed-off-by: Florian Lehner <dev@der-flo.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/r/20230203121439.25884-1-dev@der-flo.net Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
1 parent 16c294a commit 17c9b4e

File tree

2 files changed

+2
-2
lines changed
  • include/uapi/linux
  • tools/include/uapi/linux

2 files changed

+2
-2
lines changed

include/uapi/linux/bpf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,7 @@ union bpf_attr {
28012801
*
28022802
* long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size)
28032803
* Description
2804-
* For en eBPF program attached to a perf event, retrieve the
2804+
* For an eBPF program attached to a perf event, retrieve the
28052805
* value of the event counter associated to *ctx* and store it in
28062806
* the structure pointed by *buf* and of size *buf_size*. Enabled
28072807
* and running times are also stored in the structure (see

tools/include/uapi/linux/bpf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,7 @@ union bpf_attr {
28012801
*
28022802
* long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size)
28032803
* Description
2804-
* For en eBPF program attached to a perf event, retrieve the
2804+
* For an eBPF program attached to a perf event, retrieve the
28052805
* value of the event counter associated to *ctx* and store it in
28062806
* the structure pointed by *buf* and of size *buf_size*. Enabled
28072807
* and running times are also stored in the structure (see

0 commit comments

Comments
 (0)