sync with latest libbpf repo
sync with latest libbpf repo upto the following commit:
https://github.com/libbpf/libbpf/commit/868739519894fbf2cdb81f1f9222f1b665670096
Signed-off-by: Yonghong Song <yhs@fb.com>
diff --git a/introspection/bps.c b/introspection/bps.c
index 5916093..4190fb8 100644
--- a/introspection/bps.c
+++ b/introspection/bps.c
@@ -43,6 +43,7 @@
[BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE] = "raw_tracepoint_writable",
[BPF_PROG_TYPE_CGROUP_SOCKOPT] = "cgroup_sockopt",
[BPF_PROG_TYPE_TRACING] = "tracing",
+ [BPF_PROG_TYPE_STRUCT_OPS] = "struct_ops",
};
static const char * const map_type_strings[] = {
@@ -71,6 +72,7 @@
[BPF_MAP_TYPE_STACK] = "stack",
[BPF_MAP_TYPE_SK_STORAGE] = "sk_storage",
[BPF_MAP_TYPE_DEVMAP_HASH] = "devmap_hash",
+ [BPF_MAP_TYPE_STRUCT_OPS] = "struct_ops",
};
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))