From 2705d8fc95f9377fa6af524011118d626187cd9d Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Wed, 15 Sep 2010 22:53:53 +0200 Subject: synchronize --no-* option names --- ChangeLog | 1 + doc/latrace.txt | 6 +++--- src/config.c | 12 ++++++------ 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 * dynamic rlimit stack check * recognize [stack] map arrea and handle it properly + * synchronize --no-* option names 2010-09-07 Jiri Olsa * 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'}, -- cgit