summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-09-01 07:31:38 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2009-09-04 23:22:33 +0200
commitc58b43218c1a04a0bcf338ea47406c759ac28e11 (patch)
treee13e33f195a13b4c959494ee7d059b87c2167be3 /CREDITS
parenttracing/filters: Defer pred allocation (diff)
downloadlinux-c58b43218c1a04a0bcf338ea47406c759ac28e11.tar.xz
linux-c58b43218c1a04a0bcf338ea47406c759ac28e11.zip
tracing/filters: Defer pred allocation, fix memory leak
The predicates of an event and their filter structure are allocated when we create an event filter for the first time. These objects must be created once but each time we come with a new filter, we overwrite such pre-existing allocation, if any. Thus, this patch checks if the filter has already been allocated before going ahead. Spotted-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Tom Zanussi <tzanussi@gmail.com> Cc: Masami Hiramatsu <mhiramat@redhat.com> LKML-Reference: <4A9CB1BA.3060402@cn.fujitsu.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions