Re: Support standalone metrics and metric groups for perf
From: Jiri Olsa
Date: Fri Jul 28 2017 - 04:49:05 EST
On Wed, Jul 26, 2017 at 08:38:41AM -0700, Andi Kleen wrote:
> > [jolsa@krava perf]$ git remote -v | grep andi
> > andi git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git (fetch)
> > andi git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git (push)
> > [jolsa@krava perf]$ git remote update andi
> > Fetching andi
> > [jolsa@krava perf]$ git branch -r | grep metric-group
> > [jolsa@krava perf]$ git branch -r | grep intel-json-metrics-2
> > [jolsa@krava perf]$
>
> Pushed now.
CC util/metricgroup.o
util/metricgroup.c: In function âmetricgroup__printâ:
util/metricgroup.c:347:6: error: ignoring return value of âasprintfâ, declared with attribute warn_unused_result [-Werror=unused-result]
asprintf(&s, "%s\n\t[%s]",
^~~~~~~~~~~~~~~~~~~~~~~~~~
pe->metric_name, pe->desc);
~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
jirka