Tarantool development patches archive
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: tml <tarantool-patches@dev.tarantool.org>
Cc: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Subject: [Tarantool-patches] [PATCH 0/4] crash dump: implement sending feedback
Date: Wed,  2 Dec 2020 18:18:38 +0300	[thread overview]
Message-ID: <20201202151842.415456-1-gorcunov@gmail.com> (raw)

Our feedback daemon sends only a few portions of usage
statistics. But crash dumps are pretty important for us
as well, because real users may catch a way more important
issues than our testing farm, it is simply impossible to
cover all possible scenarios.

For this sake, if crash happens we can send it to our
feedback server.

In this series we implement only base functionality and
may extend it later.

I didn't find yet a simple way to test this code anything
but manually.

Any comments are highly appreciated.

issue https://github.com/tarantool/tarantool/issues/5261
branch gorcunov/gh-5261-crash-report-2

Cyrill Gorcunov (4):
  backtrace: allow to specify destination buffer
  errstat: add crash report base code
  crash: use errstat code in fatal signals
  cfg: allow to configure crash report sending

 src/box/box.cc              |   2 +
 src/box/lua/load_cfg.lua    |   3 +
 src/lib/core/CMakeLists.txt |   1 +
 src/lib/core/backtrace.cc   |  12 +-
 src/lib/core/backtrace.h    |   3 +
 src/lib/core/errstat.c      | 390 ++++++++++++++++++++++++++++++++++++
 src/lib/core/errstat.h      | 253 +++++++++++++++++++++++
 src/main.cc                 |  83 ++++----
 8 files changed, 705 insertions(+), 42 deletions(-)
 create mode 100644 src/lib/core/errstat.c
 create mode 100644 src/lib/core/errstat.h


base-commit: 71377c28e1c20108a8691481660bea6263f9a2e8
-- 
2.26.2

             reply	other threads:[~2020-12-02 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-02 15:18 Cyrill Gorcunov [this message]
2020-12-02 15:18 ` [Tarantool-patches] [PATCH 1/4] backtrace: allow to specify destination buffer Cyrill Gorcunov
2020-12-02 15:18 ` [Tarantool-patches] [PATCH 2/4] errstat: add crash report base code Cyrill Gorcunov
2020-12-02 15:18 ` [Tarantool-patches] [PATCH 3/4] crash: use errstat code in fatal signals Cyrill Gorcunov
2020-12-02 15:18 ` [Tarantool-patches] [PATCH 4/4] cfg: allow to configure crash report sending Cyrill Gorcunov
2020-12-04 15:29 ` [Tarantool-patches] [PATCH 0/4] crash dump: implement sending feedback Cyrill Gorcunov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201202151842.415456-1-gorcunov@gmail.com \
    --to=gorcunov@gmail.com \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/4] crash dump: implement sending feedback' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox