From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DB6F945C304 for ; Wed, 2 Dec 2020 18:18:48 +0300 (MSK) Received: by mail-lf1-f51.google.com with SMTP id u18so5292731lfd.9 for ; Wed, 02 Dec 2020 07:18:48 -0800 (PST) From: Cyrill Gorcunov Date: Wed, 2 Dec 2020 18:18:38 +0300 Message-Id: <20201202151842.415456-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/4] crash dump: implement sending feedback List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy 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