commit | ee1fcbb8537a972bcea1e936db290eaee41fb80b | [log] [tgz] |
---|---|---|
author | Marc Herbert <marc.herbert@intel.com> | Thu May 28 10:37:46 2015 -0700 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Sat Jul 18 02:23:18 2015 +0000 |
tree | 21c057856de3889add27df2b79eda94c5bcc2dc0 | |
parent | 17df812883f7dfd70ae0eede09dabc184812a5aa [diff] |
common.sh: add ps call in dump_trace() to show all commands This adds a "ps" call in dump_trace() to expose hidden commands and ease trouble-shooting. Compared to earlier and well-tested attempt https://chromium-review.googlesource.com/#/q/I7978bcf03bd279e3bcce17a239ae0301868d8601 ... this has two drawbacks: 1. it does not wrap long lines; 2. it shows two spurious processes: the subshell + the ps call. However it has one major advantage: it's only one line long instead of fifty. BUG=None TEST=./build_image make_it_fail TEST=Insert "die fake_failure" at the top of update_bootloaders.sh ./build_image base Change-Id: Iad269ab19d923a8e1efb1222e309bbf88707d991 Signed-off-by: Marc Herbert <marc.herbert@intel.com> Reviewed-on: https://chromium-review.googlesource.com/273685 Reviewed-by: Mike Frysinger <vapier@chromium.org>