From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <keith.wiles@windriver.com>
Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13])
 by dpdk.org (Postfix) with ESMTP id F01A4B377
 for <dev@dpdk.org>; Wed, 27 Aug 2014 17:09:40 +0200 (CEST)
Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com
 [147.11.189.40])
 by mail1.windriver.com (8.14.9/8.14.5) with ESMTP id s7RFDiSS026421
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL)
 for <dev@dpdk.org>; Wed, 27 Aug 2014 08:13:44 -0700 (PDT)
Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.18]) by
 ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001; Wed,
 27 Aug 2014 08:13:43 -0700
From: "Wiles, Roger Keith" <keith.wiles@windriver.com>
To: "<dev@dpdk.org>" <dev@dpdk.org>
Thread-Topic: Clang Scan build results
Thread-Index: AQHPwgl9ucruR2NTEUKgGoCehJGf5Q==
Date: Wed, 27 Aug 2014 15:13:43 +0000
Message-ID: <AE564FD4-F0B0-4FC0-88F2-ABAB1844F9A5@windriver.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.25.40.162]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <5352B0A928BB5042888B50F929325BA9@local>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [dpdk-dev] Clang Scan build results
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Aug 2014 15:09:41 -0000

Hi Everyone,

I built dpdk with Clang and used the scan-build analyzer to produce a repor=
t. The report is about 13M in size so not very nice to send to the list. I =
decided to place the report on github.com if you want to see the results.

While running scan-build the build would fail, but I forced the build to co=
ntinue using the scan-build option to get as much of the report as possible=
. I did not have time yet to understand why the build stopped and I hope to=
 dig into it more later.

Running scan-build is pretty simple, so would be a nice test report if you =
wanted to add it to dpdk.org site and maintain its output for review. It wo=
uld be nice to run once in a while to weed out any basic problems. We could=
 run something like PC-Lint or Coverity, but they cost money :-)

Here is the link to my Pktgen-DPDK repos on github:

# git clone git://github.com/Pktgen/dpdk-scan-build-results.git

Let me know if you have any questions or suggestions.

Thanks
++Keith


Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-=
213-5533