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 281328BCDD6; Mon, 4 Dec 2023 16:25:10 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 281328BCDD6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1701696310; bh=sNa03TuNp57ZRdyNWy1FtsF7aTM4kbCQ0ZLUgENr9Dc=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=phTs0fGhulA3d87sa0PZN+ozWziWRqt5q7A0DS8+XKVgvCFktVrwACgxV45YFAar7 qkrtVxvQ5MVyDlGbt4GWqcpt7AK2Y0z2K1/JQFNrozmaVRT9zvPEQz6YRzMq/8qBUz TNHhlJlQ1xOojFFup21Zw4GP/KB/SNJYWjOIZAW8= Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 E0C678BCDC0 for ; Mon, 4 Dec 2023 16:25:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E0C678BCDC0 Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2c9f572c4c5so24393391fa.2 for ; Mon, 04 Dec 2023 05:25:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701696308; x=1702301108; 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=0EUUMcmjLRI8wu7Heb/ryIDYrJzg1cdkyb8kZ8i7Gjo=; b=aPGBPFbm4dQxogAIAsRbJYCjRRUNjLcZG0YDJ2FKCt8VlDIPsiq9UvNyYlG7Wak5o5 Peh2gwphwS3oZ6d/fspWV7SbaP0jROp7QKPx/b8AzosDCeXGOn5918HX+92dRZ16WKxA AV+rJDrj7Uvs0DwP8aO6TllTpxoQsPszbwWire+R4hwOueHxkw+l+h+TP9mSS4Ti+xtM Cw3P/ykobK6ly0hIAUZsM20iGYoyLaTlESR5lLtpgjmyVQqugjj/EIdq4m91G3KqjFnP h1D9y1dM/au4mSjaedIxTx1ILD1qnthgz6kExGXpag0ne+lq4yNmfxDPOJm0u+i3Hmzq 6qtQ== X-Gm-Message-State: AOJu0YyoQm6rWW0vNXg94N23DlmcycdKi0yxNYWg1AgDlvzr8UfP64ni nPCRi5uZqSShh6ue3pdkFtZxg0BuC/1u2A== X-Google-Smtp-Source: AGHT+IGcoPkzMSyoNBm6pYFOWYAHi6S9clGNfPjKcGyrzCcrO5opDNmdAwIE1QBIYQvOngidgr4zJw== X-Received: by 2002:a2e:984c:0:b0:2c9:f0b1:9d8c with SMTP id e12-20020a2e984c000000b002c9f0b19d8cmr1712037ljj.38.1701696307640; Mon, 04 Dec 2023 05:25:07 -0800 (PST) Received: from fckxorg.mail.msk ([2a00:1148:b0ba:16:a3e8:bdc1:dbed:dbc8]) by smtp.gmail.com with ESMTPSA id x1-20020a2e9dc1000000b002ca09599e28sm196597ljj.107.2023.12.04.05.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 05:25:07 -0800 (PST) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, skaplun@tarantool.org, sergeyb@tarantool.org Date: Mon, 4 Dec 2023 16:24:58 +0300 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit 0/4] profilers: refactor parsers 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 patchset contains various imporvements for profile parsers. This set of changes is only the first part of what's coming after the patch with ptrace testing. All of the serious bug fixes will be included in the second part. Branch: https://github.com/tarantool/luajit/tree/fckxorg/profile-parsers-refactoring PR: https://github.com/tarantool/tarantool/pull/9438 Issues: https://github.com/tarantool/tarantool/issues/5994 https://github.com/tarantool/tarantool/issues/9217 Maxim Kokryashkin (4): cmake: properly handle the memprof/process.lua memprof: refactor `heap_chunk` data structure memprof: introduce the `--human-readable` option profilers: print user-friendly errors .../gh-5688-tool-cli-flag.test.lua | 4 +- .../gh-5994-memprof-human-readable.test.lua | 72 +++++++++++++++++ ...17-profile-parsers-error-handling.test.lua | 79 +++++++++++++++++++ tools/CMakeLists.txt | 2 + tools/memprof.lua | 68 ++++++++++++---- tools/memprof/humanize.lua | 46 ++++++++--- tools/memprof/parse.lua | 22 ++++-- tools/sysprof.lua | 42 ++++++++-- tools/sysprof/parse.lua | 2 +- tools/utils/symtab.lua | 2 +- 10 files changed, 297 insertions(+), 42 deletions(-) create mode 100644 test/tarantool-tests/gh-5994-memprof-human-readable.test.lua create mode 100644 test/tarantool-tests/gh-9217-profile-parsers-error-handling.test.lua -- 2.43.0