Skip to contentSkip to conversation

perf: fix repeated word in log message

PATCH Applied Hemanth Selam 2 participants 2 messages Sep 7 – Sep 25 perf events

v1 of 6 Applied 1/14 Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH 14/14 perf: fix repeated word in log message

Drop the word written twice, reported by checkpatch.pl as a possible repeated word.

Only the message text changes, no code changes.

Assisted-by Cursor:claude-opus-5
---
 tools/perf/util/synthetic-events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/synthetic-events.c +1 -1
index 0c150193cca8..b9e5a5da5f6e 100644
@@ -2266,7 +2266,7 @@ int perf_event__synthesize_extra_attr(const struct perf_tool *tool, struct evlis
 		if (has_scale(evsel)) {
 			err = perf_event__synthesize_event_update_scale(tool, evsel, process);
 			if (err < 0) {
-				pr_err("Couldn't synthesize evsel evsel.\n");
+				pr_err("Couldn't synthesize evsel.\n");
 				return err;
 			}
 		}
maintainer Applied
#1 lore raw
Quoted 4 lines · Hemanth Selam

Drop the word written twice, reported by checkpatch.pl as a possible repeated word.

Only the message text changes, no code changes.

Thanks, applied to perf-tools-next, for v7.4.

- Arnaldo

Quoted 19 lines
Assisted-by Cursor:claude-opus-5
---
 tools/perf/util/synthetic-events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/synthetic-events.c +1 -1
index 0c150193cca8..b9e5a5da5f6e 100644
@@ -2266,7 +2266,7 @@ int perf_event__synthesize_extra_attr(const struct perf_tool *tool, struct evlis
 		if (has_scale(evsel)) {
 			err = perf_event__synthesize_event_update_scale(tool, evsel, process);
 			if (err < 0) {
-				pr_err("Couldn't synthesize evsel evsel.\n");
+				pr_err("Couldn't synthesize evsel.\n");
 				return err;
 			}
 		}