diff options
author | John Fastabend <[email protected]> | 2020-05-21 13:08:26 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-05-21 17:44:25 -0700 |
commit | d844a71bff0fd899146e5981ec44b618afd17d83 (patch) | |
tree | 26ac9a5812fa137c7ba21cf91a1f083ba39dbd67 /tools/perf/scripts/python/stackcollapse.py | |
parent | f9b16ec0eeb75337aef38954a4066e6eecd7cfe5 (diff) |
bpf: Selftests, add printk to test_sk_lookup_kern to encode null ptr check
Adding a printk to test_sk_lookup_kern created the reported failure
where a pointer type is checked twice for NULL. Lets add it to the
progs test test_sk_lookup_kern.c so we test the case from C all the
way into the verifier.
We already have printk's in selftests so seems OK to add another one.
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/159009170603.6313.1715279795045285176.stgit@john-Precision-5820-Tower
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions