Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2100180pxb; Thu, 4 Nov 2021 14:05:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0yoSLRfgISCVHHZZTHym90e/0Lr2+ZHx6GU07/HZUqJHjfiaBYHGBLMXWLQegH8fjm/qm X-Received: by 2002:a05:6638:250a:: with SMTP id v10mr5767417jat.42.1636059946510; Thu, 04 Nov 2021 14:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636059946; cv=none; d=google.com; s=arc-20160816; b=HFGsI+6na9Yco9vbXCG8ZPs5Im8arMuROUq7D060djERO5JSvNjd5ep9mj380Zcj2n k8LacsWlq0xMH0G7ZRzBQYkZpxfaSLUfNPTd4ynYF3SoOJXsbzujDRS0aCMXChh4qDLl ZlC5q+uqBN1IvLfET0jwNsT92UsIVgr8+4nL75RFalBcd4fJQ0dZga9HjIQbvHXI9mcr 6NMYn4rAd+CIJKGZddhemDJiQ4q558u0hfTG+dEKOyc6k2WtN0pV8giKs61XRBVAu54A iZO61lf5qjWPqTGg3jbUdB1tkX6Ko+v4MfFNHsp2cScXgQ+jKXsFfIMDmovjFoDrML7n 25+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=uQrrpLW2waHbZAaA6Nm9BoEIagIh7snWJFFsKEGeS7I=; b=xqr15eIYDdKkWIYiPxmDTUQeAXiQHII5tuKE2L/Xng3+MH6d3bzgakjjA3xhNqarwZ +Ou3gZOXcTAmtuIF8syz4og2tFey6bq1zfe/W09JLV7EX0gmCFhiOawigyVVIndcisj1 C4t4ttYJ6ohtUcx3vXBD0L5jWBOWvzHHT+mxTPHYehDJAAO/FpoOdHPGs0k67iUNG5WZ KJwusj7NH0tpSzBIh70cxdLl0e+T9tKT//bKVXKrD/ZX5uwIKO+Bax2tiS8Hph6BhB8r vJ081pDL8JFqz0ejvBAHATH5HB5oKIjW/81SsK+H3S+9v7QhbNtM9Pp4L3ao+Kh7Tm5P PWWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si10839118iow.45.2021.11.04.14.05.25; Thu, 04 Nov 2021 14:05:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232110AbhKDUgM (ORCPT + 99 others); Thu, 4 Nov 2021 16:36:12 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:37660 "EHLO mail-lf1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231484AbhKDUgM (ORCPT ); Thu, 4 Nov 2021 16:36:12 -0400 Received: by mail-lf1-f53.google.com with SMTP id g29so292777lfv.4; Thu, 04 Nov 2021 13:33:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uQrrpLW2waHbZAaA6Nm9BoEIagIh7snWJFFsKEGeS7I=; b=IWKGUOM1kFSaTDZBiEdN22rXJDt6aqM/gZX2ak8SLTDcuKe4aajSrSsciBXYJD1yfr XeVTm4nO+AGVTuivsqG0OUd0Zk0ckM9kpGqrL8R2ORWMOTc7xvf67D/rxhV1EUPYfyGB l6p+YyqoDGglURQ7IdDOGMmt6A9HBAanrJg23Lcd41POlq0Aisf1WUmYUJLiYEzEzwi9 0WY9Qgibnj2vb/SYoMkGgHfuhTQJcVAZzPDOpLSDS9ks/0OHhOeB9LJwjtTeH0DC3qCO 0kZhyFGFzPtWxOEIs6IZDVtILurwgd1XAZf1fRad2ghOpMQIPKBHyUWkysAz7m0Fl1cn CluA== X-Gm-Message-State: AOAM530fNmMU5NVlOsj8bvPbPyrR4IvQBRB0FYf2P0HfSm9zfwIIfjvD 6Cne+gj7owwX6+VmaTbmfoeFmT3WowJRtpCNdqo= X-Received: by 2002:a05:6512:3d0b:: with SMTP id d11mr35570141lfv.481.1636058011424; Thu, 04 Nov 2021 13:33:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Namhyung Kim Date: Thu, 4 Nov 2021 13:33:20 -0700 Message-ID: Subject: Re: perf build broken looking for bpf/{libbpf,bpf}.h after merge with upstream To: Song Liu Cc: Arnaldo Carvalho de Melo , Andrii Nakryiko , Jiri Olsa , bpf , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Nov 4, 2021 at 11:13 AM Song Liu wrote: > > > > > On Nov 4, 2021, at 11:11 AM, Arnaldo Carvalho de Melo wrote: > > > > 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) :-) > > Yeah, let's make it default. Then it'd require 'clang' for the perf build. Maybe we can check the availability of the compiler and disable it back if not. Thanks, Namhyung