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 90BFC6FC83; Fri, 20 Aug 2021 14:12:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 90BFC6FC83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1629457932; bh=ZRMNLWExAfvNXSaFC2ocxZs9W0x90NDFckmZEZXpgIo=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=XrCHzraIZ1JXqBr4ZxElxqnFm2Rlhe94dXOIxsCmyIunO7kxgkEwtKxuNtVh/Luxs /7qSJFFdRD+0gVJb9CWsvX9x2an8zh1EoJpUjoRRscZGeAos44zcdDUGadsZU/0ra/ yiv2cIKYp49dFNTsQycAy8+fs7qchCtB5qEWsDHM= Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 B31BC6DB06 for ; Fri, 20 Aug 2021 14:10:49 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org B31BC6DB06 Received: by mail-lj1-f182.google.com with SMTP id y7so16732861ljp.3 for ; Fri, 20 Aug 2021 04:10:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jDtyu7sK8oPjKGVXwhpRsWnYfhXeqH1QP7ILPTtn2E8=; b=tDg6z6ZYL6A4gPOnXGfTgwdzN2Ei7NtK2CAujCnfKp0aU896c820TE1FCF1uP2RQn7 zPELqoITyqWbr7n3xSudDwcQYyHehzMDPveKlM0+jz9mrva2WMqvM8gGEcP0Gmsgyh2h XwhDUgb+Nj7DgRZm5uZ4i3t8G9aKE9DX6GrxUcu2vVYKsERPgxtT5mcQ7h+icgG8TsUo +2Kic0CVrlIf+LmkyCYw2fwX6n1oo4oB7E5AncwEGTO/l2gLAnu++HAtuDrIvjke6Ctn v3F9frou0pZAouSe2ydOMzniqzu+q/bApbQfqrrEBLr0DBeevuUvEv897/uofUmmjMyl DEZg== X-Gm-Message-State: AOAM530ZOiTDNAQ7TWa5MvWRIV9F8wkVO17QkblFpixEtvMbwHjirHQV RrBuBaL3MpjUpQJ81U3G9Mww/716HiYBlWdd X-Google-Smtp-Source: ABdhPJxTcDsXvWFYQOD6VIN8A+ThVUncGzwrQzBxuA9bw6aWy40PqvJSV7CwLaRpjLMKytlpisDurQ== X-Received: by 2002:a2e:b0e8:: with SMTP id h8mr15447179ljl.189.1629457837826; Fri, 20 Aug 2021 04:10:37 -0700 (PDT) Received: from localhost.localdomain ([93.175.2.170]) by smtp.gmail.com with ESMTPSA id k15sm183951lfv.141.2021.08.20.04.10.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 04:10:37 -0700 (PDT) X-Google-Original-From: Maxim Kokryashkin To: tarantool-patches@dev.tarantool.org, imun@tarantool.org, skaplun@tarantool.org Date: Fri, 20 Aug 2021 14:10:31 +0300 Message-Id: X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit v2 0/3] 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 v2: - Fixed comments as per review by Sergey Maxim Kokryashkin (3): utils: add CRC32 hash implementation memprof: extend symtab with information about .so libs memprof: update memprof parser CMakeLists.txt | 2 + src/CMakeLists.txt | 1 + src/Makefile.dep.original | 3 +- src/Makefile.original | 2 +- src/lj_memprof.c | 60 +++++++++ src/lj_memprof.h | 3 +- src/lj_utils.h | 29 +++++ src/lj_utils_hash.c | 110 +++++++++++++++++ src/ljamalg.c | 1 + .../misclib-memprof-lapi.test.lua | 5 +- tools/CMakeLists.txt | 2 + tools/utils/hash.lua | 99 +++++++++++++++ tools/utils/symtab.lua | 114 +++++++++++++++++- 13 files changed, 420 insertions(+), 11 deletions(-) create mode 100644 src/lj_utils_hash.c create mode 100644 tools/utils/hash.lua --- Github branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-5813-demangling-of-c-symbols Issue: https://github.com/tarantool/tarantool/issues/5813 2.32.0