RE: [PATCH] bpf: fix typo in header for bpf_perf_prog_read_value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Florian Lehner wrote:
> Fix a simple typo in the documentation for bpf_perf_prog_read_value.
> 
> Signed-off-by: Florian Lehner <dev@xxxxxxxxxxx>
> ---
>  include/uapi/linux/bpf.h       | 2 +-
>  tools/include/uapi/linux/bpf.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
> index ba0f0cfb5e42..17afd2b35ee5 100644
> --- a/include/uapi/linux/bpf.h
> +++ b/include/uapi/linux/bpf.h
> @@ -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
> diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
> index ba0f0cfb5e42..17afd2b35ee5 100644
> --- a/tools/include/uapi/linux/bpf.h
> +++ b/tools/include/uapi/linux/bpf.h
> @@ -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
> -- 
> 2.30.2
> 

Sure,

Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux