Re: [PATCH] perf: increase size of buf in perf_evsel__hists_browse()

2020-11-03 Thread Arnaldo Carvalho de Melo
Em Sat, Oct 31, 2020 at 09:29:20PM +0100, Jiri Olsa escreveu: > On Fri, Oct 30, 2020 at 04:54:31PM -0700, Song Liu wrote: > > Making perf with gcc-9.1.1 generates the following warning: > > > > CC ui/browsers/hists.o > > ui/browsers/hists.c: In function 'perf_evsel__hists_browse': > >

Re: [PATCH] perf: increase size of buf in perf_evsel__hists_browse()

2020-11-01 Thread Song Liu
> On Oct 31, 2020, at 4:27 AM, David Laight wrote: > > From: Song Liu >> Sent: 30 October 2020 23:55 >> >> Making perf with gcc-9.1.1 generates the following warning: >> >> CC ui/browsers/hists.o >> ui/browsers/hists.c: In function 'perf_evsel__hists_browse': >>

Re: [PATCH] perf: increase size of buf in perf_evsel__hists_browse()

2020-10-31 Thread Jiri Olsa
On Fri, Oct 30, 2020 at 04:54:31PM -0700, Song Liu wrote: > Making perf with gcc-9.1.1 generates the following warning: > > CC ui/browsers/hists.o > ui/browsers/hists.c: In function 'perf_evsel__hists_browse': > ui/browsers/hists.c:3078:61: error: '%d' directive output may be \ >

RE: [PATCH] perf: increase size of buf in perf_evsel__hists_browse()

2020-10-31 Thread David Laight
From: Song Liu > Sent: 30 October 2020 23:55 > > Making perf with gcc-9.1.1 generates the following warning: > > CC ui/browsers/hists.o > ui/browsers/hists.c: In function 'perf_evsel__hists_browse': > ui/browsers/hists.c:3078:61: error: '%d' directive output may be \ > truncated writing