perf llvm: Add debug hint message about missing kernel-devel package
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Feb 2020 14:43:53 +0000 (11:43 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 Mar 2020 13:34:10 +0000 (10:34 -0300)
commit357a5d24c4715d454f8acd6796e2adaaef0c48ed
tree19a0518a69c08173f128f830c88f4563796a8147
parent1af62ce61cd80a25590d5abeccfb5c3a666527dd
perf llvm: Add debug hint message about missing kernel-devel package

To help in debugging, add this extra message:

  detect_kbuild_dir: Couldn't find "/lib/modules/5.4.20-200.fc31.x86_64/build/include/generated/autoconf.h", missing kernel-devel package?.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/llvm-utils.c