* [PATCH] bpf: fix typo in header for bpf_perf_prog_read_value
@ 2023-02-03 12:14 Florian Lehner
2023-02-04 3:36 ` John Fastabend
2023-02-04 6:20 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Florian Lehner @ 2023-02-03 12:14 UTC (permalink / raw)
To: bpf
Cc: ast, daniel, andrii, martin.lau, song, yhs, john.fastabend,
kpsingh, sdf, haoluo, jolsa, Florian Lehner
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* RE: [PATCH] bpf: fix typo in header for bpf_perf_prog_read_value
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
2023-02-04 6:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: John Fastabend @ 2023-02-04 3:36 UTC (permalink / raw)
To: Florian Lehner, bpf
Cc: ast, daniel, andrii, martin.lau, song, yhs, john.fastabend,
kpsingh, sdf, haoluo, jolsa, Florian Lehner
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>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] bpf: fix typo in header for bpf_perf_prog_read_value
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
@ 2023-02-04 6:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-02-04 6:20 UTC (permalink / raw)
To: Florian Lehner
Cc: bpf, ast, daniel, andrii, martin.lau, song, yhs, john.fastabend,
kpsingh, sdf, haoluo, jolsa
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@kernel.org>:
On Fri, 3 Feb 2023 13:14:39 +0100 you 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(-)
Here is the summary with links:
- bpf: fix typo in header for bpf_perf_prog_read_value
https://git.kernel.org/bpf/bpf-next/c/17c9b4e1a7d1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-04 6:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-02-04 6:20 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox