diff options
| author | Yonghong Song <[email protected]> | 2022-10-26 04:28:56 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-10-26 06:19:19 +0000 |
| commit | 4fe64af23c12ae9f2c1f0ca0d556d9cb8f088dfb (patch) | |
| tree | 773dc161a661e1ea942fafa59a27d9d51f4508e7 /tools/lib/bpf/libbpf.c | |
| parent | bpf: Implement cgroup storage available to non-cgroup-attached bpf progs (diff) | |
| download | kernel-4fe64af23c12ae9f2c1f0ca0d556d9cb8f088dfb.tar.gz kernel-4fe64af23c12ae9f2c1f0ca0d556d9cb8f088dfb.zip | |
libbpf: Support new cgroup local storage
Add support for new cgroup local storage.
Acked-by: David Vernet <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
| -rw-r--r-- | tools/lib/bpf/libbpf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 027fd9565c16..5d7819edf074 100644 --- a/tools/lib/bpf/libbpf.c +++ b/tools/lib/bpf/libbpf.c @@ -164,6 +164,7 @@ static const char * const map_type_name[] = { [BPF_MAP_TYPE_TASK_STORAGE] = "task_storage", [BPF_MAP_TYPE_BLOOM_FILTER] = "bloom_filter", [BPF_MAP_TYPE_USER_RINGBUF] = "user_ringbuf", + [BPF_MAP_TYPE_CGRP_STORAGE] = "cgrp_storage", }; static const char * const prog_type_name[] = { |
