aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2019-03-05 16:25:36 +0100
committerArnaldo Carvalho de Melo <[email protected]>2019-03-06 18:21:00 -0300
commitb8f7d86b5849ea7bb84bddc0345a3799049764d4 (patch)
treef3ac032daf23ab680f8714a1e3454af44f340e9e /scripts/gen_compile_commands.py
parentbefa09b61f8bf1d7c34b8e6405f08d804640573c (diff)
perf data: Force perf_data__open|close zero data->file.path
Making sure the data->file.path is zeroed on perf_data__open error path and in perf_data__close, so we don't double free it in case someone call it twice. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jonas Rabenstein <[email protected]> Cc: Nageswara R Sastry <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions