alistair23-linux/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 tools lib traceevent: Use tools build framework 2015-02-12 17:55:38 -03:00
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 tools lib traceevent: Make plugin options either string or boolean 2015-03-24 12:20:09 -03:00
event-utils.h
kbuffer-parse.c tools lib traceevent: Fix kbuffer_read_at_offset() 2016-10-05 11:36:22 -03:00
kbuffer.h tools lib traceevent: Add way to find sub buffer boundary 2015-03-24 12:22:09 -03:00
Makefile tools lib: Improve clean target 2015-07-08 17:56:13 -03:00
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 tools lib traceevent: Provide le16toh define for older systems 2015-05-14 12:28:11 -03:00
plugin_function.c
plugin_hrtimer.c
plugin_jbd2.c
plugin_kmem.c
plugin_kvm.c tools lib traceevent: update KVM plugin 2015-10-20 15:54:14 -03:00
plugin_mac80211.c
plugin_sched_switch.c
plugin_scsi.c
plugin_xen.c
trace-seq.c tools lib traceevent: Introduce trace_seq_do_fprintf function 2015-02-06 11:46:37 +01:00