Skip to content

Commit 9f545e5

Browse files
author
Fox Snowpatch
committed
1 parent 367b51a commit 9f545e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/util/pmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ static char *format_alias(char *buf, int len, const struct perf_pmu *pmu,
21172117
skip_duplicate_pmus);
21182118

21192119
/* Paramemterized events have the parameters shown. */
2120-
if (strstr(alias->terms, "=?")) {
2120+
if (!strstr(alias->terms, "=?")) {
21212121
/* No parameters. */
21222122
snprintf(buf, len, "%.*s/%s/", (int)pmu_name_len, pmu->name, alias->name);
21232123
return buf;

0 commit comments

Comments
 (0)