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 5F9FA7123C; Sat, 30 Oct 2021 16:25:32 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5F9FA7123C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1635600332; bh=S0XS1KJtqjd18y5aNPdEm93OSyto0tIwau+8rmx+g8A=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=sagldE8v7i4e9tLRPFVIzWd8UNRDk+s5nljYG9VOddVW/sSMak+TP4T5LRMUVgKfa dYCCYdLX5y7IzLjqOHI1W5JUA09T/HtjQ9cOAG2PoSL84gFfkezgfBj9mFlRntG8SL wg55sAma6Ozi80QeYipAmTFyY4AMcuUqiEZH6CEI= Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 3D2BF71199 for ; Sat, 30 Oct 2021 16:25:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3D2BF71199 Received: by mail-lf1-f45.google.com with SMTP id bu18so9533398lfb.0 for ; Sat, 30 Oct 2021 06:25:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=msU/CoT11c8NFR4ooP0G9RFL114W6SBrxrGFgJBz6CU=; b=un3zb5CGiqKwKMe8Dmsst9doHOWEWyFywMqJk0ICdNS8oihSZBY7El/Z1A7Wpm+NCK Eo3DXbDTBg/BHCmVmfCwRPiD4Oe6KEChY3Y8QVDhmJ1fIsx/RFomII+vjYgWa8nSm8N2 TyJuOyTGfbTfFtWserY3NIYWvhJUXwv8tJ1aZU0JqYu734pSplCq1DuWkp1gTX4Q/ayC 2qX4uHjWxAcVPs+YclcuUvAsd9Y3eoyDCV0bGUUx/vdP6pR0AzBVxnUhYd9UoP3VT2bS s82weaqQwlEY23Y+7yGWTZ7MeaP2/Br8UGAHoyv7yl11fPBaQEnanQWSqEDeHaeR1Q6y bA9A== X-Gm-Message-State: AOAM533gRypE44HyqfiF4+rCVJGZ1KsgZ2TiTt9viq04o/IsvW9Pb6Z8 Tm2OBuL+obNLjFLS3BhSFDoF8O8dZ8YGWw== X-Google-Smtp-Source: ABdhPJwatDJluEVznp20+MUOVlRAjYCbwBQvI9h5rLezs0Byo+z5STSHDqCS37rSiIu9c1OvcRuM9g== X-Received: by 2002:a05:6512:ace:: with SMTP id n14mr16244540lfu.460.1635600329235; Sat, 30 Oct 2021 06:25:29 -0700 (PDT) Received: from localhost.localdomain ([93.175.11.59]) by smtp.gmail.com with ESMTPSA id y3sm637338ljg.47.2021.10.30.06.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 06:25:28 -0700 (PDT) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, imun@tarantool.org, skaplun@tarantool.org Date: Sat, 30 Oct 2021 16:25:23 +0300 Message-Id: X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit v4 0/2] memprof: add demangling capabilities for C functions 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" Changes in v4: - AVL tree in symtab.demangle - Self-review Maxim Kokryashkin (2): memprof: extend symtab with C-symbols memprof: update memprof parser Makefile.original | 2 +- src/lj_memprof.c | 159 +++++++++++++++++- src/lj_memprof.h | 17 +- .../misclib-memprof-lapi.test.lua | 4 +- test/tarantool-tests/tools-utils-avl.test.lua | 59 +++++++ tools/CMakeLists.txt | 2 + tools/memprof.lua | 5 + tools/memprof/parse.lua | 17 +- tools/utils/avl.lua | 118 +++++++++++++ tools/utils/symtab.lua | 39 ++++- 10 files changed, 401 insertions(+), 21 deletions(-) create mode 100644 test/tarantool-tests/tools-utils-avl.test.lua create mode 100644 tools/utils/avl.lua --- GitHub branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-5813-demangling-of-c-symbols-v2 Issue: https://github.com/tarantool/tarantool/issues/5813