author: Ian Rogers <irogers@google.com> 2021-05-06 15:56:40 -0700
committer: Arnaldo Carvalho de Melo <acme@redhat.com> 2021-05-10 09:00:59 -0300
commit: 7aa3c9eabdf76017679e975e2ffd50cde3c010b8
parent: e8c1167606c63fd8f9934d0b6ce80281463a4945
Commit Summary:
Diffstat:
1 file changed, 4 insertions, 1 deletion
diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
index ed4f0bd72e5a..7422b0ea8790 100644
--- a/tools/perf/pmu-events/jevents.c
+++ b/tools/perf/pmu-events/jevents.c
@@ -1123,8 +1123,10 @@ static int process_one_file(const char *fpath, const struct stat *sb,
mapfile = strdup(fpath);
return 0;
}
-
- pr_info("%s: Ignoring file %s\n", prog, fpath);
+ if (is_json_file(bname))
+ pr_debug("%s: ArchStd json is preprocessed %s\n", prog, fpath);
+ else
+ pr_info("%s: Ignoring file %s\n", prog, fpath);
return 0;
}