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 3F1A170358; Wed, 15 Sep 2021 20:19:07 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3F1A170358 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1631726347; bh=IjLH2VeSuMNSpXAtf1DoS7PgAgXIxXWjS+aU4uBeEg8=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=giyb1CGoIU7fXGmiSS7gtWHlamfR0hjbRm/My9B32PQeQ6o0p6n7+Uo+R6SGC880g HT602PdwcRlLEliSUdONVeYzqIszhMISYEJhNRebkiV/Oc6F0iz9/zzns7oga8jeIy OuYgNboqQ5Bi7rtIni5G7qxCTAuO5tWpmNNeIj1M= Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 CFDD070358 for ; Wed, 15 Sep 2021 20:19:05 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org CFDD070358 Received: by mail-lf1-f47.google.com with SMTP id h16so7426302lfk.10 for ; Wed, 15 Sep 2021 10:19:05 -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=G0biX213xH4bp/KbtYgQjY3+lvMNcX0HCGwHcYopt2A=; b=AIOyn2gX2Hpbz9apMi2kO4BjIjsH0x2UEshR+P77+L3yYk/yQdYMlAKjJSSD2JgptH AhlHPkmJpQ8FBdalCjrQC7KKT08iojjvKh5hyVonYFE1B0kEAJjRef6xpTqyEB9keK9x hwS4gH9oK45+qgolBySbwv73ZHo87jmdlycNnte55+ubup/E7ES3weOkTLZGUUQK86Dz hwD6mvezA0GDz7oKdmlbjbekDBBCb+7dtWV/4lhwm4u/GhrSMRlt1c1RMehH6Bs9qvFv rNJqfu7nXr8qKl1hMajZZUe1TWhOuZ9ReRLDYy5VRV8QKLfPkXuDPG9w+Ph78QjIuhL2 vKbw== X-Gm-Message-State: AOAM5317nKaCi2CWjOLqRjBxgi9sQMrMI5BK4be9lm4pbURfRZlD/MnU vUFrevR82cIwnvP/rJ/+NezMPOLusHWrZAQO X-Google-Smtp-Source: ABdhPJwgODkdXvpGei1Owx/nb5s/0xneITaTA95aYaUthV1SDRZPmZGnsgfC8JuFSsxi/dP1xR+j8w== X-Received: by 2002:a05:6512:3f03:: with SMTP id y3mr756712lfa.5.1631726344953; Wed, 15 Sep 2021 10:19:04 -0700 (PDT) Received: from localhost.localdomain ([93.175.11.199]) by smtp.gmail.com with ESMTPSA id v5sm60271ljg.117.2021.09.15.10.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 10:19:04 -0700 (PDT) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, imun@tarantool.org, skaplun@tarantool.org Date: Wed, 15 Sep 2021 20:18:59 +0300 Message-Id: X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit v3 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 v3: - Fixed comments as per review by Sergey - Added support for demangling of functions loaded in the profilter's runtime Maxim Kokryashkin (2): memprof: extend symtab with C-symbols memprof: update memprof parser src/lj_memprof.c | 154 +++++++++++++++++- src/lj_memprof.h | 17 +- .../misclib-memprof-lapi.test.lua | 4 +- tools/memprof.lua | 6 + tools/memprof/parse.lua | 17 +- tools/memprof/process.lua | 7 + tools/utils/symtab.lua | 35 +++- 7 files changed, 220 insertions(+), 20 deletions(-) --- GitHub branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-5813-demangling-of-c-symbols-v2 Issue: https://github.com/tarantool/tarantool/issues/5813 Patch v1 thread: https://lists.tarantool.org/tarantool-patches/cover.1627043674.git.m.kokryashkin@tarantool.org/ Patch v2 thread: https://lists.tarantool.org/tarantool-patches/cover.1629457244.git.m.kokryashkin@tarantool.org/ 2.33.0