From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Jin Yao <yao.jin@linux.intel.com>
Cc: jolsa@kernel.org, Linux-kernel@vger.kernel.org,
ak@linux.intel.com, kan.liang@intel.com, milian.wolff@kdab.com,
yao.jin@intel.com
Subject: Re: [PATCH] perf report: Fix build-test error for make_minimal_O target
Date: Fri, 24 Mar 2017 21:57:46 -0300 [thread overview]
Message-ID: <20170325005746.GI5148@kernel.org> (raw)
In-Reply-To: <1490430221-12587-1-git-send-email-yao.jin@linux.intel.com>
Em Sat, Mar 25, 2017 at 04:23:41PM +0800, Jin Yao escreveu:
> make -C tools/perf build-test
Thanks, I'll fold this with the patch where the problem happened,
- Arnaldo
> The error is "undefined reference to dso__demangle_sym".
>
> This patch adds the dso__dmangle_sym() in symbol-minimal.c to fix it.
>
> Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
> ---
> tools/perf/util/symbol-minimal.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/tools/perf/util/symbol-minimal.c b/tools/perf/util/symbol-minimal.c
> index 11cdde9..870ef0f 100644
> --- a/tools/perf/util/symbol-minimal.c
> +++ b/tools/perf/util/symbol-minimal.c
> @@ -373,3 +373,10 @@ int kcore_copy(const char *from_dir __maybe_unused,
> void symbol__elf_init(void)
> {
> }
> +
> +char *dso__demangle_sym(struct dso *dso __maybe_unused,
> + int kmodule __maybe_unused,
> + char *elf_name __maybe_unused)
> +{
> + return NULL;
> +}
> --
> 2.7.4
prev parent reply other threads:[~2017-03-25 0:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-25 8:23 [PATCH] perf report: Fix build-test error for make_minimal_O target Jin Yao
2017-03-25 0:57 ` Arnaldo Carvalho de Melo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170325005746.GI5148@kernel.org \
--to=acme@kernel.org \
--cc=Linux-kernel@vger.kernel.org \
--cc=ak@linux.intel.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@intel.com \
--cc=milian.wolff@kdab.com \
--cc=yao.jin@intel.com \
--cc=yao.jin@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox