[Tarantool-patches] [PATCH] WIP: introduce tooling for coredumps
Alexander Turenko
alexander.turenko at tarantool.org
Sat Feb 20 13:46:30 MSK 2021
On Thu, Feb 11, 2021 at 09:48:28PM +0300, Igor Munkin wrote:
> Signed-off-by: Igor Munkin <imun at tarantool.org>
> ---
>
> WARNING: This patch doesn't require full and precise review now. I
> chose those folks from core team, who either works with customer reports
> a lot or liked the ticket[1]. I hope I missed nobody, but if I did the
> patch is available in our ml.
>
> I've polished a bit two scripts I often use:
> * tarabrt.sh (so called tarcore.sh) -- this is the script collecting a
> tarball with the coredump the right way: with the binary, all loaded
> shared libs, Tarantool version (this is a separate exercise to get it
> from the binary built with -O2). Besides, I made the tarball struct
> unified so it can be easily processed with the second script.
> * gdb.sh -- the auxiliary script originally written by Sasha Tu, that
> needed to be adjusted to the customer artefacts every time. Since we
> will have a unified layout I enhanced it a bit to automatically load
> the coredump via gdb the right way.
>
> Check this out[2], try both scripts and reach me with your feedback!
>
> [1]: https://github.com/tarantool/tarantool/issues/5569
> [2]: https://github.com/tarantool/tarantool/tree/imun/gh-5569-coredump-tooling
>
> tools/gdb.sh | 33 +++++++++++++++
> tools/tarabrt.sh | 102 +++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 135 insertions(+)
> create mode 100755 tools/gdb.sh
> create mode 100755 tools/tarabrt.sh
Thanks! I looked over the scripts and nothing confuses me. I didn't
test, though.
More information about the Tarantool-patches
mailing list