diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-01-13 09:28:48 +0900 | 
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-01-18 15:45:06 -0800 | 
| commit | 7ff8985cc1aa462532f4afa2cc880dfd6892dd68 (patch) | |
| tree | 526de3f83a63e588c9a32746b0122b4c5b93dab7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | eb7d8f1d9ebc7379f09a51bf4faa35e0bfa7437d (diff) | |
selftest/bpf: Test batching and bpf_(get|set)sockopt in bpf unix iter.
This patch adds a test for the batching and bpf_(get|set)sockopt in bpf
unix iter.
It does the following.
  1. Creates an abstract UNIX domain socket
  2. Call bpf_setsockopt()
  3. Call bpf_getsockopt() and save the value
  4. Call setsockopt()
  5. Call getsockopt() and save the value
  6. Compare the saved values
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions