elf: Remove LD_PROFILE for static binaries
[glibc.git] / elf / dl-tunables.list
blob720a8ac49c53079615eb95ab2d9b0de4b7658637
1 # Copyright (C) 2016-2023 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with the GNU C Library; if not, see
16 # <https://www.gnu.org/licenses/>.
18 # Allowed attributes for tunables:
20 # type: Defaults to STRING
21 # minval: Optional minimum acceptable value
22 # maxval: Optional maximum acceptable value
23 # env_alias: An alias environment variable
25 glibc {
26   malloc {
27     check {
28       type: INT_32
29       minval: 0
30       maxval: 3
31       env_alias: MALLOC_CHECK_
32     }
33     top_pad {
34       type: SIZE_T
35       env_alias: MALLOC_TOP_PAD_
36       default: 131072
37     }
38     perturb {
39       type: INT_32
40       minval: 0
41       maxval: 0xff
42       env_alias: MALLOC_PERTURB_
43     }
44     mmap_threshold {
45       type: SIZE_T
46       env_alias: MALLOC_MMAP_THRESHOLD_
47     }
48     trim_threshold {
49       type: SIZE_T
50       env_alias: MALLOC_TRIM_THRESHOLD_
51     }
52     mmap_max {
53       type: INT_32
54       env_alias: MALLOC_MMAP_MAX_
55       minval: 0
56     }
57     arena_max {
58       type: SIZE_T
59       env_alias: MALLOC_ARENA_MAX
60       minval: 1
61     }
62     arena_test {
63       type: SIZE_T
64       env_alias: MALLOC_ARENA_TEST
65       minval: 1
66     }
67     tcache_max {
68       type: SIZE_T
69     }
70     tcache_count {
71       type: SIZE_T
72     }
73     tcache_unsorted_limit {
74       type: SIZE_T
75     }
76     mxfast {
77       type: SIZE_T
78       minval: 0
79     }
80     hugetlb {
81       type: SIZE_T
82       minval: 0
83     }
84   }
85   cpu {
86     hwcap_mask {
87       type: UINT_64
88       env_alias: LD_HWCAP_MASK
89       default: HWCAP_IMPORTANT
90     }
91   }
93   elision {
94     enable {
95       type: INT_32
96       minval: 0
97       maxval: 1
98     }
99     skip_lock_busy {
100       type: INT_32
101       default: 3
102       minval: 0
103     }
104     skip_lock_internal_abort {
105       type: INT_32
106       default: 3
107       minval: 0
108     }
109     skip_lock_after_retries {
110       type: INT_32
111       default: 3
112       minval: 0
113     }
114     tries {
115       type: INT_32
116       default: 3
117       minval: 0
118     }
119     skip_trylock_internal_abort {
120       type: INT_32
121       default: 3
122       minval: 0
123     }
124   }
126   rtld {
127     nns {
128       type: SIZE_T
129       minval: 1
130       maxval: 16
131       default: 4
132     }
133     optional_static_tls {
134       type: SIZE_T
135       minval: 0
136       default: 512
137     }
138   }
140   mem {
141     tagging {
142       type: INT_32
143       minval: 0
144       maxval: 255
145     }
146     decorate_maps {
147       type: INT_32
148       minval: 0
149       maxval: 1
150     }
151   }
153   rtld {
154     dynamic_sort {
155       type: INT_32
156       minval: 1
157       maxval: 2
158       default: 2
159     }
160   }
162   gmon {
163     minarcs {
164       type: INT_32
165       minval: 50
166       default: 50
167     }
168     maxarcs {
169       type: INT_32
170       minval: 50
171       default: 1048576
172     }
173   }