Re: [PATCH] perf synthetic events: Avoid write of uninitialized memory.

2021-03-10 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 10, 2021 at 12:48:36PM +0100, Jiri Olsa escreveu: > On Tue, Mar 09, 2021 at 03:49:45PM -0800, Ian Rogers wrote: > > Account for alignment bytes in the zero-ing memset. > > > > Signed-off-by: Ian Rogers > > --- > > tools/perf/util/synthetic-events.c | 9 + > > 1 file changed,

Re: [PATCH] perf synthetic events: Avoid write of uninitialized memory.

2021-03-10 Thread Jiri Olsa
On Tue, Mar 09, 2021 at 03:49:45PM -0800, Ian Rogers wrote: > Account for alignment bytes in the zero-ing memset. > > Signed-off-by: Ian Rogers > --- > tools/perf/util/synthetic-events.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/tools/perf/util/synthetic-