Re: [PATCH v1 00/11] perf: Fix errors detected by Smatch

2019-07-04 Thread Leo Yan
Hi Arnaldo, On Wed, Jul 03, 2019 at 03:18:15PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 03, 2019 at 09:48:08AM +0800, Leo Yan escreveu: > > On Tue, Jul 02, 2019 at 01:07:43PM +0200, Jiri Olsa wrote: > > > On Tue, Jul 02, 2019 at 06:34:09PM +0800, Leo Yan wrote: > > > > When I used stat

Re: [PATCH v1 00/11] perf: Fix errors detected by Smatch

2019-07-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 03, 2019 at 09:48:08AM +0800, Leo Yan escreveu: > On Tue, Jul 02, 2019 at 01:07:43PM +0200, Jiri Olsa wrote: > > On Tue, Jul 02, 2019 at 06:34:09PM +0800, Leo Yan wrote: > > > When I used static checker Smatch for perf building, the main target is > > > to check if there have any potent

Re: [PATCH v1 00/11] perf: Fix errors detected by Smatch

2019-07-02 Thread Leo Yan
On Tue, Jul 02, 2019 at 01:07:43PM +0200, Jiri Olsa wrote: > On Tue, Jul 02, 2019 at 06:34:09PM +0800, Leo Yan wrote: > > When I used static checker Smatch for perf building, the main target is > > to check if there have any potential issues in Arm cs-etm code. So > > finally I get many reporting

Re: [PATCH v1 00/11] perf: Fix errors detected by Smatch

2019-07-02 Thread Jiri Olsa
On Tue, Jul 02, 2019 at 06:34:09PM +0800, Leo Yan wrote: > When I used static checker Smatch for perf building, the main target is > to check if there have any potential issues in Arm cs-etm code. So > finally I get many reporting for errors/warnings. > > I used below command for using static che

[PATCH v1 00/11] perf: Fix errors detected by Smatch

2019-07-02 Thread Leo Yan
When I used static checker Smatch for perf building, the main target is to check if there have any potential issues in Arm cs-etm code. So finally I get many reporting for errors/warnings. I used below command for using static checker with perf building: # make VF=1 CORESIGHT=1 -C tools/perf/