aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2017-01-13 10:15:51 +0100
committerAnders Broman <a.broman58@gmail.com>2017-01-13 10:43:48 +0000
commit05fad31ea494a3ae409f49517f50730d3785b5f1 (patch)
treea6c3647b552d843ebc0e0770dd7e1edb9cb53e60 /tools
parentb34d93ad0e6fc63c43c220fd28ed1d7e2892f14b (diff)
tools: add options documentation to valgrind-wireshark.sh
Change-Id: Id0bb85b9499f1e6f327b711d38deefe295e92c1a Reviewed-on: https://code.wireshark.org/review/19624 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/valgrind-wireshark.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/tools/valgrind-wireshark.sh b/tools/valgrind-wireshark.sh
index cc6a9c8004..88ee437a60 100755
--- a/tools/valgrind-wireshark.sh
+++ b/tools/valgrind-wireshark.sh
@@ -86,7 +86,25 @@ fi
if [ $VALID -eq 0 ]
then
- printf "Usage: $0 [-2] [-a file] [-b bin_dir] [-c] [-e] [-C config_profile] [-l] [-m] [-n] [-p] [-r] [-s] [-t] [-T] [-w] [-v] /path/to/file.pcap\n"
+ printf "\nUsage: $(basename $0) [-2] [-a file] [-b bin_dir] [-c] [-e] [-C config_profile] "
+ printf "[-l] [-m] [-n] [-p] [-r] [-s] [-t] [-T] [-w] [-v] /path/to/file.pcap\n"
+ printf "\n"
+ printf "[-2]: run tshark with 2-pass analysis\n"
+ printf "[-a]: additional valgrind suppression file\n"
+ printf "[-b]: tshark binary dir\n"
+ printf "[-e]: use 'editcap -E 0.02' instead of tshark\n"
+ printf "[-c]: use capinfos instead of tshark\n"
+ printf "[-C]: binary profile file\n"
+ printf "[-l]: add valgring option --leak-check=full\n"
+ printf "[-m]: use valgrind massif tool\n"
+ printf "[-n]: print binary version\n"
+ printf "[-p]: use callgrind massif tool\n"
+ printf "[-r]: add valgrind option --show-reachable=yes\n"
+ printf "[-s]: add valgrind option --gen-suppressions=yes\n"
+ printf "[-t]: add valgrind option --track-origins=yes\n"
+ printf "[-T]: build the tshark tree (-Vx)\n"
+ printf "[-w]: use wireshark instead of tshark\n"
+ printf "[-v]: run in verbose mode (--num-callers=256)\n"
exit 1
fi