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 41B699DA742; Wed, 13 Mar 2024 17:42:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 41B699DA742 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1710340946; bh=YV0XblC+rTgLWLH/r7CfuCSTTUkFh9AdcL2/MWMb9yI=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=cgsQNBVGTFh7/PFkdKwRq4Yj903z5/NOIgeEF+o9yAeAsBL36cRjvy03EtQT6CNZr zY/LyNZQ7NDk9Zqa/S0C6Jp4skLpT3qVpAJ/4z5voejqym1p4k7aJFk82pO1d6IG2t LR3+D+30Y/DW5Yg7ipa4USjzZfKy2SmSMf4aF4jc= Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 3D8F5DC5BB2 for ; Wed, 13 Mar 2024 17:40:29 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3D8F5DC5BB2 Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2d28051376eso74024281fa.0 for ; Wed, 13 Mar 2024 07:40:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710340828; x=1710945628; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s6PUOkSZtN4U7fWQH6KJR9i8lQ6NC35tQYdbhUee29Y=; b=RkH43B9MvkjtzLzQAm3EuiDvsuWuIQi498NeYj2U9Be1d0i8WH6EDw0eUJUjAWSw/C Nbk3xFWQrpxt/NYkyZNMabE1Ebf5ZN0r4lqwbh7CHAhBI93rUYSBzc7VmOlvcekgCxf/ lZpscRoKToRR0M5Ryp38zgUM1vbZQB935S2FXVuV7Ns9KUvhX+Enh6rLnOrDld/zn+ne 10EljrO8+RlTQ9J1VQYahD9MdCq9Yq3BwBHUAKfzC1x3ed2pkNtWlsoMKnx+L+7VkLm0 2YXgcteW+CuaSvmxJdvS98s7K1uy5Z4jop3L6bVxsSqtkQZTE9AZXqAnAxpb0QaxwYnl AfIg== X-Gm-Message-State: AOJu0Yz+6CCzFwqt6wpg31/IzA75qWq2DSkdRKL7NwuLqFppXp0HGOe1 Ql6jetN3oGMfDMDndOM5JPdkjyoEVRGt0LrOSTvl2x2KYvTjrM6Ju/ViHJDKtQA= X-Google-Smtp-Source: AGHT+IGC0Ru6lyAfcsTZb53zeL4/EBiao3dMcp3GFcSRdp5GxgwSHL8IJoGNCiShQeF8XdNGvQwL5w== X-Received: by 2002:a2e:9842:0:b0:2d4:3078:ef3d with SMTP id e2-20020a2e9842000000b002d43078ef3dmr7293778ljj.1.1710340828219; Wed, 13 Mar 2024 07:40:28 -0700 (PDT) Received: from localhost.localdomain (95-24-11-149.broadband.corbina.ru. [95.24.11.149]) by smtp.gmail.com with ESMTPSA id a14-20020a2e88ce000000b002d4692a51c8sm505450ljk.99.2024.03.13.07.40.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 07:40:27 -0700 (PDT) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, skaplun@tarantool.org, sergeyb@tarantool.org Date: Wed, 13 Mar 2024 17:40:16 +0300 Message-ID: <0858584a4f2801891c0ffad4fca2e1499c60c70c.1710340671.git.m.kokryashkin@tarantool.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit v3 4/6] memprof: remove unused arguments 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" Both `humanize.profile_info` and `process.form_heap_delta` don't need the symtab, so the argument can be dropped. Part of tarantool/tarantool#5994 --- tools/memprof.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/memprof.lua b/tools/memprof.lua index e23bbf24..955a1327 100644 --- a/tools/memprof.lua +++ b/tools/memprof.lua @@ -102,9 +102,9 @@ local function dump(inputfile) local symbols = symtab.parse(reader) local events = memprof.parse(reader, symbols) if not leak_only then - view.profile_info(events, symbols) + view.profile_info(events) end - local dheap = process.form_heap_delta(events, symbols) + local dheap = process.form_heap_delta(events) view.leak_info(dheap) view.aliases(symbols) -- XXX: The second argument is required to properly close Lua -- 2.44.0