bpf: fix typo in header for bpf_perf_prog_read_value
authorFlorian Lehner <dev@der-flo.net>
Fri, 3 Feb 2023 12:14:39 +0000 (13:14 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Sat, 4 Feb 2023 06:11:21 +0000 (22:11 -0800)
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>
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h

index ba0f0cfb5e42fee597136c4021cfcbca79285c77..17afd2b35ee54deb182412472aec3154e9355afc 100644 (file)
@@ -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
index ba0f0cfb5e42fee597136c4021cfcbca79285c77..17afd2b35ee54deb182412472aec3154e9355afc 100644 (file)
@@ -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