diff options
author | Andrey Ignatov <[email protected]> | 2019-03-08 15:13:43 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-04-12 13:54:58 -0700 |
commit | 6041c67f28d8b297ef53ab47abdcd319626c765e (patch) | |
tree | 615d04261e68ec66103af77a65f6c031489d6b3f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1f5fa9ab6e2eb16ba81284280a498fe9c543a2d8 (diff) |
selftests/bpf: Test bpf_sysctl_get_name helper
Test w/ and w/o BPF_F_SYSCTL_BASE_NAME, buffers with enough space and
too small buffers to get E2BIG and truncated result, etc.
# ./test_sysctl
...
Test case: sysctl_get_name sysctl_value:base ok .. [PASS]
Test case: sysctl_get_name sysctl_value:base E2BIG truncated .. [PASS]
Test case: sysctl_get_name sysctl:full ok .. [PASS]
Test case: sysctl_get_name sysctl:full E2BIG truncated .. [PASS]
Test case: sysctl_get_name sysctl:full E2BIG truncated small .. [PASS]
Summary: 11 PASSED, 0 FAILED
Signed-off-by: Andrey Ignatov <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions