[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y/3nHZdMQEoadoLG@leoy-yangtze.lan>
Date: Tue, 28 Feb 2023 19:35:57 +0800
From: Leo Yan <leo.yan@...aro.org>
To: James Clark <james.clark@....com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 13/14] perf kvm: Add TUI mode for stat report
Hi James,
On Tue, Feb 28, 2023 at 11:12:17AM +0000, James Clark wrote:
[...]
> > +static void print_result(struct perf_kvm_stat *kvm);
> > +
> > +#ifdef HAVE_SLANG_SUPPORT
>
> Hi Leo,
>
> I get an error because of this addition when building on x86. I think
> it's because I don't have HAVE_SLANG_SUPPORT. It might be the same error
> that you mentioned on v1?
>
> builtin-kvm.c:535:13: error: ‘print_result’ used but never defined
> [-Werror]
> 535 | static void print_result(struct perf_kvm_stat *kvm);
It's a bit weird for reporting this issue, since you could see I have
moved the function definition for print_result() ahead the macro
condition '#ifdef HAVE_SLANG_SUPPORT'.
But I found building failure with below command:
$ make VF=1 DEBUG=1 NO_SLANG=1
Let me repin this patch for the building failures; sorry I have been
negligent.
> Other than that, for the whole set:
>
> Reviewed-by: James Clark <james.clark@....com>
Thanks a lot for reviewing! I will apply your tag in next spin
except patch 13.
Leo
Powered by blists - more mailing lists