Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1861319lqo; Sun, 12 May 2024 23:50:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeBxS5Z23vdoV1S05rmJBBMaEfwrLqJ52p4jSKlw3357OXstS5veagjkJ8LMqA07yRfmFW9jI+npyXsYaROp++kXlKeu5PeTMugMWKjg== X-Google-Smtp-Source: AGHT+IFZva46qmt9p7B7uMZt9suQZjOjD+bwtPT41Iq8/mlU7T8046jc7fRBT2mIxmjcSeYyiflL X-Received: by 2002:a17:907:9950:b0:a59:b5a6:65c7 with SMTP id a640c23a62f3a-a5a1155e921mr1034717566b.3.1715583036366; Sun, 12 May 2024 23:50:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715583036; cv=pass; d=google.com; s=arc-20160816; b=W/xCJFed9+/1bGFP3cgFAYo3naE3IQkAxKn0ZsHh22mjeHeAV6o2yMqpEPuw+4QM3V HgN/QNxkf4IDvxLNucH2z/9vXWVI+7UMZ4U40GLD7YOA6n59wefIN3dn3mIigC2MFif6 Rf0U4HO1mWEFS6YMRVMnaNdbKUYDtEYc0FnRjajup7E7rn8oaVadCgHp0jFLBB9JtLpt yOQvA/zuYVHiVpzyn6TCKQJiNItTegFIS59ZpRcbx6fy20KD8MfNEopQvJ4N2AU3G55Y oSqiR370bKUx5ZHSOETf1242f+ZBYTZkr0qiUz49T/guGcFOoc/eOWOC/xptODffApqa PJdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=1/vfuyDEB6iqKuXa6PXzq38FF7XS/WAj88oyZv8SIIU=; fh=6JOtSjStNHE4aWbi/6MbSjhq8eb+DbsWlhkDucRfdtg=; b=jwm2FR0A5mOpC5G4yUBjB5zfig+8ukyxxGeaB6HpZpt5W3/04kHqbYfX6BH9D1fMUJ lmoKUpUYdujgJD/uJ5sQsDWX+v+mNY7D0UVDPcqUK0BR6v3B4EZo9fVy1uIrCfzM+2DN oP4jgXHJoz/rff6o4rpF/NihncOT0Gco2lTE0T4e/jxlu4AgxWN7HgcY9O+5JQeRkitg Jixgy15vMdp92I78wCiAz8VUVSNzfYxfIhI06Os5N0bQK8zqTr/ZIGF0BbPoTykjbOuV kdaeedraabb6XrBUfFvjfQmsdgjPyLaicpdjOCciA5HkA6PQ9G4nXGfpfhJaecoVZUFD 7d+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KFxE9Cix; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177225-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177225-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1b57afb3si453499166b.331.2024.05.12.23.50.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 23:50:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177225-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KFxE9Cix; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177225-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177225-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 11CE01F2157E for ; Mon, 13 May 2024 06:50:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3578D146A67; Mon, 13 May 2024 06:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KFxE9Cix" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D57FA145FF5; Mon, 13 May 2024 06:50:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715583027; cv=none; b=fFJxCVfO/WwXQvASCLqH9cXHCcnlBmeQFF5tkVy/Y1B2IzOjMJuj2j8x4oSnKPbrVyvyyyuMqbk0E8N14IHXCpCLhSvVnPmynVJuHJDY3HwZ+0y8styyqji1ljsrxBYaMWjKi/ekujmn560qu4Pojvw6a+mopzxmCrRTfn9Ho24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715583027; c=relaxed/simple; bh=QUOm7V4vSiSrgeSHZ2JKQI5LAjwW9licY9YU1aJmr+k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZVfUFq2OWLrJ6LubsKolyuzKbLHs86YvpIkhFbUFCEotSPweEvYykWdY47UTuCafx3x0BRg0buv+0VPiBo0XQ8D4eVVNuDS+IJCm6kQLu4+5XsHBZU1o7QnaApz+cesVyvnOdf1wrFqW/qx967sPULB6dnqBHkhlPO+NxT/h+jg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KFxE9Cix; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-573137ba8d7so8860841a12.0; Sun, 12 May 2024 23:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715583024; x=1716187824; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=1/vfuyDEB6iqKuXa6PXzq38FF7XS/WAj88oyZv8SIIU=; b=KFxE9CixvjzIs5wq0um0pTIN9i9A0dd2QMwZW0NRMn1az2ciNG+QjWgPUDvkskM1iN vjKuc0N60GuWQHuIpuQkaOhOmrSxpgjyjwFlJZHMqSvnC5JWGzin/6vaLSdBEK/9mM4D 3bHs4qAHqpveuSl88+tvsKOFP+Lx4c4rL06nk/F66iC5E77MI3Ot5iy1wFPcF+2pQIcn yHvhY9wdqLLw+RGuq8hTVIjq1mQ7rjJETvKamonTfdVYYMSGgWcWFaFM238ZYrMtB9Vw xbAodHtJmArpVj9dWsV/0j0rzUm2aywr+NsY7UCJYM1AkRLZ3kDUaS46BUV+AbBFp7sX E48w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715583024; x=1716187824; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1/vfuyDEB6iqKuXa6PXzq38FF7XS/WAj88oyZv8SIIU=; b=W3yQNSAbwZeFtGg2dHiWhTVt588ay9nrBM4BBtArLOnTCBm06z38NYHaL0m2TfpJqg Gfvp7QYjqCMFecEbl6E4/g2EhXYzQx3p1YPMBVQnV66LRlzZCdme864+a6pcYbEHAY6b hf/hYB3XG+/ZJuezWZEOky+D6Nx1XuGQAPLP3KupGWHIk54avZQpClrJiP4z7BBzWk4w nXyPMOTVPyW62m3SV6CqBbik+8HCqgPy/F1MgdGNiCzhAPbLppo+H9k0VEKRl2pyYQba BufCtBM+tSSZqP3rhUuwxX/MuA8wAY1Kr8JPIxbWH+3wCm/FL7lmk+ICvdGrgyH7Rb8f X7ww== X-Forwarded-Encrypted: i=1; AJvYcCWijyAq+Pekm66BURC+PfOtce6Y8jHMoK+JhAuXRjUZMwmFsYOQstL6xzqfxfl+zOHWTH/sXFLZigYsDRKghpQz7rsBUNF7Xspguq/bKfidPnSlTB+VLlsCmd7927E1MyR5r30aELC+xAI0OYvkjw== X-Gm-Message-State: AOJu0YwZjbu20EsplsOZLqlS6oI3iNEc4WFl2rawlWU/LbPmekZ0tJF5 vheL23Nd5bnCY56DGiQEnLSmxvR9trNJeTo1b9J16xSpq20O9Ug3 X-Received: by 2002:a17:906:30da:b0:a59:aa1f:55bd with SMTP id a640c23a62f3a-a5a2d18c72emr760070166b.6.1715583023979; Sun, 12 May 2024 23:50:23 -0700 (PDT) Received: from gmail.com (1F2EF402.unconfigured.pool.telekom.hu. [31.46.244.2]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a1781cdb5sm550453666b.29.2024.05.12.23.50.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 23:50:23 -0700 (PDT) Sender: Ingo Molnar Date: Mon, 13 May 2024 08:50:21 +0200 From: Ingo Molnar To: Ian Rogers Cc: Arnaldo Carvalho de Melo , Adrian Hunter , Jiri Olsa , Kan Liang , Namhyung Kim , Linux Kernel Mailing List , linux-perf-users@vger.kernel.org Subject: Re: Makefile.perf:1149: *** Missing bpftool input for generating vmlinux.h. Stop. Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: * Ian Rogers wrote: > On Wed, May 8, 2024 at 12:39 AM Ingo Molnar wrote: > > > > > > So I've been getting this perf build failure for some time: > > > > kepler:~/tip/tools/perf> make clean > > Makefile.perf:1149: *** Missing bpftool input for generating vmlinux.h. Stop. > > make: *** [Makefile:90: clean] Error 2 > > > > ... but if I clone a new repository, it works fine, until a point. > > > > 'make clean' doesn't work - and 'make mrproper' in the main kernel > > directory doesn't clean up properly. > > > > Only if I do a brute-force: > > > > rm -rf tools/ > > git checkout HEAD -f > > > > does it get resolved. > > > > The failure condition triggers if I Ctrl-C the following build a couple of > > times, without it being finished: > > > > > > cd tools/perf; make clean install > > ... > > > > LD util/perf-in.o > > LD perf-in.o > > CC pmu-events/pmu-events.o > > ^Cmake[3]: *** [pmu-events/Build:43: pmu-events/pmu-events.o] Interrupt > > make[2]: *** [Makefile.perf:709: pmu-events/pmu-events-in.o] Interrupt > > make[1]: *** [Makefile.perf:264: sub-make] Interrupt > > make: *** [Makefile:113: install] Interrupt > > kepler:~/tip> perfi > > Makefile.perf:1149: *** Missing bpftool input for generating vmlinux.h. Stop. > > make: *** [Makefile:90: clean] Error 2 > > We have a checked-in vmlinux.h: > https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tree/tools/perf/util/bpf_skel/vmlinux/vmlinux.h?h=perf-tools-next > so this shouldn't have been a problem for a while. bpftool is no > longer on that line: > https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tree/tools/perf/Makefile.perf?h=perf-tools-next#n1149 > so I suspect if you use a newer tree then things will work. Was this regression fix propagated to v6.9 in time? Thanks, Ingo