aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2021-07-21 23:58:08 +0200
committerAndrii Nakryiko <[email protected]>2021-07-22 20:08:39 -0700
commit1f71a468a75ff4f13c55966c74284aa4a6bcc334 (patch)
treeee345cc538961b595a88067e8ff47f62c6809424 /tools/perf/scripts/python/bin/flamegraph-record
parent9907442fcddbdacf55fa22e31f2306ae0d6172d6 (diff)
libbpf: Fix func leak in attach_kprobe
Add missing free() for func pointer in attach_kprobe function. Fixes: a2488b5f483f ("libbpf: Allow specification of "kprobe/function+offset"") Reported-by: Andrii Nakryiko <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Reviewed-by: Alan Maguire <[email protected]> Tested-by: Alan Maguire <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions