diff options
author | Alban Crequy <alban@kinvolk.io> | 2019-04-14 18:58:46 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-16 10:24:02 +0200 |
commit | 02a8c817a31606b6b37c2b755f6569903f44241e (patch) | |
tree | b81884c3fa3f440f79ba70d35cbc542fe7cc519f /tools/testing | |
parent | selftests/bpf: make flow dissector tests more extensible (diff) | |
download | linux-dev-02a8c817a31606b6b37c2b755f6569903f44241e.tar.xz linux-dev-02a8c817a31606b6b37c2b755f6569903f44241e.zip |
bpf: add map helper functions push, pop, peek in more BPF programs
commit f1a2e44a3aec ("bpf: add queue and stack maps") introduced new BPF
helper functions:
- BPF_FUNC_map_push_elem
- BPF_FUNC_map_pop_elem
- BPF_FUNC_map_peek_elem
but they were made available only for network BPF programs. This patch
makes them available for tracepoint, cgroup and lirc programs.
Signed-off-by: Alban Crequy <alban@kinvolk.io>
Cc: Mauricio Vasquez B <mauricio.vasquez@polito.it>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions