Commit 17c9b4e1 authored by Florian Lehner's avatar Florian Lehner Committed by Martin KaFai Lau
Browse files

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: default avatarFlorian Lehner <dev@der-flo.net>
Acked-by: default avatarJohn Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/20230203121439.25884-1-dev@der-flo.net


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 16c294a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2801,7 +2801,7 @@ union bpf_attr {
 *
 * long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size)
 * 	Description
 * 		For en eBPF program attached to a perf event, retrieve the
 * 		For an eBPF program attached to a perf event, retrieve the
 * 		value of the event counter associated to *ctx* and store it in
 * 		the structure pointed by *buf* and of size *buf_size*. Enabled
 * 		and running times are also stored in the structure (see
+1 −1
Original line number Diff line number Diff line
@@ -2801,7 +2801,7 @@ union bpf_attr {
 *
 * long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size)
 * 	Description
 * 		For en eBPF program attached to a perf event, retrieve the
 * 		For an eBPF program attached to a perf event, retrieve the
 * 		value of the event counter associated to *ctx* and store it in
 * 		the structure pointed by *buf* and of size *buf_size*. Enabled
 * 		and running times are also stored in the structure (see