aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2020-10-06 11:10:20 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-10-06 11:10:20 -0700
commitfd08f944e0c49b26ee80b87e3c7dc0aa4f045ef3 (patch)
treee9ccd6cea20c01bdbcfa418183639fc4baa4c578 /tools/perf/scripts/python/export-to-postgresql.py
parentbpf, doc: Update Andrii's email in MAINTAINERS (diff)
parentselftest/bpf: Test pinning map with reused map fd (diff)
downloadwireguard-linux-fd08f944e0c49b26ee80b87e3c7dc0aa4f045ef3.tar.xz
wireguard-linux-fd08f944e0c49b26ee80b87e3c7dc0aa4f045ef3.zip
Merge branch 'Fix pining maps after reuse map fd'
Hangbin Liu says: ==================== When a user reuse map fd after creating a map manually and set the pin_path, then load the object via libbpf. bpf_object__create_maps() will skip pinning map if map fd exist. Fix it by add moving bpf creation to else condition and go on checking map pin_path after that. v3: for selftest: use CHECK() for bpf_object__open_file() and close map fd on error v2: a) close map fd if init map slots failed b) add bpf selftest for this scenario ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions