Skip to content

Commit

Permalink
retsnoop: bump version to 0.9.2 and fix usage info
Browse files Browse the repository at this point in the history
Bump version to v0.9.2 in preparation for release.
Fix stack map size default to reflect reality.
Also add some common flags to USAGE message.

Signed-off-by: Andrii Nakryiko <[email protected]>
  • Loading branch information
anakryiko committed Oct 21, 2022
1 parent ddbab29 commit 434696b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/retsnoop.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ static struct env {
.stacks_map_sz = 4096,
};

const char *argp_program_version = "retsnoop v0.9.1";
const char *argp_program_version = "retsnoop v0.9.2";
const char *argp_program_bug_address = "Andrii Nakryiko <[email protected]>";
const char argp_program_doc[] =
"retsnoop tool shows kernel call stacks based on specified function filters.\n"
"\n"
"USAGE: retsnoop [-v] [-ss] [-F|-K] [-c CASE]* [-a GLOB]* [-d GLOB]* [-e GLOB]*\n";
"USAGE: retsnoop [-v] [-F|-K|-M] [-T] [--lbr] [-c CASE]* [-a GLOB]* [-d GLOB]* [-e GLOB]*\n";

#define OPT_FULL_STACKS 1001
#define OPT_STACKS_MAP_SIZE 1002
Expand Down Expand Up @@ -191,7 +191,7 @@ static const struct argp_option opts[] = {
{ "full-stacks", OPT_FULL_STACKS, NULL, 0,
"Emit non-filtered full stack traces" },
{ "stacks-map-size", OPT_STACKS_MAP_SIZE, "SIZE", 0,
"Stacks map size (default 1024)" },
"Stacks map size (default 4096)" },
{},
};

Expand Down

0 comments on commit 434696b

Please sign in to comment.