Re: [PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 13, 2018 at 03:55:11PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 10, 2018 at 05:45:12PM -0500, Kim Phillips escreveu: > > The auxtrace init variable 'err' was not being initialized, leading > > perf to abort early in an SPE record command when there was no explicit > >

Re: [PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 13, 2018 at 03:55:11PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 10, 2018 at 05:45:12PM -0500, Kim Phillips escreveu: > > The auxtrace init variable 'err' was not being initialized, leading > > perf to abort early in an SPE record command when there was no explicit > >

Re: [PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 10, 2018 at 05:45:12PM -0500, Kim Phillips escreveu: > The auxtrace init variable 'err' was not being initialized, leading > perf to abort early in an SPE record command when there was no explicit > error, rather only based whatever memory contents were on the stack. > Initialize it

Re: [PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 10, 2018 at 05:45:12PM -0500, Kim Phillips escreveu: > The auxtrace init variable 'err' was not being initialized, leading > perf to abort early in an SPE record command when there was no explicit > error, rather only based whatever memory contents were on the stack. > Initialize it

[PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-10 Thread Kim Phillips
The auxtrace init variable 'err' was not being initialized, leading perf to abort early in an SPE record command when there was no explicit error, rather only based whatever memory contents were on the stack. Initialize it explicitly on getting an SPE successfully, the same way cs-etm does.

[PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-10 Thread Kim Phillips
The auxtrace init variable 'err' was not being initialized, leading perf to abort early in an SPE record command when there was no explicit error, rather only based whatever memory contents were on the stack. Initialize it explicitly on getting an SPE successfully, the same way cs-etm does.