From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 267F2A0597; Wed, 8 Apr 2020 07:11:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 076EA3195; Wed, 8 Apr 2020 07:11:52 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 45B042BE9 for ; Wed, 8 Apr 2020 07:11:50 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id c20so1874560pfi.7 for ; Tue, 07 Apr 2020 22:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Yvp7HZuVPMsk2w/pk0cWZ+O8JAsQ0LocS9gFiXEf6oE=; b=ZnoqJaLo7MwOwcniQrqL9VP/2BpqnW1rbFMFitw4TRmKUii/OzSeAY0K/sdxfsIOiW i+rWevNxEm+QsbSf1+8lITGNMIAL60moi3KUI+8IJdO+Hf3yxmqYmbP+dB6GnIT2gPzv 0KCCThGVf1U5M35n2bplImFNcmiy8Yvmd4X0CUEGF3yfHE6mKd3PXNynLAIcEJK0+EiI 1k8cfVKb43I1jGpby1+ZGxVzPceWCd0h3RXkdSf9UUphkJCWUO3HLNW5mrjDS9as/yCy IWd8I7WSDNsfz11PE7t9g5WvvXsbfPAvS7jqeiywFS9Z4AOXiVNxVH3ZDSKfwSPkeIS4 Nmyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Yvp7HZuVPMsk2w/pk0cWZ+O8JAsQ0LocS9gFiXEf6oE=; b=FHxS0de6faUyHy5sGT2H8ySAq5mJ/JmPIKQfq85JvEp4BPvThPsexOxKvNTvelHjRi X5kPbCsLZNrVq8GuTWejuz7RBw3x93Nrp9FhaeWuBePvgQcHvv+qg2LI2f9JcxhmdJMW dzGrSggxigZfdvzzWEUcPZOII5Asr2WoDNa+n2VQlpObFSZx6HH4mffVR/D9aqYpz4M6 eIiFxB/Tzhjxw7WEIECe3I3xT11o+PcGm00K3SrWVXZYC4ACej1KJEpDf0/F3Z+imMNI UkqczTVriWMLwJoua8JNUiQVzSg90qyIagnZl/58aoRWbMlRx+d+J9DMdDC0EtUCWgD3 2dXQ== X-Gm-Message-State: AGi0PuYPSc7qtDMwuR+fm7BZx5wNiP+A6XHu/3Xhmq6maGb1e4vF8jJ/ w4mN7XpzcapGRe6xw+VzSCrWDA== X-Google-Smtp-Source: APiQypIfUhmOILHyoS71cCxnN3m9sxV6VQwVOvWQR1lfc4qXSHeG/18vbxP+/Rvnp3wUDboxU+J9iQ== X-Received: by 2002:a62:880f:: with SMTP id l15mr5926026pfd.218.1586322709537; Tue, 07 Apr 2020 22:11:49 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id e26sm3730885pff.167.2020.04.07.22.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Apr 2020 22:11:49 -0700 (PDT) Date: Tue, 7 Apr 2020 22:11:46 -0700 From: Stephen Hemminger To: Xueming Li Cc: Anatoly Burakov , Ferruh Yigit , dev@dpdk.org, Asaf Penso Message-ID: <20200407221146.386a8006@hermes.lan> In-Reply-To: <1586318694-31358-2-git-send-email-xuemingl@mellanox.com> References: <1586318694-31358-1-git-send-email-xuemingl@mellanox.com> <1586318694-31358-2-git-send-email-xuemingl@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1 1/2] malloc: support malloc and free tracking log X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 8 Apr 2020 04:04:53 +0000 Xueming Li wrote: > * Dump contents of all malloc heaps to a file. > diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map > index f9ede5b..25c4b13 100644 > --- a/lib/librte_eal/rte_eal_version.map > +++ b/lib/librte_eal/rte_eal_version.map > @@ -338,4 +338,7 @@ EXPERIMENTAL { > > # added in 20.05 > rte_log_can_log; > + rte_malloc_log_init; > + rte_malloc_log_dump; > + rte_malloc_log_stop; > }; Looks like other entries were indented with tabs and you used spaces?