mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
perf jevents: Silence warning for ArchStd files
JSON files in the level 1 directory are used for ArchStd events (see preprocess_arch_std_files), as such they shouldn't be warned about. Signed-off-by: Ian Rogers <[email protected]> Reviewed-by: John Garry <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Joakim Zhang <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
e8c1167606
commit
7aa3c9eabd
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user