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 8662F5B7CC5; Fri, 25 Aug 2023 12:14:53 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8662F5B7CC5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1692954893; bh=lWo4IwG4LHXkcNfVs1c12kJIMVilr1GsoBSNuzL05WE=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=YIFnf6CtGKH1gnBkO4IALW4OXR1PE/fgykoUq3XX1QKHtBk+T2/dAlhxlrBo3UX9l kmPBVjMjjxT9e4PHSJGi/OBknjO0l35/7yL76fDFvQCTD3h6QrQflxbbsfCXxlBTpv N0ZQfVQmPEwUD6L4O1sVerOqHSQ04h8TbA8Vstzo= Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 4A62F4DA641 for ; Fri, 25 Aug 2023 12:14:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4A62F4DA641 Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-500913779f5so1033355e87.2 for ; Fri, 25 Aug 2023 02:14:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692954891; x=1693559691; 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=Gc9QHW4pnT0uZD6usCpYmm2NI6Nw5ZiYgPqzlaKU4DY=; b=d//sp799AxU5QaSr4xmdmjdwPsVXSyPAp3DDz5y3b4kKPJ/FDCIlLHwB8tcqy7Y1mO L+Hyj1/AB2NUNbvhBZmXg9gbfold2LZB8o+OWXVj9bZKesu6SqGBp2+FYh+q0yF8KwOk MHz7fzobopEgbeKpCJYwXqehSW+4hZ97cuBVcfIDQngA/SS8DAd090SzxnvK7S4EfYqM xsNEX6VVlL4fUMiieXOEBBB7/c7fm0ntKRMBN6Sdil5WUUyd1VvsfD/UJkWH4xxL/UkM gcMl9Jhpf6OJ3lmtdBzFEQxUKRq9UiMaQ97OyEQ7ezLgNVVOuoYXnDXzbiPO7Id6C4+y LX7w== X-Gm-Message-State: AOJu0YxgF9ce3A9NgH59DMX9qHoNZsjb5IobmffiCftLim+ogBhs4lBS 4HZjouDlOR5gD6PBqdAloFYLUZaarllIag== X-Google-Smtp-Source: AGHT+IFjVztrZVCKjiS9EASgJ9FTVrZ1+vjPM6Ltvai0YKCq+oPmQLtcFmUoTMmGuTHEg/B0CEnUbA== X-Received: by 2002:a05:6512:2512:b0:4fe:af1:c3ae with SMTP id be18-20020a056512251200b004fe0af1c3aemr13984024lfb.15.1692954890962; Fri, 25 Aug 2023 02:14:50 -0700 (PDT) Received: from fckxorg.mail.msk ([2a00:1148:b0ba:16:a3e8:bdc1:dbed:dbc8]) by smtp.gmail.com with ESMTPSA id a27-20020a056512021b00b004fe3512e26dsm213411lfo.291.2023.08.25.02.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Aug 2023 02:14:50 -0700 (PDT) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, skaplun@tarantool.org, sergeyb@tarantool.org Date: Fri, 25 Aug 2023 12:14:44 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit 0/2 v8] 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 Maxim Kokryashkin (2): tools: add cli flag to run profile dump parsers test: don't skip tool CLI flag for tarantool Makefile.original | 20 --- src/luajit.c | 41 +++++- .../gh-5688-tool-cli-flag.test.lua | 127 ++++++++++++++++++ tools/CMakeLists.txt | 73 ---------- tools/luajit-parse-memprof.in | 6 - tools/luajit-parse-sysprof.in | 6 - tools/memprof.lua | 4 +- tools/sysprof.lua | 16 ++- 8 files changed, 183 insertions(+), 110 deletions(-) create mode 100644 test/tarantool-tests/gh-5688-tool-cli-flag.test.lua delete mode 100755 tools/luajit-parse-memprof.in delete mode 100644 tools/luajit-parse-sysprof.in -- 2.41.0