File tree Expand file tree Collapse file tree 9 files changed +0
-15
lines changed Expand file tree Collapse file tree 9 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ struct {
35
35
__uint (max_entries , MAX_ENTRIES );
36
36
__type (key , struct request * );
37
37
__type (value , u64 );
38
- __uint (map_flags , BPF_F_NO_PREALLOC );
39
38
} start SEC (".maps" );
40
39
41
40
static struct hist initial_hist ;
@@ -45,7 +44,6 @@ struct {
45
44
__uint (max_entries , MAX_ENTRIES );
46
45
__type (key , struct hist_key );
47
46
__type (value , struct hist );
48
- __uint (map_flags , BPF_F_NO_PREALLOC );
49
47
} hists SEC (".maps" );
50
48
51
49
static __always_inline
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ struct {
14
14
__uint (max_entries , 64 );
15
15
__type (key , u32 );
16
16
__type (value , struct counter );
17
- __uint (map_flags , BPF_F_NO_PREALLOC );
18
17
} counters SEC (".maps" );
19
18
20
19
SEC ("tracepoint/block/block_rq_complete" )
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ struct {
36
36
__uint (max_entries , MAX_ENTRIES );
37
37
__type (key , struct request * );
38
38
__type (value , struct piddata );
39
- __uint (map_flags , BPF_F_NO_PREALLOC );
40
39
} infobyreq SEC (".maps" );
41
40
42
41
struct stage {
Original file line number Diff line number Diff line change @@ -28,15 +28,13 @@ struct {
28
28
__uint (max_entries , MAX_ENTRIES );
29
29
__type (key , struct request * );
30
30
__type (value , struct internal_rqinfo );
31
- __uint (map_flags , BPF_F_NO_PREALLOC );
32
31
} rqinfos SEC (".maps" );
33
32
34
33
struct {
35
34
__uint (type , BPF_MAP_TYPE_HASH );
36
35
__uint (max_entries , MAX_ENTRIES );
37
36
__type (key , struct rqinfo );
38
37
__type (value , struct hist );
39
- __uint (map_flags , BPF_F_NO_PREALLOC );
40
38
} hists SEC (".maps" );
41
39
42
40
static struct hist zero ;
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ struct {
22
22
__uint (max_entries , 10240 );
23
23
__type (key , struct hist_key );
24
24
__type (value , struct hist );
25
- __uint (map_flags , BPF_F_NO_PREALLOC );
26
25
} hists SEC (".maps" );
27
26
28
27
static struct hist initial_hist ;
Original file line number Diff line number Diff line change 9
9
__uint (max_entries , 10240 );
10
10
__type (key , u32 );
11
11
__type (value , u64 );
12
- __uint (map_flags , BPF_F_NO_PREALLOC );
13
12
} start SEC (".maps" );
14
13
15
14
__u64 latency = 0 ;
Original file line number Diff line number Diff line change @@ -13,15 +13,13 @@ struct {
13
13
__uint (max_entries , MAX_ENTRIES );
14
14
__type (key , u32 );
15
15
__type (value , u64 );
16
- __uint (map_flags , BPF_F_NO_PREALLOC );
17
16
} in_readahead SEC (".maps" );
18
17
19
18
struct {
20
19
__uint (type , BPF_MAP_TYPE_HASH );
21
20
__uint (max_entries , MAX_ENTRIES );
22
21
__type (key , struct page * );
23
22
__type (value , u64 );
24
- __uint (map_flags , BPF_F_NO_PREALLOC );
25
23
} birth SEC (".maps" );
26
24
27
25
struct hist hist = {};
Original file line number Diff line number Diff line change @@ -28,15 +28,13 @@ struct {
28
28
__uint (max_entries , MAX_ENTRIES );
29
29
__type (key , u32 );
30
30
__type (value , u64 );
31
- __uint (map_flags , BPF_F_NO_PREALLOC );
32
31
} start SEC (".maps" );
33
32
34
33
struct {
35
34
__uint (type , BPF_MAP_TYPE_HASH );
36
35
__uint (max_entries , MAX_ENTRIES );
37
36
__type (key , u32 );
38
37
__type (value , struct data_t );
39
- __uint (map_flags , BPF_F_NO_PREALLOC );
40
38
} data SEC (".maps" );
41
39
42
40
static __always_inline
Original file line number Diff line number Diff line change @@ -26,23 +26,20 @@ struct {
26
26
__uint (max_entries , MAX_ENTRIES );
27
27
__type (key , u32 );
28
28
__type (value , struct sock * );
29
- __uint (map_flags , BPF_F_NO_PREALLOC );
30
29
} sockets SEC (".maps" );
31
30
32
31
struct {
33
32
__uint (type , BPF_MAP_TYPE_HASH );
34
33
__uint (max_entries , MAX_ENTRIES );
35
34
__type (key , struct ipv4_flow_key );
36
35
__type (value , u64 );
37
- __uint (map_flags , BPF_F_NO_PREALLOC );
38
36
} ipv4_count SEC (".maps" );
39
37
40
38
struct {
41
39
__uint (type , BPF_MAP_TYPE_HASH );
42
40
__uint (max_entries , MAX_ENTRIES );
43
41
__type (key , struct ipv6_flow_key );
44
42
__type (value , u64 );
45
- __uint (map_flags , BPF_F_NO_PREALLOC );
46
43
} ipv6_count SEC (".maps" );
47
44
48
45
struct {
You can’t perform that action at this time.
0 commit comments