Re: [PATCH] perf bench: Fix 2 memory sanitizer warnings

2020-09-14 Thread Arnaldo Carvalho de Melo
Em Sat, Sep 12, 2020 at 10:51:24PM +0200, Jiri Olsa escreveu: > On Fri, Sep 11, 2020 at 10:37:25PM -0700, Ian Rogers wrote: > > Memory sanitizer warns if a write is performed where the memory > > being read for the write is uninitialized. Avoid this warning by > > initializing the memory. > > > >

Re: [PATCH] perf bench: Fix 2 memory sanitizer warnings

2020-09-12 Thread Jiri Olsa
On Fri, Sep 11, 2020 at 10:37:25PM -0700, Ian Rogers wrote: > Memory sanitizer warns if a write is performed where the memory > being read for the write is uninitialized. Avoid this warning by > initializing the memory. > > Signed-off-by: Ian Rogers Acked-by: Jiri Olsa thanks, jirka > --- >

[PATCH] perf bench: Fix 2 memory sanitizer warnings

2020-09-11 Thread Ian Rogers
Memory sanitizer warns if a write is performed where the memory being read for the write is uninitialized. Avoid this warning by initializing the memory. Signed-off-by: Ian Rogers --- tools/perf/bench/sched-messaging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools