about summary refs log tree commit diff
path: root/elf/dl-usage.c
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-usage.c
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-usage.c')
-rw-r--r--elf/dl-usage.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/elf/dl-usage.c b/elf/dl-usage.c
index 907f068cfb..6e26818bd7 100644
--- a/elf/dl-usage.c
+++ b/elf/dl-usage.c
@@ -255,7 +255,12 @@ setting environment variables (which would be inherited by subprocesses).\n\
                         in LIST\n\
   --audit LIST          use objects named in LIST as auditors\n\
   --preload LIST        preload objects named in LIST\n\
-  --argv0 STRING        set argv[0] to STRING before running\n\
+  --argv0 STRING        set argv[0] to STRING before running\n"
+#if HAVE_TUNABLES
+"\
+  --list-tunables       list all tunables with minimum and maximum values\n"
+#endif
+"\
   --help                display this help and exit\n\
   --version             output version information and exit\n\
 \n\