public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
From: John Fastabend <john.fastabend@gmail.com>
To: Florian Lehner <dev@der-flo.net>, bpf@vger.kernel.org
Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org,
	martin.lau@linux.dev, song@kernel.org, yhs@fb.com,
	john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com,
	haoluo@google.com, jolsa@kernel.org,
	Florian Lehner <dev@der-flo.net>
Subject: RE: [PATCH] bpf: fix typo in header for bpf_perf_prog_read_value
Date: Fri, 03 Feb 2023 19:36:38 -0800	[thread overview]
Message-ID: <63ddd2c6d9fc4_6bb1520824@john.notmuch> (raw)
In-Reply-To: <20230203121439.25884-1-dev@der-flo.net>

Florian Lehner wrote:
> Fix a simple typo in the documentation for bpf_perf_prog_read_value.
> 
> Signed-off-by: Florian Lehner <dev@der-flo.net>
> ---
>  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@gmail.com>

  reply	other threads:[~2023-02-04  3:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 12:14 [PATCH] bpf: fix typo in header for bpf_perf_prog_read_value Florian Lehner
2023-02-04  3:36 ` John Fastabend [this message]
2023-02-04  6:20 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63ddd2c6d9fc4_6bb1520824@john.notmuch \
    --to=john.fastabend@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=dev@der-flo.net \
    --cc=haoluo@google.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=sdf@google.com \
    --cc=song@kernel.org \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox