Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3994494ybg; Fri, 25 Oct 2019 11:49:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMrFgshGP0FVLgtRxMQdK1hIv4QyyXGbrZML7Ru7Vy6pmZJ8YzmcxHgwGu84yUjI3CLckO X-Received: by 2002:a17:906:5381:: with SMTP id g1mr4912271ejo.159.1572029388748; Fri, 25 Oct 2019 11:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572029388; cv=none; d=google.com; s=arc-20160816; b=iKVBl35b4DtqmQT3RqGSGTsq66J5qjm9oXKDR5aJTZT1LIHmpMDwJ5gKBXu34P2Cmf C1AP7A01ahV5tk1/Xfs8dSpTAD2h86MNDst+B23aBy18+/fjXZMjJoHjnfbXOqcUCPo3 QvLGV+leGfiQlnfnVZGBqii2wFZRq+qN47RUn/kJUlSioMFTGUYBUcKcZP4uBzGGOUM/ TF4Dw1fSSGV20yOzBlo7fJc1zreymAlgBJAHCXMRHpYNWnKPsdKk9OGLtTKpqLe1GgOd D2Kp/C7bxDfgKoDfxsUVhIFtTiQk60yrrzIlLs+Xsj1fs9MmvT7QeXZH2QnbLp1ElcBg 3YcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YTe4eHeT5TZhEJjYo5+B/HRbkwsUoHnaGe3R5fij54M=; b=qD5/GoKeSaAtNHFizy0v6nAF4wDbC0LkeIBS1+LFDdqbOppUqDCbQU/Yea/4QqPkvU n0VnEEy2fTAM9d/MMchVa9RJhuA0EHE8l91/DVGyJ8HONVCmJsXQjRfWnzKzRr5LQX7G /RAqz4ElHVHf+HNPGQ4bpLS83QQh7Hoo2E3++SysIvgleOW5DCZ1xNYVMVpv9u5RZzSd v1TQVTfY8O0WD4crEnULjMOah4B064B8sa65Vy3gXXglLyvq23/nsSfSrVfNHxzpgLdk ROzZPxOE+/iYIwI88Oce/jiIVJVEHtOocPyYxEW+KX5gfv0yYKuhLRA9sRmPR4P9Bswu lMTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hmNps2Z9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si1835250edc.390.2019.10.25.11.49.24; Fri, 25 Oct 2019 11:49:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hmNps2Z9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503991AbfJXSGI (ORCPT + 99 others); Thu, 24 Oct 2019 14:06:08 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:34728 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503978AbfJXSGH (ORCPT ); Thu, 24 Oct 2019 14:06:07 -0400 Received: by mail-lj1-f193.google.com with SMTP id j19so26043048lja.1 for ; Thu, 24 Oct 2019 11:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YTe4eHeT5TZhEJjYo5+B/HRbkwsUoHnaGe3R5fij54M=; b=hmNps2Z9pEQjqlCRZbVSw255vuyGjjzC4tvNOiHrpGFb5nQt1JueBUE6bR2t48cQfI tjLVMUTnEklIu096/RRUSfVv0XZFK+xXNLTgdkI1aXwZ1UQkIrqG5WgVq5/QsU9ml2fb xRRNJ4aQqjQYCK2Rpz0I86lj1hNq/czQWmY2m/JpmDgSt6IIGFYPYiyTb/mb+rznmiHE UXQVNg9tB145qDRBwvgn/Wv5uPkI9Y66glRRXTMh7y3b7dtOjiAYIqITD/8fGtlkFUMX Q4yTv7h78OEL89GVVj6qtHK3NRoq7oescZrZnBjYbwSTatkqgRQt6sMpU/+OQOHyir6p 2sfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YTe4eHeT5TZhEJjYo5+B/HRbkwsUoHnaGe3R5fij54M=; b=S7+e6VHotXlJntBRN98qgV5+h0eInFJCqpi87apU6mxy6ul0CE6Cd46GRmFfdid+Bb 5cvbmDQulfBSwiVcTGmTi1LpK1JdHCv8Fga4PLZuq55wNlItgLBbh8MrxuoOc4gXv8EY AcTqCO59D10Pf+UcmHvUklqdYL1fXntwwGW9Li8LqDSlLDOjRUemZqLm/PczXZ+4TetV jMf/CTvgOmQb9e5+YAKqKgiXgYboB+V6UfG5PMnrl31ws+mfXvEGpfxwLhBgq061Qrsq ZJjnk/vmuayyZDNh9rVsXS5zoIdey+A4m6av+z7oPFHxT7pxMgfaJy34Y790uRtRZmUQ vqIA== X-Gm-Message-State: APjAAAUFxHOqQfo0Et8pNCLLb3MAXvbKDgmyH7WSeRtnzHDsjs2fB1e9 GHlpenLYKFO/SQDsuCACvupcun1Q/ljh+QFZnscHdA== X-Received: by 2002:a2e:3514:: with SMTP id z20mr2567259ljz.84.1571940365607; Thu, 24 Oct 2019 11:06:05 -0700 (PDT) MIME-Version: 1.0 References: <20191023024149.GA29009@leoy-ThinkPad-X240s> In-Reply-To: <20191023024149.GA29009@leoy-ThinkPad-X240s> From: =?UTF-8?B?RGFuaWVsIETDrWF6?= Date: Thu, 24 Oct 2019 13:05:54 -0500 Message-ID: Subject: Re: Linux-next: 20191022: perf: bpf_helpers_doc.py: not found To: Leo Yan , sfr@canb.auug.org.au Cc: Naresh Kamboju , Linux-Next Mailing List , Arnaldo Carvalho de Melo , open list , linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On Tue, 22 Oct 2019 at 21:42, Leo Yan wrote: > > Hi Naresh, > > On Tue, Oct 22, 2019 at 09:04:04PM +0530, Naresh Kamboju wrote: > > We have noticed perf (OE recipe) build failure on linux next 20191022. > > do you see this failure ? > > > > /bin/sh: 1: perf/1.0-r9/perf-1.0/scripts/bpf_helpers_doc.py: not found > > Makefile:184: recipe for target 'bpf_helper_defs.h' failed > > make[3]: *** [bpf_helper_defs.h] Error 127 > > make[3]: *** Deleting file 'bpf_helper_defs.h' > > Makefile.perf:765: recipe for target 'perf/1.0-r9/perf-1.0/libbpf.a' fa= iled > > make[2]: *** [perf/1.0-r9/perf-1.0/libbpf.a] Error 2 > > I tested for two methods with linux-next, one is native building mode > for Arm64 building on DB410c board, another is cross compiling Arm64 > binary on my x86 laptop. Both cannot reproduce this failure. > > After read your shared build log and I think the building process is > expected: Perf tool tries to build libbpf, so it changes to the > building folder 'BPF_DIR' (which is under $(srctree)/tools/lib/bpf/), > then failed to find file $(srctree)/scripts/bpf_helpers_doc.py. > > Here $(srctree) means the kernel's root folder. > > Seems to me, this failure is caused by missing to sync kernel files > $linux_src/scripts to the OE folder 'perf/1.0-r9/perf-1.0/scripts'? Yes, this is exactly the reason. As of e01a75c159691 (merged on next-20191022), we need to include linux/scripts into the source directory for OpenEmbedded to build Perf. We have now sent a fix to OE-core. By the way, while looking at this, we found this unresolved conflict in the tree: -----8<----------8<----------8<----- $ git show 2b5d5b1927a8c commit 2b5d5b1927a8c17bf3ce5b4f781c6ba11e02cadd Merge: c1e45431c592 ae79d5588a04 Author: Ingo Molnar Date: Mon Oct 21 07:13:15 2019 +0200 Merge branch 'perf/core' Conflicts: tools/perf/check-headers.sh diff --cc tools/perf/check-headers.sh index 499235a41162,93c46d38024e..1f73e6f7438c --- a/tools/perf/check-headers.sh +++ b/tools/perf/check-headers.sh @@@ -28,7 -28,7 +28,11 @@@ arch/x86/include/asm/disabled-features. arch/x86/include/asm/required-features.h arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/inat_types.h ++<<<<<<< HEAD +arch/x86/include/asm/emulate_prefix.h ++=3D=3D=3D=3D=3D=3D=3D + arch/x86/include/asm/msr-index.h ++>>>>>>> perf/core arch/x86/include/uapi/asm/prctl.h arch/x86/lib/x86-opcode-map.txt arch/x86/tools/gen-insn-attr-x86.awk ----->8---------->8---------->8----- That's still on next-20191024. Greetings! Daniel D=C3=ADaz daniel.diaz@linaro.org > Thanks, > Leo Yan > > > Metadata: > > -----------------------------------------------------------------------= - > > kernel: 5.4.0-rc4 > > git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git > > git branch: master > > git commit: a722f75b2923b4fd44c17e7255e822ac48fe85f0 > > git describe: next-20191022 > > Test details: https://qa-reports.linaro.org/lkft/linux-next-oe/build/ne= xt-20191022 > > > > Full build log: > > https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO= =3Dlkft,MACHINE=3Dhikey,label=3Ddocker-lkft/631/consoleText > > > > - Naresh