mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 13:54:57 +08:00
perf list: Modify the warning message about scandirat(3)
It should mention scandirat() instead of scandir(). Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20230427230502.1526136-2-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
7586d11d36
commit
6a7b57d85f
@ -131,7 +131,7 @@ next_sys:
|
||||
free(sys_namelist);
|
||||
}
|
||||
#else
|
||||
printf("\nWARNING: Your libc doesn't have the scandir function, please ask its maintainers to implement it.\n"
|
||||
printf("\nWARNING: Your libc doesn't have the scandirat function, please ask its maintainers to implement it.\n"
|
||||
" As a rough fallback, please do 'ls %s' to see the available tracepoint events.\n", events_path);
|
||||
#endif
|
||||
close(events_fd);
|
||||
|
Loading…
Reference in New Issue
Block a user