summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Olsa <Jiri Olsa jolsa@redhat.com>2010-09-15 22:53:53 +0200
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2010-09-15 22:53:53 +0200
commit2705d8fc95f9377fa6af524011118d626187cd9d (patch)
tree4ccafa9f12412a25f14857c955be8aa176672a4d
parent5e56c0d35f21aa4939b98349842e5354825c635c (diff)
downloadlatrace-2705d8fc95f9377fa6af524011118d626187cd9d.tar.gz
latrace-2705d8fc95f9377fa6af524011118d626187cd9d.tar.xz
latrace-2705d8fc95f9377fa6af524011118d626187cd9d.zip
synchronize --no-* option names
-rw-r--r--ChangeLog1
-rw-r--r--doc/latrace.txt6
-rw-r--r--src/config.c12
3 files changed, 10 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 2470748..3086a34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2010-09-15 Jiri Olsa <olsajiri@gmail.com>
* dynamic rlimit stack check
* recognize [stack] map arrea and handle it properly
+ * synchronize --no-* option names
2010-09-07 Jiri Olsa <olsajiri@gmail.com>
* adding stack limits dynamic check
diff --git a/doc/latrace.txt b/doc/latrace.txt
index 20be159..b24742a 100644
--- a/doc/latrace.txt
+++ b/doc/latrace.txt
@@ -78,7 +78,7 @@ OPTIONS
*-y, --framesize number*::
framesize for storing the stack before pltexit (default 100)
-*-Y, --not-framesize-check*::
+*-Y, --no-framesize-check*::
disable framesize check
*-I, --no-indent-sym*::
@@ -99,12 +99,12 @@ OPTIONS
*-T, --hide-tid*::
dont display thread id
-*-F, --not-follow-fork*::
+*-F, --no-follow-fork*::
dont follow fork calls (childs). This is just supressing the latrace
output from new childs. The nature of the *LD_AUDIT* feature prevents to
disable it completely.
-*-E, --not-follow-exec*::
+*-E, --no-follow-exec*::
dont follow exec calls
*-R, --ctl-config*::
diff --git a/src/config.c b/src/config.c
index 18c07ba..3f3145c 100644
--- a/src/config.c
+++ b/src/config.c
@@ -51,9 +51,9 @@ static void usage()
#endif
printf("\n");
printf(" -y, --framesize number framesize for storing the stack before pltexit (default 1000)\n");
- printf(" -Y, --not-framesize-check disable framesize check\n");
- printf(" -F, --not-follow-fork dont follow fork calls - childs\n");
- printf(" -E, --not-follow-exec dont follow exec calls\n");
+ printf(" -Y, --no-framesize-check disable framesize check\n");
+ printf(" -F, --no-follow-fork dont follow fork calls - childs\n");
+ printf(" -E, --no-follow-exec dont follow exec calls\n");
printf("\n");
printf(" -S, --timestamp display timestamp for each symbol\n");
printf(" -b, --flow-below sym1,sym2... display flow only for sym1, sym2 ... \n");
@@ -144,12 +144,12 @@ int lt_config(struct lt_config_app *cfg, int argc, char **argv)
{"enable-args", required_argument, 0, 'A'},
{"detail-args", required_argument, 0, 'D'},
{"framesize", required_argument, 0, 'y'},
- {"not-framesize-check ", no_argument, 0, 'Y'},
+ {"no-framesize-check ", no_argument, 0, 'Y'},
{"lib-subst", required_argument, 0, 'L'},
{"verbose", no_argument, 0, 'v'},
{"hide-tid", no_argument, 0, 'T'},
- {"not-follow-fork", no_argument, 0, 'F'},
- {"not-follow-exec", no_argument, 0, 'E'},
+ {"no-follow-fork", no_argument, 0, 'F'},
+ {"no-follow-exec", no_argument, 0, 'E'},
{"disable", no_argument, 0, 'q'},
{"ctl-config", no_argument, 0, 'R'},
{"version", no_argument, 0, 'V'},