diff options
author | Andrey Ignatov <[email protected]> | 2019-03-08 15:17:51 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-04-12 13:54:59 -0700 |
commit | 11ff34f74e32f5a4ec1f71621508789cd60775b3 (patch) | |
tree | 7755f562e7e438a7d3a4d8e78c355b7bf3a2a8e3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 6041c67f28d8b297ef53ab47abdcd319626c765e (diff) |
selftests/bpf: Test sysctl_get_current_value helper
Test sysctl_get_current_value on sysctl read and write, buffers with
enough space and too small buffers to get E2BIG and truncated result,
etc.
# ./test_sysctl
...
Test case: sysctl_get_current_value sysctl:read ok, gt .. [PASS]
Test case: sysctl_get_current_value sysctl:read ok, eq .. [PASS]
Test case: sysctl_get_current_value sysctl:read E2BIG truncated .. [PASS]
Test case: sysctl_get_current_value sysctl:read EINVAL .. [PASS]
Test case: sysctl_get_current_value sysctl:write ok .. [PASS]
Summary: 16 PASSED, 0 FAILED
Signed-off-by: Andrey Ignatov <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions