Skip to contentSkip to conversation

perf drm_pmu: Fix spelling mistake "bufers" -> "buffers"

PATCH Applied Colin Ian King 3 participants 3 messages Jun 30, 2025 – Jul 1, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf drm_pmu: Fix spelling mistake "bufers" -> "buffers"

There are spelling mistakes in some literal strings. Fix these.

---
 tools/perf/util/drm_pmu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/util/drm_pmu.c +3 -3
index 17385a10005b..988890f37ba7 100644
@@ -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-")) {
Signature · 1 line
2.50.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Colin Ian King

There are spelling mistakes in some literal strings. Fix these.

Thanks Colin!

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

information")

Thanks,
Ian

Quoted 32 lines
---
 tools/perf/util/drm_pmu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/util/drm_pmu.c +3 -4
index 17385a10005b..988890f37ba7 100644
@@ -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

maintainer Applied
#2 lore raw
In reply to Colin Ian King
Quoted 3 lines · Colin Ian King

There are spelling mistakes in some literal strings. Fix these.

Applied to perf-tools-next, thanks!

Best regards,
Namhyung