diff options
author | KP Singh <[email protected]> | 2020-11-06 10:37:44 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-11-06 08:08:37 -0800 |
commit | f0e5ba0bc481df77cf0afac2b33e420b33eeb463 (patch) | |
tree | 15a194dca3ab86fe7254b2f14d5c5e2f23382582 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 3ca1032ab7ab010eccb107aa515598788f7d93bb (diff) |
bpf: Fix tests for local_storage
The {inode,sk}_storage_result checking if the correct value was retrieved
was being clobbered unconditionally by the return value of the
bpf_{inode,sk}_storage_delete call.
Also, consistently use the newly added BPF_LOCAL_STORAGE_GET_F_CREATE
flag.
Fixes: cd324d7abb3d ("bpf: Add selftests for local_storage")
Signed-off-by: KP Singh <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions