All of lore.kernel.org
 help / color / mirror / Atom feed
From: acme@kernel.org (Arnaldo Carvalho de Melo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5] perf tools: Add ARM Statistical Profiling Extensions (SPE) support
Date: Sat, 13 Jan 2018 15:42:34 -0300	[thread overview]
Message-ID: <20180113184234.GK9655@kernel.org> (raw)
In-Reply-To: <20180112192737.872407152ac251adccee3f61@arm.com>

Em Fri, Jan 12, 2018 at 07:27:37PM -0600, Kim Phillips escreveu:
> 'perf record' and 'perf report --dump-raw-trace' supported in this
> release.
> 
> Example usage:
> 
>  # perf record -e arm_spe/ts_enable=1,pa_enable=1/ dd if=/dev/zero of=/dev/null count=10000
>  # perf report --dump-raw-trace
> 
> Note that the perf.data file is portable, so the report can be run on
> another architecture host if necessary.

Failed for these distros:

  10    36.39 centos:6                      : FAIL gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
  37    35.28 oraclelinux:6                 : FAIL gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
  39    37.41 ubuntu:12.04.5                : FAIL gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

  CC       /tmp/build/perf/util/arm-spe-pkt-decoder.o
cc1: warnings being treated as errors
util/arm-spe-pkt-decoder.c: In function 'arm_spe_pkt_desc':
util/arm-spe-pkt-decoder.c:277: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:489: error: shadowed declaration is here
mv: cannot stat `/tmp/build/perf/util/.arm-spe-pkt-decoder.o.tmp': No such file or directory
make[4]: *** [/tmp/build/perf/util/arm-spe-pkt-decoder.o] Error 1

Just rename 'index' to 'idx'

  14   110.68 debian:9                      : FAIL gcc (Debian 6.3.0-18) 6.3.0 20170516
  15   115.91 debian:experimental           : FAIL gcc (Debian 7.2.0-17) 7.2.1 20171205
  26   124.97 fedora:25                     : FAIL gcc (GCC) 6.4.1 20170727 (Red Hat 6.4.1-1)
  27   126.05 fedora:26                     : FAIL gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
  28   126.40 fedora:27                     : FAIL gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
  29   119.77 fedora:rawhide                : FAIL gcc (GCC) 7.2.1 20170829 (Red Hat 7.2.1-1)
  36   127.59 opensuse:tumbleweed           : FAIL gcc (SUSE Linux) 7.2.1 20171020 [gcc-7-branch revision 253932]
  43   106.21 ubuntu:16.04                  : FAIL gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
  50   114.48 ubuntu:16.10                  : FAIL gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
  51   112.79 ubuntu:17.04                  : FAIL gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
  52   115.37 ubuntu:17.10                  : FAIL gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0
  53   112.14 ubuntu:18.04                  : FAIL gcc (Ubuntu 7.2.0-16ubuntu1) 7.2.0
5

  LD       /tmp/build/perf/util/scripting-engines/libperf-in.o
  CC       /tmp/build/perf/util/intel-bts.o
  CC       /tmp/build/perf/util/arm-spe.o
util/arm-spe.c:165:19: error: unused function 'arm_spe_update_queues' [-Werror,-Wunused-function]
static inline int arm_spe_update_queues(struct arm_spe *spe)
                  ^
1 error generated.
mv: cannot stat '/tmp/build/perf/util/.arm-spe.o.tmp': No such file or directory
/git/linux/tools/build/Makefile.build:96: recipe for target '/tmp/build/perf/util/arm-spe.o' failed

WARNING: multiple messages have this Message-ID (diff)
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Kim Phillips <kim.phillips@arm.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	robh@kernel.org, mathieu.poirier@linaro.org, pawel.moll@arm.com,
	suzuki.poulose@arm.com, marc.zyngier@arm.com,
	linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com,
	peterz@infradead.org, mingo@redhat.com, tglx@linutronix.de,
	linux-arm-kernel@lists.infradead.org,
	Jiri Olsa <jolsa@kernel.org>, Andi Kleen <ak@linux.intel.com>,
	Wang Nan <wangnan0@huawei.com>,
	Dongjiu Geng <gengdongjiu@huawei.com>
Subject: Re: [PATCH v5] perf tools: Add ARM Statistical Profiling Extensions (SPE) support
Date: Sat, 13 Jan 2018 15:42:34 -0300	[thread overview]
Message-ID: <20180113184234.GK9655@kernel.org> (raw)
In-Reply-To: <20180112192737.872407152ac251adccee3f61@arm.com>

Em Fri, Jan 12, 2018 at 07:27:37PM -0600, Kim Phillips escreveu:
> 'perf record' and 'perf report --dump-raw-trace' supported in this
> release.
> 
> Example usage:
> 
>  # perf record -e arm_spe/ts_enable=1,pa_enable=1/ dd if=/dev/zero of=/dev/null count=10000
>  # perf report --dump-raw-trace
> 
> Note that the perf.data file is portable, so the report can be run on
> another architecture host if necessary.

Failed for these distros:

  10    36.39 centos:6                      : FAIL gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
  37    35.28 oraclelinux:6                 : FAIL gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
  39    37.41 ubuntu:12.04.5                : FAIL gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

  CC       /tmp/build/perf/util/arm-spe-pkt-decoder.o
cc1: warnings being treated as errors
util/arm-spe-pkt-decoder.c: In function 'arm_spe_pkt_desc':
util/arm-spe-pkt-decoder.c:277: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:489: error: shadowed declaration is here
mv: cannot stat `/tmp/build/perf/util/.arm-spe-pkt-decoder.o.tmp': No such file or directory
make[4]: *** [/tmp/build/perf/util/arm-spe-pkt-decoder.o] Error 1

