github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/gadgettracermanager/containers-map.h (about)

     1  /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR Apache-2.0 */
     2  
     3  #ifndef GADGET_TRACER_MANAGER_MAPS_H
     4  #define GADGET_TRACER_MANAGER_MAPS_H
     5  
     6  #include "common.h"
     7  
     8  struct {
     9  	__uint(type, BPF_MAP_TYPE_HASH);
    10  	__type(key, __u64);
    11  	__type(value, struct container);
    12  	__uint(max_entries, MAX_CONTAINERS_PER_NODE);
    13  } containers SEC(".maps");
    14  
    15  #endif