Skip to content

Commit c313801

Browse files
Changbin Duacmel
authored andcommitted
perf unwind: Suppress massive unsupported target platform errors
When cross-analyzing perf data recorded on an another platform, massive unsupported target platform errors are printed. So let's show this message as warning and only once. Signed-off-by: Changbin Du <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Hui Wang <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 69b0e11 commit c313801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/unwind-libunwind.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ int unwind__prepare_access(struct maps *maps, struct map *map, bool *initialized
5656
}
5757

5858
if (!ops) {
59-
pr_err("unwind: target platform=%s is not supported\n", arch);
59+
pr_warning_once("unwind: target platform=%s is not supported\n", arch);
6060
return 0;
6161
}
6262
out_register:

0 commit comments

Comments
 (0)