summaryrefslogtreecommitdiffstats
path: root/scripts/tracing
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2014-01-16 10:39:47 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-01-16 20:29:02 +0100
commite53b00d382f4d8f55bcae301f49863c469fdff65 (patch)
tree7dab9ad69098d2c33aba7f065fc6f540e4fa7b1c /scripts/tracing
parentperf probe: Release allocated probe_trace_event if failed (diff)
downloadlinux-e53b00d382f4d8f55bcae301f49863c469fdff65.tar.xz
linux-e53b00d382f4d8f55bcae301f49863c469fdff65.zip
perf probe: Release all dynamically allocated parameters
To fix a memory leak, release all dynamically allocated options/parameters in params data structure. This also introduces/exports some init/clear routines. Reported-by: David Ahern <dsahern@gmail.com> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: "David A. Long" <dave.long@linaro.org> Cc: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: yrl.pp-manager.tt@hitachi.com Link: http://lkml.kernel.org/r/20140116093947.24403.80118.stgit@kbuild-fedora.novalocal Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/tracing')
0 files changed, 0 insertions, 0 deletions