aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-03-31 20:29:41 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-04-04 16:23:58 +0000
commit00462d8eaca4eb48e4c07a9a9b49cea2a871fd35 (patch)
tree258f6a9d77d2bd4ae5052cce5c6e355085e25b9e /tools/perf/scripts/python/sched-migration.py
parenttools build: Add a feature test for scandirat(), that is not implemented so f... (diff)
downloadkernel-00462d8eaca4eb48e4c07a9a9b49cea2a871fd35.tar.gz
kernel-00462d8eaca4eb48e4c07a9a9b49cea2a871fd35.zip
perf list: Use relative path for tracepoint scan
Committer notes: Added missing #include <unistd.h> for the close() prototype to fix this on Alma Linux 8: 1 21.54 almalinux:8 : FAIL gcc version 8.5.0 20210514 (Red Hat 8.5.0-16) (GCC) util/print-events.c: In function 'print_tracepoint_events': util/print-events.c:103:4: error: implicit declaration of function 'close'; did you mean 'clone'? [-Werror=implicit-function-declaration] close(evt_fd); ^~~~~ clone Also use the newly added scandirat feature test to check if that function is available, providing a HAVE_SCANDIRAT_SUPPORT conditional warning to the user if it isn't available. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions