From patchwork Tue Oct 10 23:42:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Namhyung Kim X-Patchwork-Id: 151052 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp203497vqb; Tue, 10 Oct 2023 16:43:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuIZZUWPj5pgBuEiwjqhKTCFRTqW6pWmnZlEB/tnZDBAwqjHZA44HccYszh0YKFXsj4tga X-Received: by 2002:a17:903:2306:b0:1bb:ac37:384b with SMTP id d6-20020a170903230600b001bbac37384bmr22102879plh.6.1696981392944; Tue, 10 Oct 2023 16:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696981392; cv=none; d=google.com; s=arc-20160816; b=ufL88SV4aoqNP+emSj+VQ0K/x/fkUI2KgXQK+MITWEZsVeN2cueqAkqssUC2Zp1W46 OP2nGMXz2v67MbIaVmyAwQYRiTlc3ZFCmJzLPjrQhCoKtaP+fdEJuhB5ax+ZelSIy2TA jK13mSYv3U7L5KLp5/FkMlnJma3iYKtvFqPazcqSxrXIFAoqveNuq+LM8Cxr/XVfEXtY 0Sk+ZFQwnbQ6yzDkqaw96jcFppCz9XjB7RDS7trp/VxG4INTzWcjZ3Vo+LnbNKyn5WmN MFu6yvOk3mvs41f4QJH6I0uKAa79zRaktkMLPoJlXOlrOtyzfmzB+9JHc7qIgz5LxnMC DKiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=EToU3lcbSlwy9fy/0jMo1G59SHr9e1KfON9mi7yvsw0=; fh=0RLdc5N/ScTl6nvdKlKNyMfjZxjrfvE8wDj8b3vxNM0=; b=Y+IiKBkA0J9vjuW56brd++0PtsJ6m9jejZtSbTbMiTCNGBioirjN53tdF6BI21ruxX FtYk5bdbqhUEOgaptMgmxQqDLi9hvmv2Kx1hQhQep4b15k/EZUSZEgpHzXNRWj46Au57 XCur4eZVDTb1GoAiLSHeq4AGgmW9s4Dto4wIIDGyD241cZpu/GbOYm4GBh511QETlij0 TqPKCNaokqE95zdYj7rY/FbDjJl3qI6mFD/PJhbaqq2EjBILlqOJcg7mkAyR1JG5nJqJ 75KFt/zE0VxgOMb4hpNoOcvpLqukHs21p7vtusz46dhDZLblgRbfdyUQQ1UpetAIw8Dw yjog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mS9MiL7T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ik13-20020a170902ab0d00b001c9b2013393si938421plb.230.2023.10.10.16.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 16:43:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mS9MiL7T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 9128180DAC66; Tue, 10 Oct 2023 16:43:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344181AbjJJXmw (ORCPT + 19 others); Tue, 10 Oct 2023 19:42:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343880AbjJJXmv (ORCPT ); Tue, 10 Oct 2023 19:42:51 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E5CB8F; Tue, 10 Oct 2023 16:42:50 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-68fb85afef4so4745969b3a.1; Tue, 10 Oct 2023 16:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696981370; x=1697586170; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=EToU3lcbSlwy9fy/0jMo1G59SHr9e1KfON9mi7yvsw0=; b=mS9MiL7TredmItdqwUTiYBwM2FXe0U8ZCbgIUzFg9NtLouwoRRK3uFl9SlxfAvobNF De6FS+S57eEWKs9+zIGhnFxy47KUX7toFdjAgceyvvj7qr/1d0GNKbu+TujB2nC6FS6l Bg56U/zjkKds8a5G4Vts0SqEbSYVkl7r8Z+igLPF200DYhpdirePsuZ1pH/1eOM39VWj qsMUl723vMjqGW4Nv50pG4IqPPiyNXizgsYvQkzmD5bjqzQ01lrSzfILGRuPnwkh6mIM +Z+aw741V0eAWsdia41vrjBEGWIriCOKBrqe7Ix+Ka6qPnF3QDyhA7ZfmOTXL4eE72o7 R4oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696981370; x=1697586170; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=EToU3lcbSlwy9fy/0jMo1G59SHr9e1KfON9mi7yvsw0=; b=OKXxA5Cp/P6+9xRgf+biJl9u51Ro35tsQSNbbN//i8f3xrL2tkPPguFQIOl6NY/aaH XqwAz+rOo+UNDF2xg90WxGa1q9/4VeJU+4kDhkvg8jJQsmV+3KwMORg5iWOa2nklo90N 8CiUczvJlmdk0TQjY1XTBhAYVi/PdHaI0zFwcSu8TY4NWy1T0b4LkCc4F424DpA28p9F JZpfS9hkSWCC/cNi4KhZcLnfoZtTxVzRdJjcsRq8zEJydk5MK0abMPIurQ/XksfU7rpO Yl0YqG59yTs+aTprAlviJgWRXfJlr38Own9itkCroH/gm0a0yLb6DClOFTNFxWjdSdnc sVpA== X-Gm-Message-State: AOJu0Yx7rb+lBNdzgAH8FcMMrJn26Ei6FFTh8Qf3ioR8j7DN5rCPrvXZ vZAasKNLw6YjauMxH+dWtJoKffZDyUw= X-Received: by 2002:a05:6a20:da9d:b0:16c:b5be:5f6c with SMTP id iy29-20020a056a20da9d00b0016cb5be5f6cmr12546254pzb.54.1696981369486; Tue, 10 Oct 2023 16:42:49 -0700 (PDT) Received: from bangji.hsd1.ca.comcast.net ([2601:647:6780:42e0:f301:6279:8c99:9912]) by smtp.gmail.com with ESMTPSA id h13-20020a170902f54d00b001c61921d4d2sm12420404plf.302.2023.10.10.16.42.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 16:42:49 -0700 (PDT) Sender: Namhyung Kim From: Namhyung Kim To: Arnaldo Carvalho de Melo , Jiri Olsa Cc: Ian Rogers , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org, kernel test robot , oe-kbuild-all@lists.linux.dev Subject: [PATCH] perf tools: Do not ignore the default vmlinux.h Date: Tue, 10 Oct 2023 16:42:47 -0700 Message-ID: <20231010234247.71604-1-namhyung@kernel.org> X-Mailer: git-send-email 2.42.0.609.gbb76f46606-goog In-Reply-To: <202310110451.rvdUZJEY-lkp@intel.com> References: <202310110451.rvdUZJEY-lkp@intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=2.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 10 Oct 2023 16:43:10 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779413961104557324 X-GMAIL-MSGID: 1779413961104557324 The recent change made it possible to generate vmlinux.h from BTF and to ignore the file. But we also have a minimal vmlinux.h that will be used by default. It should not be ignored by GIT. Fixes: b7a2d774c9c5 ("perf build: Add ability to build with a generated vmlinux.h") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202310110451.rvdUZJEY-lkp@intel.com/ Signed-off-by: Namhyung Kim Reviewed-by: Ian Rogers --- tools/perf/util/bpf_skel/vmlinux/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/perf/util/bpf_skel/vmlinux/.gitignore diff --git a/tools/perf/util/bpf_skel/vmlinux/.gitignore b/tools/perf/util/bpf_skel/vmlinux/.gitignore new file mode 100644 index 000000000000..49502c04183a --- /dev/null +++ b/tools/perf/util/bpf_skel/vmlinux/.gitignore @@ -0,0 +1 @@ +!vmlinux.h