Re: [PATCH 1/3] Fix util.c use of unitialized value warning

2019-07-26 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 24, 2019 at 04:44:58PM -0700, Numfor Mbiziwo-Tiapo escreveu: > When building our local version of perf with MSAN (Memory Sanitizer) > and running the perf record command, MSAN throws a use of uninitialized > value warning in "tools/perf/util/util.c:333:6". > > This warning stems from t

[PATCH 1/3] Fix util.c use of unitialized value warning

2019-07-24 Thread Numfor Mbiziwo-Tiapo
When building our local version of perf with MSAN (Memory Sanitizer) and running the perf record command, MSAN throws a use of uninitialized value warning in "tools/perf/util/util.c:333:6". This warning stems from the "buf" variable being passed into "write". It originated as the variable "ev" wit