[PATCH][next] perf drm_pmu: Fix spelling mistake "bufers" -> "buffers"

Colin Ian King posted 1 patch 3 months, 1 week ago
tools/perf/util/drm_pmu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH][next] perf drm_pmu: Fix spelling mistake "bufers" -> "buffers"
Posted by Colin Ian King 3 months, 1 week ago
There are spelling mistakes in some literal strings. Fix these.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/perf/util/drm_pmu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/perf/util/drm_pmu.c b/tools/perf/util/drm_pmu.c
index 17385a10005b..988890f37ba7 100644
--- a/tools/perf/util/drm_pmu.c
+++ b/tools/perf/util/drm_pmu.c
@@ -210,17 +210,17 @@ static int read_drm_pmus_cb(void *args, int fdinfo_dir_fd, const char *fd_name)
 		}
 		if (starts_with(line, "drm-purgeable-")) {
 			add_event(&events, &num_events, line, DRM_PMU_UNIT_BYTES,
-				  "Size of resident and purgeable memory bufers");
+				  "Size of resident and purgeable memory buffers");
 			continue;
 		}
 		if (starts_with(line, "drm-resident-")) {
 			add_event(&events, &num_events, line, DRM_PMU_UNIT_BYTES,
-				  "Size of resident memory bufers");
+				  "Size of resident memory buffers");
 			continue;
 		}
 		if (starts_with(line, "drm-shared-")) {
 			add_event(&events, &num_events, line, DRM_PMU_UNIT_BYTES,
-				  "Size of shared memory bufers");
+				  "Size of shared memory buffers");
 			continue;
 		}
 		if (starts_with(line, "drm-total-cycles-")) {
-- 
2.50.0
Re: [PATCH][next] perf drm_pmu: Fix spelling mistake "bufers" -> "buffers"
Posted by Namhyung Kim 3 months, 1 week ago
On Mon, 30 Jun 2025 13:51:28 +0100, Colin Ian King wrote:
> There are spelling mistakes in some literal strings. Fix these.
> 
> 
Applied to perf-tools-next, thanks!

Best regards,
Namhyung
Re: [PATCH][next] perf drm_pmu: Fix spelling mistake "bufers" -> "buffers"
Posted by Ian Rogers 3 months, 1 week ago
On Mon, Jun 30, 2025 at 5:51 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There are spelling mistakes in some literal strings. Fix these.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Thanks Colin!

Fixes: 28917cb17f9d ("perf drm_pmu: Add a tool like PMU to expose DRM
information")

Reviewed-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> ---
>  tools/perf/util/drm_pmu.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/util/drm_pmu.c b/tools/perf/util/drm_pmu.c
> index 17385a10005b..988890f37ba7 100644
> --- a/tools/perf/util/drm_pmu.c
> +++ b/tools/perf/util/drm_pmu.c
> @@ -210,17 +210,17 @@ static int read_drm_pmus_cb(void *args, int fdinfo_dir_fd, const char *fd_name)
>                 }
>                 if (starts_with(line, "drm-purgeable-")) {
>                         add_event(&events, &num_events, line, DRM_PMU_UNIT_BYTES,
> -                                 "Size of resident and purgeable memory bufers");
> +                                 "Size of resident and purgeable memory buffers");
>                         continue;
>                 }
>                 if (starts_with(line, "drm-resident-")) {
>                         add_event(&events, &num_events, line, DRM_PMU_UNIT_BYTES,
> -                                 "Size of resident memory bufers");
> +                                 "Size of resident memory buffers");
>                         continue;
>                 }
>                 if (starts_with(line, "drm-shared-")) {
>                         add_event(&events, &num_events, line, DRM_PMU_UNIT_BYTES,
> -                                 "Size of shared memory bufers");
> +                                 "Size of shared memory buffers");
>                         continue;
>                 }
>                 if (starts_with(line, "drm-total-cycles-")) {
> --
> 2.50.0
>