From patchwork Tue Jul 26 15:16:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 72816 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1743209qga; Tue, 26 Jul 2016 08:17:02 -0700 (PDT) X-Received: by 10.55.24.35 with SMTP id j35mr28483382qkh.120.1469546222913; Tue, 26 Jul 2016 08:17:02 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c123si759207qkd.17.2016.07.26.08.17.02; Tue, 26 Jul 2016 08:17:02 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 90BDD68711; Tue, 26 Jul 2016 15:17:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E887E687B8; Tue, 26 Jul 2016 15:16:57 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 02CEB687D2; Tue, 26 Jul 2016 15:16:54 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by lists.linaro.org (Postfix) with ESMTPS id 136B8686D4 for ; Tue, 26 Jul 2016 15:16:47 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id b199so7557290lfe.0 for ; Tue, 26 Jul 2016 08:16:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oL1sZrW4ceyC6xNz5t7r7zsDtNdcGQEKdIFQGclr428=; b=aTb7sAfngAaWYCk7OFi9xCBGky1qdst/7CWDAXarsym+iqn+XRmEunLrIfYGTHJ9gW eDolHljptnHDE9vM/LSf5LYwagYI3gBWooPhQCEEJGqFWM9sOLNz/nE41AEe6Tuj5I9S YgiVDPzKTZWAI5lofKx0XlNNzS2KVeGljeJ2YogLC48YEK0Y95wpIedqOLgpV3t7ukJF 7IcurnN1LorfKeYkpjhO+ZQseCU8JB3iHgUEgwtJoOO47cD/KPjXpDiWLqaly3fTOwoM 7vFBInb+fwsibG7UUyEbtjZhtZW9T6tTaDc9SmAvayGej27iFE5dNeB7Pyo1OxkiDPtj wyUA== X-Gm-Message-State: AEkoouv08aft4PcRRlsZ658riExw+NAO5qCvMDcFEMymqfHiIrqmv3DlpVRUuZwNFEHRM+ONsPU= X-Received: by 10.25.23.99 with SMTP id n96mr10426155lfi.64.1469546205666; Tue, 26 Jul 2016 08:16:45 -0700 (PDT) Received: from localhost.localdomain ([83.220.238.111]) by smtp.gmail.com with ESMTPSA id 67sm214998ljj.8.2016.07.26.08.16.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jul 2016 08:16:44 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 26 Jul 2016 18:16:40 +0300 Message-Id: <1469546200-19030-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 X-Topics: patch Subject: [lng-odp] [PATCHv2] linux-gen: fix odp_pool_print X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" commit: ec0d570 linux-gen: pool: optimize thread local buffer cache removed elements for prints but did not remove that from format string. Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.1.250.gff4ea60 diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 0a427ed..415c9fa 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -1103,7 +1103,7 @@ void odp_pool_print(odp_pool_t pool_hdl) odp_shm_to_u64(pool->s.pool_shm)); ODP_DBG(" pool status %s\n", pool->s.quiesced ? "quiesced" : "active"); - ODP_DBG(" pool opts %s, %s, %s\n", + ODP_DBG(" pool opts %s, %s\n", pool->s.flags.unsegmented ? "unsegmented" : "segmented", pool->s.flags.predefined ? "predefined" : "created"); ODP_DBG(" pool base %p\n", pool->s.pool_base_addr);