Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-18 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 17, 2016 at 01:00:50PM -0700, Vineet Gupta escreveu: > perf tools build in recent kernels spews splat when cross compiling with > uClibc > > | CC util/alias.o > | In file included from tools/perf/util/../ui/../util/cache.h:8:0, > | from

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 19, 2016 at 06:42:07PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vineet Gupta escreveu: > > On 08/19/2016 02:10 PM, Arnaldo Carvalho de Melo wrote: > > >> But one question: when you test build, do you have any extra de

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vineet Gupta escreveu: > On 08/19/2016 02:10 PM, Arnaldo Carvalho de Melo wrote: > >> But one question: when you test build, do you have any extra devel > >> > packages installed besides what is in this prebuilt toolchain tarball?

Re: perf event grouping for dummies (was Re: [PATCH] arc: perf: Enable generic "cache-references" and "cache-misses" events)

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 01:23:04PM -0500, Paul Clarke escreveu: > On 09/22/2016 12:50 PM, Vineet Gupta wrote: > >On 09/22/2016 12:56 AM, Peter Zijlstra wrote: > >>On Wed, Sep 21, 2016 at 07:43:28PM -0500, Paul Clarke wrote: > >>>On 09/20/2016 03:56 PM, Vineet Gupta wrote: > On 09/01/2016 01:33

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-18 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 18, 2016 at 09:03:08AM -0700, Vineet Gupta escreveu: > On 08/18/2016 07:07 AM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Aug 17, 2016 at 01:00:50PM -0700, Vineet Gupta escreveu: > >> perf tools build in recent kernels spews splat when cross compiling

[GIT PULL 0/3] perf/urgent fixes

2016-08-18 Thread Arnaldo Carvalho de Melo
arrays (2016-08-18 16:39:46 -0300) perf/urgent fixes: - Do not access outside hw cache name arrays (Arnaldo Carvalho de Melo) - Use addr_location::addr instead of ip for entries when unwinding using DWARF CFI, fixing the "sr

[PATCH 2/3] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-18 Thread Arnaldo Carvalho de Melo
imboeuf <jpoim...@redhat.com> Cc: Namhyung Kim <namhy...@kernel.org> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Petri Gynther <pgynt...@google.com> Cc: Wang Nan <wangn...@huawei.com> Cc: linux-snps-arc@lists.infradead.org Link: http://lkml.kernel.org/r/1471537703-1

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-22 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 22, 2016 at 06:01:08PM +, Alexey Brodkin escreveu: > On Fri, 2016-08-19 at 20:02 -0300, Arnaldo Carvalho de Melo wrote: > > Em Fri, Aug 19, 2016 at 06:42:07PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vin

[GIT PULL 00/75] perf/core improvements and fixes

2018-12-06 Thread Arnaldo Carvalho de Melo
default vmlinux ELF symtabs (Arnaldo Carvalho de Melo) - Support 'srccode' output field in 'perf script' (Andi Kleen) - Introduce basic 'perf annotation' support for the ARC architecture (Eugeniy Paltsev) - Compute and display average IPC and IPC coverage per symbol in 'perf annotate' and 'p

[PATCH 71/75] perf annotate: Introduce basic support for ARC

2018-12-06 Thread Arnaldo Carvalho de Melo
: Vineet Gupta Link: http://lkml.kernel.org/r/20181204175118.25232-1-eugeniy.palt...@synopsys.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/arc/annotate/instructions.c | 9 + tools/perf/arch/common.c| 11 ++- tools/perf/util/annotate.c

Re: [PATCH] ARC: introduce basic 'perf annotate' support for ARC

2018-12-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 04, 2018 at 08:51:18PM +0300, Eugeniy Paltsev escreveu: > Introduce basic 'perf annotate' support for ARC to be able > to use anotation via stdio interface. Would be nice to show the output of a 'perf annotate --stdio2' for a perf.data file recorded on ARC :-) - Arnaldo >

Re: perf tools build broken after v5.1-rc1

2019-05-01 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 30, 2019 at 06:12:35PM +0200, Arnd Bergmann escreveu: > On Mon, Apr 29, 2019 at 7:17 PM Vineet Gupta > wrote: > > > > On 4/22/19 8:31 AM, Arnaldo Carvalho de Melo wrote: > > >> A quick fix for ARC will be to create our own version but I presume all

Re: perf tools build broken after v5.1-rc1

2019-05-02 Thread Arnaldo Carvalho de Melo
Em Wed, May 01, 2019 at 09:17:52PM +, Vineet Gupta escreveu: > On 5/1/19 1:41 PM, Arnaldo Carvalho de Melo wrote: > >> The 1a787fc5ba18ac7 commit copied over the changes for arm64, but > >> missed all the other architectures changed in c8ce48f06503 and the > >>

Re: Detecting libc in perf (was Re: perf tools build broken after v5.1-rc1)

2019-05-02 Thread Arnaldo Carvalho de Melo
Em Thu, May 02, 2019 at 09:55:26AM -0700, Vineet Gupta escreveu: > On 4/30/19 8:12 PM, Rich Felker wrote: > >>> What are you trying to achieve? I was just CC'd and I'm missing the > >>> context. > >> > >> Sorry I added you as a subject matter expert but didn't provide enough > >> context. > >> >

Re: perf tools build broken after v5.1-rc1

2019-05-02 Thread Arnaldo Carvalho de Melo
Em Thu, May 02, 2019 at 10:36:18AM -0400, Arnaldo Carvalho de Melo escreveu: > Em Wed, May 01, 2019 at 09:17:52PM +, Vineet Gupta escreveu: > > On 5/1/19 1:41 PM, Arnaldo Carvalho de Melo wrote: > > >> The 1a787fc5ba18ac7 commit copied over the changes for arm64,

Re: perf tools build broken after v5.1-rc1

2019-05-02 Thread Arnaldo Carvalho de Melo
Em Thu, May 02, 2019 at 04:09:43PM +, Vineet Gupta escreveu: > On 5/2/19 7:36 AM, Arnaldo Carvalho de Melo wrote: > > Em Wed, May 01, 2019 at 09:17:52PM +, Vineet Gupta escreveu: > >> On 5/1/19 1:41 PM, Arnaldo Carvalho de Melo wrote: > >>>> The 1

[PATCH 05/11] perf bench numa: Add define for RUSAGE_THREAD if not present

2019-05-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo While cross building perf to the ARC architecture on a fedora 30 host, we were failing with: CC /tmp/build/perf/bench/numa.o bench/numa.c: In function ‘worker_thread’: bench/numa.c:1261:12: error: ‘RUSAGE_THREAD’ undeclared (first use

[PATCH 10/11] tools arch uapi: Copy missing unistd.h headers for arc, hexagon and riscv

2019-05-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since those were introduced in: c8ce48f06503 ("asm-generic: Make time32 syscall numbers optional") But when the asm-generic/unistd.h was sync'ed with tools/ in: 1a787fc5ba18 ("tools headers uapi: Sync copy of asm-generic/unistd.h with the

Re: perf tools build broken after v5.1-rc1

2019-04-26 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 26, 2019 at 04:28:34PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Apr 25, 2019 at 06:48:00PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Apr 22, 2019 at 12:20:27PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Fri, Apr 19, 2019 at 04:32:58PM -

Re: perf tools build broken after v5.1-rc1

2019-04-26 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 25, 2019 at 06:48:00PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Apr 22, 2019 at 12:20:27PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Apr 19, 2019 at 04:32:58PM -0700, Vineet Gupta escreveu: > > > When building perf for ARC (v5.1-rc2) I

Re: perf tools build broken after v5.1-rc1

2019-04-25 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 22, 2019 at 12:20:27PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Apr 19, 2019 at 04:32:58PM -0700, Vineet Gupta escreveu: > > When building perf for ARC (v5.1-rc2) I get the following > > > | In file included from bench/futex-hash.c:26: > > | be

Re: perf tools build broken after v5.1-rc1

2019-04-22 Thread Arnaldo Carvalho de Melo
cmel/linux-perf-tools-build-fedora24-x-ARC-uClibc 4c259582a8e6 5 weeks ago 846 MB [perfbuilder@quaco ~]$ isn't catching this... :-\ FROM docker.io/fedora:24 MAINTAINER Arnaldo Carvalho de Melo ENV TOOLCHAIN=arc_gnu_2017.09-rc2_prebuilt_uclibc_le_arc700_linux_install E