aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2022-11-18 07:25:51 +0530
committerAlexei Starovoitov <[email protected]>2022-11-17 19:11:31 -0800
commitc237bfa5283a562cd5d74dd74b2d9016acd97f45 (patch)
tree5e252f4eb40b2c1056cc7c6e3f63802979e84c31 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent98b2afc8a67f651ed01fc7d5a7e2528e63dd4e08 (diff)
bpf: Fix early return in map_check_btf
Instead of returning directly with -EOPNOTSUPP for the timer case, we need to free the btf_record before returning to userspace. Fixes: db559117828d ("bpf: Consolidate spin_lock, timer management into btf_record") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions