WSL2-Linux-Kernel/tools/lib/traceevent
Namhyung Kim a130347973 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 <namhyung@kernel.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20161001101700.29146-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-10-05 11:36:22 -03:00
..
.gitignore tools lib traceevent: Ignore generated library files 2016-08-02 12:16:13 -03:00
Build
Makefile
event-parse.c tools lib traceevent: Add correct header for ipv6 definitions 2016-07-14 11:33:32 -03:00
event-parse.h tools lib traceevent: Split pevent_print_event() into specific functionality functions 2016-02-29 11:35:21 -03:00
event-plugin.c
event-utils.h
kbuffer-parse.c tools lib traceevent: Fix kbuffer_read_at_offset() 2016-10-05 11:36:22 -03:00
kbuffer.h
parse-filter.c tools lib traceevent: Add filter on task CPU id 2016-07-12 16:27:39 -03:00
parse-utils.c
plugin_cfg80211.c
plugin_function.c
plugin_hrtimer.c
plugin_jbd2.c
plugin_kmem.c
plugin_kvm.c
plugin_mac80211.c
plugin_sched_switch.c
plugin_scsi.c
plugin_xen.c
trace-seq.c