Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Namhyung Kim and committed by
Arnaldo Carvalho de Melo
6a7b57d8 7586d11d

+1 -1
+1 -1
tools/perf/util/print-events.c
··· 131 131 free(sys_namelist); 132 132 } 133 133 #else 134 - printf("\nWARNING: Your libc doesn't have the scandir function, please ask its maintainers to implement it.\n" 134 + printf("\nWARNING: Your libc doesn't have the scandirat function, please ask its maintainers to implement it.\n" 135 135 " As a rough fallback, please do 'ls %s' to see the available tracepoint events.\n", events_path); 136 136 #endif 137 137 close(events_fd);