From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AF01C433EF for ; Thu, 4 Nov 2021 18:11:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 532E96120D for ; Thu, 4 Nov 2021 18:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234108AbhKDSOY (ORCPT ); Thu, 4 Nov 2021 14:14:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:55988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231971AbhKDSOX (ORCPT ); Thu, 4 Nov 2021 14:14:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 065F56120D; Thu, 4 Nov 2021 18:11:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636049505; bh=UvToKl26gPPfVl3jvr/V/GxzhNVjJVQZXBTGi0GHlRI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fIM7S5ZiCQq/i8nkammap4QpV5g2mjE1hHtqqNxH2LZ4lC7Cia3JEbE1rjnU83eco 2j/nCccaNCwV+JIPBw1r91/uqqOIZJWxHye4RoaspiWsgUMBb9y0ao1WVbE39ksHCk JsxMqptOpfM1boB0vqkiIl3rjLyF0MtuV+VXfU8UWexjfVNbOrdJk49aQdLJvCHBWZ sJ6dQamoWbZD9Jvlg0jkvG4rnYBi1NH4QH62hAMVewMBeMLcAKvKw6dWc/WxK3jsJW mDqG5UsHLOE8g28IVEqFVcoH3P/DzMDr1Wuk4gy0qjKwegi8/pQuP0/FAOELNkB8NX aCPgNevvAH1EQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 7815A410A1; Thu, 4 Nov 2021 15:11:42 -0300 (-03) Date: Thu, 4 Nov 2021 15:11:42 -0300 From: Arnaldo Carvalho de Melo To: Andrii Nakryiko Cc: Song Liu , Jiri Olsa , Namhyung Kim , bpf , Linux Kernel Mailing List Subject: Re: perf build broken looking for bpf/{libbpf,bpf}.h after merge with upstream Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Nov 04, 2021 at 10:56:26AM -0700, Andrii Nakryiko escreveu: > On Thu, Nov 4, 2021 at 10:49 AM Arnaldo Carvalho de Melo wrote: > > Em Thu, Nov 04, 2021 at 02:37:57PM -0300, Arnaldo Carvalho de Melo escreveu: > > > > > > Hi Song, > > > > > > I just did a merge with upstream and I'm getting this: > > > > > > LINK /tmp/build/perf/plugins/plugin_scsi.so > > > INSTALL trace_plugins > > > > To clarify, the command line to build perf that results in this problem > > is: > > > > make -k BUILD_BPF_SKEL=1 CORESIGHT=1 PYTHON=python3 O=/tmp/build/perf -C tools/perf install-bin > > Oh, I dropped CORESIGN and left BUILD_BPF_SKEL=1 and yeah, I see the > build failure. I do think now that it's related to the recent Makefile > revamp effort. Quentin, PTAL. > > On the side note, why BUILD_BPF_SKEL=1 is not a default, we might have > caught this sooner. Is there any reason not to flip the default? I asked Song in the past about this, and asked again on another reply to this thread, I think it should be the default. Song, Namhyung? You're the skel guys (so far) :-) - Arnaldo