From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id E149E12292C8; Thu, 13 Feb 2025 14:11:02 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E149E12292C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1739445063; bh=6DqsL+tfkiAm0bC7yViPivLhQMuS1o29FRXd8nBfB+g=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=KlDaY79LbPPWkghFhL1rWgBiBLDB8U8h+P+yc0NJDdHQ6lm2QE7UjjlqfA2dfGx3V 2yrhA5nrLNlqhVPQLyfzrb9liUO9fhmHaaeGeq+LpVWPK8JhI8UQ/omlxotdctlPWk TCVel9r+Hk9gcYf9FP1UiS7LdFuAnnhtwKjUzs8U= Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A0ECF12292C0 for ; Thu, 13 Feb 2025 14:11:01 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A0ECF12292C0 Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-aaeec07b705so116289666b.2 for ; Thu, 13 Feb 2025 03:11:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739445060; x=1740049860; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+UJ+t11ymoTrjCymAXjUQWeWrBDJM2oKbgp+QYPCrX4=; b=bz/A6k0cs6sZEx7JFH1GxBr8WBg6FLQKv0nYrzDx18ekFw12eWAFtEznvyhiozEfPn 4d0mfr4OPiDBT19Ork4Zu4nlTGgCvV5yWkZ3S6ideIcrgVcQyir+Pbwg1hFwYf8inWoa RtmolQ5bsKS5Po37ihtDut/NOvvJRw0SJrFO5fwpw5CLHypWe5QGsLhHfWpDD7Txokg9 cd/VsZxMVXe1VZLVjJzP9A99vAvZAIuwB8gwi8yvwH/VDc3KBJ0WQVB+GP0ZyJ366tly FKEdhjt/CQDLJvcZRC9feEgOOnVQexwBMBO61QXUTlNQjxA38e1cAoHZSZDlaWwngn4K ihZA== X-Gm-Message-State: AOJu0YxmdDuXAX2TNmskdM8bxOgEeEKWauazF/KbhlySapSSpvDjlYeN l8Tr8VfWPHuEHIDwlua2wb47nNhlekftvLGNoSKVHgZmv31gymoazALNjSwQ X-Gm-Gg: ASbGncs5cq4HG2Rw34b8w4GOlvdPtkxzbjX/bPHOxRRK6n1Mf3Op1B0bb64CxvMLNIM GRrQfm2OPQfS+xokd780JbhyzHgQBoS5ISSv/wwVgj7R8JN38TXq1Dry0gqdFYqdey9yuR/LlfV o1b1PfoMsOh8j70lAgQm8NiQOzoZD687BCD4m28cmmKO86djtqHv0J6JoQeoSj+IVZ+8KP4sSAh ZgC0mZKU5dt/p3G4VOtyuBKlmzlfEQey1YZun/mOjRwdTxyTE27J/aDVn6Pkl73bcIjaQNP14kp Yce7lw== X-Google-Smtp-Source: AGHT+IFtHbQrZxMiinOWavJ+69iPZmT7J0wWaWjxEryZxquoCuvCE+FhgFDRFJdSe8OBWb8pyUxRww== X-Received: by 2002:a17:907:d410:b0:ab2:faed:f180 with SMTP id a640c23a62f3a-ab7f33daf6amr553428466b.33.1739445060067; Thu, 13 Feb 2025 03:11:00 -0800 (PST) Received: from localhost ([5.181.62.98]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aba569dd320sm78553766b.72.2025.02.13.03.10.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2025 03:10:59 -0800 (PST) X-Google-Original-From: Sergey Bronnikov To: tarantool-patches@dev.tarantool.org, Sergey Kaplun Date: Thu, 13 Feb 2025 14:10:37 +0300 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit 0/7][v2] Fix profilers issues X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" The patch series fixes a number of issues related to profilers: - Make an error messages more specific and descriptive. - Introduces default profiling mode in sysprof and default output file in memprof. - Added fixes of descriptions in sysprof testcases. - Set default path to memprof output file. - Add an specific error message for disabled profilers. Changes v2: - The patch that fixes a problem with wrong error message on stop not running profiler has been moved to a separate patch series. - Added patch that align test title with sysprof test filename. - Added patch that set default path to memprof output file. - Added patch that adds a workflow with disabled profilers. - Added patch that changes a error message for disabled profilers. - Added fixes according to comments by Sergey Kaplun. Branch: https://github.com/tarantool/luajit/tree/ligurio/gh-xxxx-fix-sysprof-opts-processing Sergey Bronnikov (7): test: add descriptions to sysprof testcases sysprof: align test title with test filename sysprof: fix typo in the comment sysprof: introduce specific errors and default mode ci: add workflow with disabled profilers misc: specific message for disabled profilers memprof: set default path to profiling output file .github/workflows/exotic-builds-testing.yml | 6 +- src/lib_misc.c | 112 +++++++++++++----- src/lj_errmsg.h | 6 + test/tarantool-tests/CMakeLists.txt | 4 + .../gh-5994-memprof-human-readable.test.lua | 1 + ...misclib-memprof-lapi-default-file.test.lua | 41 +++++++ .../misclib-memprof-lapi-disabled.test.lua | 22 ++++ .../profilers/misclib-memprof-lapi.test.lua | 15 +-- .../misclib-sysprof-lapi-disabled.test.lua | 29 +++++ .../profilers/misclib-sysprof-lapi.test.lua | 83 ++++++++++--- 10 files changed, 264 insertions(+), 55 deletions(-) create mode 100644 test/tarantool-tests/profilers/misclib-memprof-lapi-default-file.test.lua create mode 100644 test/tarantool-tests/profilers/misclib-memprof-lapi-disabled.test.lua create mode 100644 test/tarantool-tests/profilers/misclib-sysprof-lapi-disabled.test.lua -- 2.34.1