aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorStanislav Fomichev <[email protected]>2019-08-14 10:37:48 -0700
committerDaniel Borkmann <[email protected]>2019-08-17 23:18:54 +0200
commitb0e4701ce15d0381cdea0643c7f0a35dc529cec2 (patch)
tree35f71eca49d4baa3ce31be4c830db41f60f2cb32 /tools/perf/scripts/python/check-perf-trace.py
parentfae55527ac1164b66bee983a4d82ade2bfedb332 (diff)
bpf: export bpf_map_inc_not_zero
Rename existing bpf_map_inc_not_zero to __bpf_map_inc_not_zero to indicate that it's caller's responsibility to do proper locking. Create and export bpf_map_inc_not_zero wrapper that properly locks map_idr_lock. Will be used in the next commit to hold a map while cloning a socket. Cc: Martin KaFai Lau <[email protected]> Cc: Yonghong Song <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Acked-by: Yonghong Song <[email protected]> Signed-off-by: Stanislav Fomichev <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions