From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 97FA82C08 for ; Fri, 8 Apr 2016 11:22:44 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id 191so11972798wmq.0 for ; Fri, 08 Apr 2016 02:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=GyAnAdapws5l7t8o9+bFxfrxURWd8TDNK+w44Qz0kt8=; b=Io9oGEaXgMxp0h/671rS3lHQzxeuaO39eADermCoTCt/vLB4yidNoM9jwQ/HqOgTfk BN2MT6ZUBQ8XkIt+9/0GTSVmcZ8UuQao/A+4y6HktS4aPka7XsmoxxJ85QWGUMHWCcD+ FD6/F9uFsI98wgRWTCkxtKQuoQtNAD8PX46NJS2fKUUHVPwUEyqGo3FvBoKb59yYzOPN cGrhmZDDXSOr4j/6+hDoE5s2p06hfs+rdJrAhoaz7XatCktXFhi3yz6RVqTJjUSntr7F ECvYpY9NP4CkTOklw6JdkmfdhcS+3NgRCo6PC7luWJEQPIDFhYDbzphZ+ZUGYv2NlyJG aBNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=GyAnAdapws5l7t8o9+bFxfrxURWd8TDNK+w44Qz0kt8=; b=PF2s+Lp6ASQnNgfGv1S3UqdpnuhKsEMUBskXGeLwKKDRA0KSv/KvuF8mHseYPjNZSi z6I8O+sxg1BDu4szYVYuj+WBncG0kyVV6fqPZBTBn7KoUY/sktpCkwY+yE5ixVKeYz+Y RaeDd9IxF85uggSCgFIaC5uespJacmlIZz8ZbNmJsUUXl6PRXWCv6t/vRm3RcQEv96Ps aBkcASyxbisWMJwoTRlHsHsG8xyrv9nJoJhTQg3pYmt9njWIY/ztEl/RxbrG9ZaLQjBc OGedgsl0x5ZlTDQPq8K8VFudahP1PxCS2wgtWPw6PyIknrsiZdHBzaOQFjvZt33u/a7b V34w== X-Gm-Message-State: AD7BkJIl+UZdqH0mpTyXdNqbX+DmA7ZqtQtNWYNIaoE+QJndUEunPjbKTtdXpJPhzHvfKUOr X-Received: by 10.28.54.70 with SMTP id d67mr2674116wma.94.1460107364325; Fri, 08 Apr 2016 02:22:44 -0700 (PDT) Received: from XPS13.localdomain (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id m134sm2095578wmd.14.2016.04.08.02.22.43 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Apr 2016 02:22:43 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 8 Apr 2016 11:22:26 +0200 Message-Id: <1460107346-18761-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] scripts: test build with all stats enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 09:22:44 -0000 These stats will be compiled when adding +debug to test-build.sh targets: CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT CONFIG_RTE_SCHED_COLLECT_STATS CONFIG_RTE_PORT_STATS_COLLECT CONFIG_RTE_TABLE_STATS_COLLECT CONFIG_RTE_PIPELINE_STATS_COLLECT CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index e9e3dbc..9de90f7 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -137,8 +137,10 @@ config () # sed -ri 's,(NEXT_ABI=)y,\1n,' $1/.config ! echo $3 | grep -q '+shared' || \ sed -ri 's,(SHARED_LIB=)n,\1y,' $1/.config - ! echo $3 | grep -q '+debug' || \ - sed -ri 's,(DEBUG.*=)n,\1y,' $1/.config + ! echo $3 | grep -q '+debug' || ( \ + sed -ri 's,(_DEBUG.*=)n,\1y,' $1/.config + sed -ri 's,(_STAT.*=)n,\1y,' $1/.config + sed -ri 's,(TEST_PMD_RECORD_.*=)n,\1y,' $1/.config ) # Automatic configuration ! echo $2 | grep -q '^x86_64' || \ @@ -165,7 +167,6 @@ config () # sed -ri 's,(PMD_QAT=)n,\1y,' $1/.config sed -ri 's,(KNI_VHOST.*=)n,\1y,' $1/.config sed -ri 's,(SCHED_.*=)n,\1y,' $1/.config - sed -ri 's,(TEST_PMD_RECORD_.*=)n,\1y,' $1/.config build_config_hook $1 $2 $3 # Explicit enabler/disabler (uppercase) -- 2.7.0