From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Cyrus-Session-Id: sloti22d1t05-1211982-1517541903-2-7811498528552373636 X-Sieve: CMU Sieve 3.0 X-Spam-known-sender: no ("Email failed DMARC policy for domain") X-Spam-score: 0.0 X-Spam-hits: BAYES_00 -1.9, HEADER_FROM_DIFFERENT_DOMAINS 0.001, RCVD_IN_DNSWL_NONE -0.0001, LANGUAGES en, BAYES_USED global, SA_VERSION 3.4.0 X-Spam-source: IP='96.67.55.147', Host='shelob.surriel.com', Country='US', FromHeader='com', MailFrom='org' X-Spam-charsets: plain='us-ascii' X-IgnoreVacation: yes ("Email failed DMARC policy for domain") X-Resolved-to: greg@kroah.com X-Delivered-to: greg@kroah.com X-Mail-from: kernelnewbies-bounces@kernelnewbies.org ARC-Seal: i=1; a=rsa-sha256; cv=none; d=messagingengine.com; s=arctest; t=1517541903; b=XcNox9xwf9W5KNfoIaTrtbzO/W8gVjFTo/s6eRva+pnb3jt 0FL18wjpa/Y24V/93+/0PVVEpMMC9N6ETGCktYUo2GPrZBoz51mmo2O0rTUJjPmD +RPG1ZfBTY4nC+Bb5BBUJE/AwXWieJv7IjE0VrT09EXhwnnzchMxijWnyaURWIiN WuHCeXSRafL+0HKyxPKDV6ieJXH9bQfmaLBP1IO7yrzCsp8fi2rBA/VX/W4HyLrw R/A+gm9eK+5iMZmjHDvLyzXj8SuPqiQQwKSS58xs+NsquMPVVszFhSISPIVhfyJD 3j6dg0RPVjrVqDQdmTp8YCmdCZ+1z9tZyp15X5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:in-reply-to:cc:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:content-type :content-transfer-encoding; s=arctest; t=1517541903; bh=oSFb7lli vpt00WOu+RH3NwyxGmIdWBKytfucj2JcaPc=; b=PIVTW+2doMHL3zXZK8YKq0VM V4n1mZNh+R2N5AbV2tK+P01keNwD6HrgTY+hqS0FFNRDlcBPvTUVyeS/iLc5MmZ1 ynebhO+nrS6bbfR5UvnUfhQr7m6MgUPCy/hKnk9S0wX6IgnYca0+LVQrl27zEQUH b0J86Z84cA7RNwBBDe5zvdyewM4k3RxAFypXpzHK1A6ZkzPg49C+u3G/8e1yRsTE 2SxpbaKGrnacCqZRPa78/hL1jcTT3eFxy+PDQodp+qDFKYAq6DyBhl9WXhGjLGtO hsrn/jSvO7FthDdSyuj6JaOAFnUrHthRC0xqKO4ERPP9RcIrZDwyRPd9DxWG6g== ARC-Authentication-Results: i=1; mx6.messagingengine.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=fail (p=none,has-list-id=yes,d=none) header.from=redhat.com; iprev=pass policy.iprev=96.67.55.147 (shelob.surriel.com); spf=permerror smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org smtp.helo=shelob.surriel.com; x-aligned-from=fail; x-ptr=pass x-ptr-helo=shelob.surriel.com x-ptr-lookup=shelob.surriel.com; x-return-mx=pass smtp.domain=kernelnewbies.org smtp.result=pass smtp_is_org_domain=yes header.domain=redhat.com header.result=pass header_is_org_domain=yes; x-tls=pass version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128 Authentication-Results: mx6.messagingengine.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=fail (p=none,has-list-id=yes,d=none) header.from=redhat.com; iprev=pass policy.iprev=96.67.55.147 (shelob.surriel.com); spf=permerror smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org smtp.helo=shelob.surriel.com; x-aligned-from=fail; x-ptr=pass x-ptr-helo=shelob.surriel.com x-ptr-lookup=shelob.surriel.com; x-return-mx=pass smtp.domain=kernelnewbies.org smtp.result=pass smtp_is_org_domain=yes header.domain=redhat.com header.result=pass header_is_org_domain=yes; x-tls=pass version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128 Date: Tue, 23 Jan 2018 11:17:19 -0200 From: Arnaldo Carvalho de Melo To: Wang Nan Subject: Re: [tools/perf] perf test LLVM failure on 4.9 Message-ID: <20180123131719.GA2211@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Mailman-Approved-At: Thu, 01 Feb 2018 22:23:39 -0500 Cc: wangnan0@huawei.com, Pintu Kumar , daniel@iogearbox.net, kernelnewbies@kernelnewbies.org, alexander.shishkin@linux.intel.com, linux-kernel@vger.kernel.org, acme@kernel.org, mingo@kernel.org, quentin.monnet@netronome.com, davem@davemloft.net X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org X-getmail-retrieved-from-mailbox: INBOX X-Mailing-List: linux-kernel@vger.kernel.org List-ID: Em Tue, Jan 23, 2018 at 06:07:25PM +0530, Pintu Kumar escreveu: > Hi All, > > I am verifying all perf tests on Ubuntu-16 x86-64 platform using the > kernel version 4.9.20. > I have installed several others packages including: clang, llvm > > But, when I run 'perf test' I get some FAILURE. > Specially, 'perf test LLVM' is failing. Wang, could you please take a look? I'll be traveling this week, so probably will not have time for trying to work on this. - Arnaldo > Please check the below error logs: > > ---------------------------------------------------- > # perf test LLVM > 35: Test LLVM searching and compiling : > 35.1: Basic BPF llvm compiling test : FAILED! > 35.2: Test kbuild searching : Skip > 35.3: Compile source for BPF prologue generation test : Skip > 35.4: Compile source for BPF relocation test : Skip > ---------------------------------------------------- > > When I run with -v I get this: > > ----------------------------------------------------- > # perf test -v LLVM > 35: Test LLVM searching and compiling : > 35.1: Basic BPF llvm compiling test : > --- start --- > test child forked, pid 3304 > Unablt to get kernel version from uname '4.9-xxxx-amd-x86-64' > WARNING: unable to get correct kernel building directory. > Hint: Set correct kbuild directory using 'kbuild-dir' option in [llvm] > section of ~/.perfconfig or set it to "" to suppress kbuild > detection. > > Unablt to get kernel version from uname '4.9-xxxx-amd-x86-64' > > > int _version SEC("version") = LINUX_VERSION_CODE; > ' | $CLANG_EXEC -D__KERNEL__ -D__NR_CPUS__=$NR_CPUS > -DLINUX_VERSION_CODE=$LINUX_VERSION_CODE $CLANG_OPTIONS > $KERNEL_INC_OPTIONS -Wno-unused-value -Wno-pointer-sign > -working-directory $WORKING_DIR -c "$CLANG_SOURCE" -target bpf -O2 -o > - > libbpf: 2129190-4a0 doesn't provide kernel version > Failed to parse test case 'Basic BPF llvm compiling test' > test child finished with -1 > ---- end ---- > Test LLVM searching and compiling subtest 0: FAILED! > ----------------------------------------------------- > > > Basic BPF LLVM compiling test is failing. > It reports that bpf could not able to read the kernel version from uname. > Is it because of this that 'perf test LLVM' is failing ? > > My uname says: > 4.9-xxxx-amd-x86-64 > > My kernel version is: 4.9.20 (from Makefile) > > So, I dont think there is any problem with kernel version. > > If any body have come across this problem please let me know how to > resolve this issue. > > > > Thank You! > > Regards, > Pintu _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies