aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-08-18 14:33:52 -0700
committerAlexei Starovoitov <[email protected]>2020-08-18 17:16:15 -0700
commitbb180fb2401dfed0ba85699064e60d62af351ff9 (patch)
tree0c6ba401827dad65fc08dddd000da2ff60e138d1 /tools/perf/scripts/python
parent47b6cb4d0add454859f386337e6079e01ac7db8f (diff)
libbpf: Factor out common logic of testing and closing FD
Factor out common piece of logic that detects support for a feature based on successfully created FD. Also take care of closing FD, if it was created. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions