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 ACB8F5D3045; Thu, 31 Aug 2023 14:35:37 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org ACB8F5D3045 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1693481737; bh=gS2Mm/5ZlExV1htWXjsOno8dlj7U9KzQTOVoW1UUriU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Sg0aCA28hBxnWjp8x75FrQZny6iVT6ggojpq1biOt90exT8Tp085G97ToucFCWNWh X6uFeifgvOG22qgwkRv+6hpLvMt7ufAep7xhCCoKzwLBCtmm4BW32PaU8qXCslHsOE +uogyoxkplyZJ1D8oAB5adal8TRKnNzbcFi4vh64= Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 8CA6D5CE0FB for ; Thu, 31 Aug 2023 14:35:36 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8CA6D5CE0FB Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2bcb89b476bso13031651fa.1 for ; Thu, 31 Aug 2023 04:35:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693481735; x=1694086535; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2Fu9/zN5HWRBAI/qyBnUz1hXWw/nWXWdsT923Vm83w4=; b=XH1/kQyPUNLKuuX6OFyKlcc1ARlnWPKx0wHFrIYtv5XxCTSgVOL8NmwXabryMxTWKz tNlG+z3PcZhEYBrnX4NTQPXA0R+moCuipaHTylkffMAT3YDwHZp8RBK5Y9Hj6xEEh3ev N2Xk4pleTRic8A9B+q/TInrxEcIzC6RnOMQQuhJBR+KUCI9Yr62Ip0N8nFlduxkfAngY RkjM69D9YJ2yyzOXvsR3jiE7plcMQZUUrlrK2eXj7INCyAKfsXwzn4HPYsotWPavEMuR DZtAHCvoU569bBEg33Fnksic7NwcQvmyujFv65bJCwSzIUlDI+qD4kgQ0rfQd4lHs95c ZQxw== X-Gm-Message-State: AOJu0Yy4ZDTRvcLutlFdNg0ZvigNI7qJQZ+LDpyf1tl+n59slVyvfZRg 7ZjYShyg7eKbrDFnC3K/+eUOWpTmcuqNz5bZ X-Google-Smtp-Source: AGHT+IGfL6fQEbcWWl9L3YU7qwOe6DZlxSI5NoOEFAqjqqyGZpML9DeSHV23bEQofhz39g39G5b/Ww== X-Received: by 2002:a2e:98d0:0:b0:2bd:10b7:4610 with SMTP id s16-20020a2e98d0000000b002bd10b74610mr3771766ljj.25.1693481735145; Thu, 31 Aug 2023 04:35:35 -0700 (PDT) Received: from fckxorg.mail.msk ([2a00:1148:b0ba:16:a3e8:bdc1:dbed:dbc8]) by smtp.gmail.com with ESMTPSA id j12-20020a2e800c000000b002b9f0b25ff6sm270737ljg.4.2023.08.31.04.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 04:35:34 -0700 (PDT) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, skaplun@tarantool.org, sergeyb@tarantool.org Date: Thu, 31 Aug 2023 14:35:29 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit v9 0/2] introduce cli for tools 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: Maxim Kokryashkin via Tarantool-patches Reply-To: Maxim Kokryashkin Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This first patch requires additional changes for the Tarantool proxying. These changes are done in the PR. The first patch has the test disabled for Tarantool, so LuaJIT's integrational testing behaves properly. However, the second patch in this series enables this test for Tarantool, and it should be applied after the LuaJIT bump with the first patch. To ensure the test results without the second patch, I've made and additional branch just for the LuaJIT integrational testing, that doesn't have the second patch. All of the required links are located down below. PR: https://github.com/tarantool/tarantool/pull/8002 Branch (whole series): https://github.com/tarantool/luajit/tree/fckxorg/gh-5688-cli-for-memprof-parse-tnt Branch (the first patch only): https://github.com/tarantool/luajit/tree/fckxorg/gh-5688-cli-for-memprof-parse Changes in v9: - Fixed comments as per review by Sergey Kaplun Maxim Kokryashkin (2): tools: add cli flag to run profile dump parsers test: don't skip tool CLI flag for tarantool Makefile.original | 24 +--- src/luajit.c | 44 ++++++- .../gh-5688-tool-cli-flag.test.lua | 124 ++++++++++++++++++ tools/CMakeLists.txt | 73 ----------- tools/luajit-parse-memprof.in | 6 - tools/luajit-parse-sysprof.in | 6 - tools/memprof.lua | 12 +- tools/sysprof.lua | 18 ++- 8 files changed, 183 insertions(+), 124 deletions(-) create mode 100644 test/tarantool-tests/gh-5688-tool-cli-flag.test.lua delete mode 100755 tools/luajit-parse-memprof.in delete mode 100755 tools/luajit-parse-sysprof.in -- 2.41.0