diff options
| author | Andrii Nakryiko <[email protected]> | 2020-09-25 18:13:52 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-09-28 17:27:31 -0700 |
| commit | 7d9c71e10baa3496d95226aa3bba668f7533ec70 (patch) | |
| tree | ec6765ac143da67147fabf28281deee6d8a9050d /tools/perf/scripts/python | |
| parent | 192f5a1fe6894dca58d14dc883e6c7030e7267f7 (diff) | |
libbpf: Extract generic string hashing function for reuse
Calculating a hash of zero-terminated string is a common need when using
hashmap, so extract it for reuse.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions