aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMauricio Vasquez B <mauricio.vasquez@polito.it>2018-10-18 15:16:14 +0200
committerAlexei Starovoitov <ast@kernel.org>2018-10-19 13:24:31 -0700
commitc9d29f4658a5a6d2c2ba2afeb20ff763fc6286f9 (patch)
tree7e6d5a147223d0816abf33e881bd0bb0ea511904 /tools/perf/scripts/python/export-to-postgresql.py
parentbpf: rename stack trace map operations (diff)
downloadwireguard-linux-c9d29f4658a5a6d2c2ba2afeb20ff763fc6286f9.tar.xz
wireguard-linux-c9d29f4658a5a6d2c2ba2afeb20ff763fc6286f9.zip
bpf/syscall: allow key to be null in map functions
This commit adds the required logic to allow key being NULL in case the key_size of the map is 0. A new __bpf_copy_key function helper only copies the key from userpsace when key_size != 0, otherwise it enforces that key must be null. Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it> Acked-by: Song Liu <songliubraving@fb.com> 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