[<prev] [next>] [day] [month] [year] [list]
Message-ID: <158462705535.28353.17990839248162502200.tip-bot2@tip-bot2>
Date: Thu, 19 Mar 2020 14:10:55 -0000
From: "tip-bot2 for Arnaldo Carvalho de Melo" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Adrian Hunter <adrian.hunter@...el.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: perf/core] perf llvm: Add debug hint message about missing
kernel-devel package
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 357a5d24c4715d454f8acd6796e2adaaef0c48ed
Gitweb: https://git.kernel.org/tip/357a5d24c4715d454f8acd6796e2adaaef0c48ed
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Thu, 27 Feb 2020 11:43:53 -03:00
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitterDate: Wed, 04 Mar 2020 10:34:10 -03:00
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@...el.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/llvm-utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/util/llvm-utils.c b/tools/perf/util/llvm-utils.c
index b5af680..dbdffb6 100644
--- a/tools/perf/util/llvm-utils.c
+++ b/tools/perf/util/llvm-utils.c
@@ -265,6 +265,8 @@ static int detect_kbuild_dir(char **kbuild_dir)
return -ENOMEM;
return 0;
}
+ pr_debug("%s: Couldn't find \"%s\", missing kernel-devel package?.\n",
+ __func__, autoconf_path);
free(autoconf_path);
return -ENOENT;
}
Powered by blists - more mailing lists