original_kernel/tools/lib/traceevent
Steven Rostedt de04f8657d tools lib traceevent: Fix memory leak in pretty_print()
Commit 12e55569a2 "tools lib traceevent: Use helper trace-seq in print
functions like kernel does" added a extra trace_seq helper to process
string arguments like the kernel does it. But the difference between the
kernel and the userspace library is that the kernel's trace_seq structure
has a static allocated buffer. The userspace one has a dynamically
allocated one. It requires a trace_seq_destroy(), otherwise it produces
a nasty memory leak.

Cc: stable@vger.kernel.org # 3.14+
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20140422192330.6bb09bf8@gandalf.local.home
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
2014-04-23 13:19:30 +02:00
..
.gitignore
Makefile perf tools: Fix traceevent plugin path definitions 2014-01-23 15:48:12 -03:00
event-parse.c tools lib traceevent: Fix memory leak in pretty_print() 2014-04-23 13:19:30 +02:00
event-parse.h tools lib traceevent: Fix backward compatibility macros for pevent filter enums 2014-04-23 13:19:23 +02:00
event-plugin.c
event-utils.h
kbuffer-parse.c
kbuffer.h
parse-filter.c
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 tools lib traceevent: Unregister handler when scsi plugin is unloaded 2014-01-16 16:26:25 -03:00
plugin_xen.c tools lib traceevent: Unregister handler when xen plugin is unloaded 2014-01-16 16:26:25 -03:00
trace-seq.c