Just rename 'index' to 'idx'

  14   110.68 debian:9                      : FAIL gcc (Debian 6.3.0-18) 6.3.0 20170516
  15   115.91 debian:experimental           : FAIL gcc (Debian 7.2.0-17) 7.2.1 20171205
  26   124.97 fedora:25                     : FAIL gcc (GCC) 6.4.1 20170727 (Red Hat 6.4.1-1)
  27   126.05 fedora:26                     : FAIL gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
  28   126.40 fedora:27                     : FAIL gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
  29   119.77 fedora:rawhide                : FAIL gcc (GCC) 7.2.1 20170829 (Red Hat 7.2.1-1)
  36   127.59 opensuse:tumbleweed           : FAIL gcc (SUSE Linux) 7.2.1 20171020 [gcc-7-branch revision 253932]
  43   106.21 ubuntu:16.04                  : FAIL gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
  50   114.48 ubuntu:16.10                  : FAIL gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
  51   112.79 ubuntu:17.04                  : FAIL gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
  52   115.37 ubuntu:17.10                  : FAIL gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0
  53   112.14 ubuntu:18.04                  : FAIL gcc (Ubuntu 7.2.0-16ubuntu1) 7.2.0
5

  LD       /tmp/build/perf/util/scripting-engines/libperf-in.o
  CC       /tmp/build/perf/util/intel-bts.o
  CC       /tmp/build/perf/util/arm-spe.o
util/arm-spe.c:165:19: error: unused function 'arm_spe_update_queues' [-Werror,-Wunused-function]
static inline int arm_spe_update_queues(struct arm_spe *spe)
                  ^
1 error generated.
mv: cannot stat '/tmp/build/perf/util/.arm-spe.o.tmp': No such file or directory
/git/linux/tools/build/Makefile.build:96: recipe for target '/tmp/build/perf/util/arm-spe.o' failed

  reply	other threads:[~2018-01-13 18:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 23:33 [PATCH v4] perf tools: Add ARM Statistical Profiling Extensions (SPE) support Kim Phillips
2017-11-21 23:33 ` Kim Phillips
2017-11-29 17:21 ` Kim Phillips
2017-11-29 17:21   ` Kim Phillips
2018-01-11 14:17 ` Adrian Hunter
2018-01-11 14:17   ` Adrian Hunter
2018-01-12  7:51   ` gengdongjiu
2018-01-12  7:51     ` gengdongjiu
2018-01-12 14:14   ` Arnaldo Carvalho de Melo
2018-01-12 14:14     ` Arnaldo Carvalho de Melo
2018-01-13  1:27     ` [PATCH v5] " Kim Phillips
2018-01-13  1:27       ` Kim Phillips
2018-01-13 18:42       ` Arnaldo Carvalho de Melo [this message]
2018-01-13 18:42         ` Arnaldo Carvalho de Melo
2018-01-14 19:28         ` [PATCH v6] " Kim Phillips
2018-01-14 19:28           ` Kim Phillips
2018-01-17 16:32           ` [tip:perf/core] " tip-bot for Kim Phillips

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=20180113184234.GK9655@kernel.org \
    --to=acme@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.