We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25025e0 commit e548709Copy full SHA for e548709
tools/bpf/bpftool/map.c
@@ -72,13 +72,15 @@ static const char * const map_type_name[] = {
72
[BPF_MAP_TYPE_SOCKHASH] = "sockhash",
73
[BPF_MAP_TYPE_CGROUP_STORAGE] = "cgroup_storage",
74
[BPF_MAP_TYPE_REUSEPORT_SOCKARRAY] = "reuseport_sockarray",
75
+ [BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE] = "percpu_cgroup_storage",
76
};
77
78
static bool map_is_per_cpu(__u32 type)
79
{
80
return type == BPF_MAP_TYPE_PERCPU_HASH ||
81
type == BPF_MAP_TYPE_PERCPU_ARRAY ||
- type == BPF_MAP_TYPE_LRU_PERCPU_HASH;
82
+ type == BPF_MAP_TYPE_LRU_PERCPU_HASH ||
83
+ type == BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE;
84
}
85
86
static bool map_is_map_of_maps(__u32 type)
0 commit comments