This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 846ec38 [scripts] KUDU-3303 modified the minidump usage guide
846ec38 is described below
commit 846ec3812fbedcbe1eff77b520469f7ba0efc0a3
Author: yejiabao <[email protected]>
AuthorDate: Sat Jul 10 11:36:15 2021 +0800
[scripts] KUDU-3303 modified the minidump usage guide
Change-Id: I44d745e2bbd5287e5ee389b63bdb33abbae525cb
Reviewed-on: http://gerrit.cloudera.org:8080/17670
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
src/kudu/scripts/dump_breakpad_symbols.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/kudu/scripts/dump_breakpad_symbols.py
b/src/kudu/scripts/dump_breakpad_symbols.py
index 44c8005..bdb2921 100644
--- a/src/kudu/scripts/dump_breakpad_symbols.py
+++ b/src/kudu/scripts/dump_breakpad_symbols.py
@@ -39,8 +39,11 @@
# Typical usage patterns:
# -----------------------
#
+# * Add <root of kudu tree> to your $KUDU_HOME:
+# export KUDU_HOME=<root of kudu tree>
+#
# * Extract symbols from an rpm file:
-# ./dump_breakpad_symbols -d /tmp/syms \
+# python dump_breakpad_symbols.py -d /tmp/syms \
# -r tmp/kudu-1.4.0+cdh5.12.1+0-1.cdh5.12.1.p0.10.el7.x86_64.rpm \
# -s tmp/kudu-debuginfo-1.4.0+cdh5.12.1+0-1.cdh5.12.1.p0.10.el7.x86_64.rpm
#
@@ -50,10 +53,10 @@
#
# * Scan a Kudu build directory and extract Breakpad symbols from kudu-master
# and kudu-tserver binaries:
-# ./dump_breakpad_symbols.py -d /tmp/syms -b kudu/build/debug
+# python dump_breakpad_symbols.py -d /tmp/syms -b kudu/build/debug
#
# * After, to process a minidump file, use the 'minidump_stackwalk' tool:
-# $KUDU_HOME/thirdparty/installed/uninstrumented/bin/dump_syms \
+# $KUDU_HOME/thirdparty/installed/uninstrumented/bin/minidump_stackwalk \
# /tmp/kudu-minidumps/kudu-tserver/03c0ee26-bfd1-cf3e-43fa49ca-1a6aae25.dmp
/tmp/syms
#
# For more information, see the getting started docs at