about summary refs log tree commit diff
path: root/elf/dl-tunables.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-07-12 06:04:53 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-01-15 05:59:10 -0800
commit86f65dffc2396d408beb628f1cad2b8f63e197bd (patch)
tree70d71a492800a6b4838ff2232ecc315d353a469b /elf/dl-tunables.h
parentcc528f9a7e51f769ea79a9c413af417671bcc695 (diff)
downloadglibc-86f65dffc2396d408beb628f1cad2b8f63e197bd.tar.gz
glibc-86f65dffc2396d408beb628f1cad2b8f63e197bd.tar.xz
glibc-86f65dffc2396d408beb628f1cad2b8f63e197bd.zip
ld.so: Add --list-tunables to print tunable values
Pass --list-tunables to ld.so to print tunables with min and max values.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/dl-tunables.h')
-rw-r--r--elf/dl-tunables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-tunables.h b/elf/dl-tunables.h
index 518342a300..dfa16c1977 100644
--- a/elf/dl-tunables.h
+++ b/elf/dl-tunables.h
@@ -69,9 +69,11 @@ typedef struct _tunable tunable_t;
 # include "dl-tunable-list.h"
 
 extern void __tunables_init (char **);
+extern void __tunables_print (void);
 extern void __tunable_get_val (tunable_id_t, void *, tunable_callback_t);
 extern void __tunable_set_val (tunable_id_t, void *, void *, void *);
 rtld_hidden_proto (__tunables_init)
+rtld_hidden_proto (__tunables_print)
 rtld_hidden_proto (__tunable_get_val)
 rtld_hidden_proto (__tunable_set_val)