fixup! perf, tools: Add debug support for outputing alias string
diff --git a/tools/perf/util/parse-events.y b/tools/perf/util/parse-events.y
index 4c6f635..3ffc4c7 100644
--- a/tools/perf/util/parse-events.y
+++ b/tools/perf/util/parse-events.y
@@ -246,11 +246,11 @@
 
 		list_for_each_entry(alias, &pmu->aliases, list) {
 			if (!strcasecmp(alias->name, $1)) {
+				pr_debug("%s -> %s/%s/\n", $1,
+					 pmu->name, alias->str);
 				if (!parse_events_add_pmu(list, &data->idx,
 						  pmu->name, head)) {
 					ok++;
-					pr_debug("%s -> %s/%s/\n", $1,
-						 pmu->name, alias->str);
 				}
 			}
 		}