diff options
author | Namhyung Kim <[email protected]> | 2016-10-01 19:17:00 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-05 11:36:22 -0300 |
commit | a130347973c408c0e0017a52c74cbc3226c1f0ef (patch) | |
tree | 3e4220aa0ef7c084300abf8b8a9f1614417b360a /scripts/gdb/linux/lists.py | |
parent | 3bccbe20f6d188ce7b00326e776b745cfd35b10a (diff) |
tools lib traceevent: Fix kbuffer_read_at_offset()
When it's called with an offset less than or equal to the first event,
it'll return a garbage value since the data is not initialized.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Jiri Olsa <[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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions