Re: [PATCH] perf stat: Fix s390x compile error on F32 utils/stat-display.c

2020-08-26 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 25, 2020 at 09:14:42AM +0200, Jiri Olsa escreveu: > On Tue, Aug 25, 2020 at 08:33:04AM +0200, Thomas Richter wrote: > > SNIP > > > diff --git a/tools/perf/util/stat-display.c b/tools/perf/util/stat-display.c > > index 57d0706e1330..cbe836649f84 100644 > > --- a/tools/perf/util/stat-di

Re: [PATCH] perf stat: Fix s390x compile error on F32 utils/stat-display.c

2020-08-25 Thread Jiri Olsa
On Tue, Aug 25, 2020 at 08:33:04AM +0200, Thomas Richter wrote: SNIP > diff --git a/tools/perf/util/stat-display.c b/tools/perf/util/stat-display.c > index 57d0706e1330..cbe836649f84 100644 > --- a/tools/perf/util/stat-display.c > +++ b/tools/perf/util/stat-display.c > @@ -117,12 +117,11 @@ stati

[PATCH] perf stat: Fix s390x compile error on F32 utils/stat-display.c

2020-08-24 Thread Thomas Richter
Fix a compile error on F32 and gcc version 10.1 on s390 in file utils/stat-display.c. The error does not show up with make DEBUG=y. In fact the issue shows up when using both compiler options -O6 and -D_FORTIFY_SOURCE=2 (which are omitted with DEBUG=Y). This is the offending call chain: print_cou