diff options
author | Ian Rogers <[email protected]> | 2021-01-14 13:23:04 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-01-15 17:28:27 -0300 |
commit | be82fddca81eefd1edbd9b290dfcb2177e24785b (patch) | |
tree | 163a0aaa6764047278795f0665e94076e74f8624 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a042a82ddbb3434f523c0671f5301d1fe796b4eb (diff) |
libperf tests: Avoid uninitialized variable warning
The variable 'bf' is read (for a write call) without being initialized
triggering a memory sanitizer warning. Use 'bf' in the read and switch
the write to reading from a string.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions