diff options
| author | David Ahern <[email protected]> | 2013-07-02 13:27:21 -0600 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-07-12 13:46:12 -0300 |
| commit | b3824404ebbd489858f3a7097c715120118fa5cd (patch) | |
| tree | cc4bdc47665fae4328dca4276bdfd69200dd3267 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | cfe0d8ba14a1d98245b371e486c68f37eba1ca52 (diff) | |
perf evlist: Fix use of uninitialized variable
Fixes valgrind complaint:
==1870== Syscall param write(buf) points to uninitialised byte(s)
==1870== at 0x4E3F5B0: __write_nocancel (in /lib64/libpthread-2.14.90.so)
==1870== by 0x449D7C: perf_evlist__start_workload (evlist.c:846)
==1870== by 0x427BC1: cmd_record (builtin-record.c:561)
==1870== by 0x419D72: run_builtin (perf.c:319)
==1870== by 0x4195F2: main (perf.c:376)
==1870== Address 0x7feffcdd7 is on thread 1's stack
Signed-off-by: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions