diff options
| author | Jakub Sitnicki <[email protected]> | 2019-12-12 11:22:53 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-12-13 12:38:00 -0800 |
| commit | a9ce4cf4e47c55ab40641b92551bc9e1de4bfa61 (patch) | |
| tree | f8040169492f470614b2e963c386ca339601d763 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 11f80355d4d27c7c798fc9890b4056c5d98af992 (diff) | |
selftests/bpf: Add helpers for getting socket family & type name
Having string arrays to map socket family & type to a name prevents us from
unrolling the test runner loop in the subsequent patch. Introduce helpers
that do the same thing.
Signed-off-by: Jakub Sitnicki <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions