Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp496413rwb; Tue, 29 Nov 2022 01:14:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf4SX3By57M5McZVutyFu0it4yqvtgqHpJSqv7FlkWXj5zNCBLA9JUjqK8H6HSi42GhtMHQS X-Received: by 2002:a63:e411:0:b0:45f:b2a7:2659 with SMTP id a17-20020a63e411000000b0045fb2a72659mr31833655pgi.132.1669713249012; Tue, 29 Nov 2022 01:14:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669713249; cv=none; d=google.com; s=arc-20160816; b=fTYiYmopW53BA4PhzPviKrknZZRIf4lCBKvwQtACWJ7oR6XGZHOk6GuINdn0IsZYOe 8dUWnSHnXdS+WHpmA4OKaYoEt50gGhdM+l6iV6/0DtzLxoZNXBiPYRYqQxCC2qgwi9w4 mxsZLup83cjwCZTef2Kkxq9OB6P7d3s1F2mJ1cAXfvhcmLZUyszn3X2U9BHTm2PvlrYY VgvEYGGKluFkSXhzRnm9CmIskSCu27upaLLu9GlF+Xm1e63ob4RkbHf8lp97Kj4cpEBl HZkM4xTfV7blayniHABCkOEWEFxeCLA8VGSr8Xqv4EmaMJBFQjb+29GEaAXkAMSqNSxR dYVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EC4xRvqluGfZQhXOMZWHGN3jn09RvjDMpBCLAdi0QzI=; b=tG+64j86VKfkrjB4S8/0qRXkdzmLx4DiAqryeyil6csJThGiFKxV0JCug7VuQYoO1N 4NcyduTtxjMnPO3osTjo7Zvd38PUJDCyLS0CX7+fRi/g2pcNubgHvdJxXRaRo6i+t+y5 qJ1vMcXsFG5YqqdmmmEgoQ6sN7yO8iJx7OcB0YN+9+jVROAgJgDvXBe0Gs1hM7PKouUd guO2usTA/WQV2Ps1BdbSd+UH80gNuFOELUWkfRwzQ5fyk/7unkjalqLJNhWiraUWNAwi Rlbz0PrHVJhhliuz36HYQOHprlPhsUYGUN2FHJ8s3bVQ+bwky3+zjAWVmS7YMVNJvS6F BRAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=goyC1rql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f5-20020a170902860500b0017cc894c78esi13068855plo.447.2022.11.29.01.13.55; Tue, 29 Nov 2022 01:14:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=goyC1rql; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229614AbiK2Iti (ORCPT + 84 others); Tue, 29 Nov 2022 03:49:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbiK2Itf (ORCPT ); Tue, 29 Nov 2022 03:49:35 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6A51421BC; Tue, 29 Nov 2022 00:48:42 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id e7-20020a17090a77c700b00216928a3917so16632482pjs.4; Tue, 29 Nov 2022 00:48:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=EC4xRvqluGfZQhXOMZWHGN3jn09RvjDMpBCLAdi0QzI=; b=goyC1rqlr+kCBTqmN6es+d4t4wo7D0f1KQ5hgdppbSYnj7tqeGedd6ITcEC1uXu8Hb JxPzDxEL2sgzlkfwbrhuzUFkPmmnvRp/Wh3VyHlJ/3PLOFLM4A/j09FEKcBzcu2qUdS8 Qgfhat/bh+OsnvNTB7Ovb51Heu2cUi9sz7fsIraxd/+nlL4SkM9uVRdSDvpCKMaOv1Hi yabXURGGkNNQJJ6QWkv7aVsIsRaStLFpD12/yFDPvfX1yJUI3zZ82zE8RufdkHR/gQ3Z Igwq84ygge8XJSbD5dJ0vla90wrpcT9dQPtF2UJpgU635rg+e4ThC6q2809e+lVn2gat LU4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EC4xRvqluGfZQhXOMZWHGN3jn09RvjDMpBCLAdi0QzI=; b=n0aDzRHmMZbDb2HyhcqJ5HlHUYiGhcTEULLSpRSCbogSRSA9XFvqUmOh1FWjQi0L8C OzqqgM7oOzIdTOuGt9hSeIM/fN9J2HeHJ+oAPKqLRmaywVh8m0KKkppfwVQFqtevqbIq OI3C5h2T8pmAG38Fdv2No8B2CL70vZRso6Xi08/Q7cN7zPxXjFOJOpu7BrczonANGmyf V9pIUOZlvpolYv2ksF1dYpl1slhii0S72yvmWR6aZKubwmD63TV+cZqse4nTRnHV4PMA Ch8GQf6FFFmqI5eRqUnpu2iuYK5q7Cqeriq7UEcW4sP5jz4XpFestxwGMXPqUaj/aZmS 1ICw== X-Gm-Message-State: ANoB5plKluklRp+gMvGkTytcCmDMPZloxJXxw8oWoaZ7tWox37t3gm25 /gGLgKPf1FuPttVPQOTxcRYz5oi/+Nf+E9If X-Received: by 2002:a17:90a:7885:b0:217:e32e:e931 with SMTP id x5-20020a17090a788500b00217e32ee931mr64379443pjk.146.1669711722097; Tue, 29 Nov 2022 00:48:42 -0800 (PST) Received: from mail.google.com ([103.135.102.183]) by smtp.gmail.com with ESMTPSA id c10-20020a170902d48a00b00188a7bce192sm10258651plg.264.2022.11.29.00.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 00:48:41 -0800 (PST) Date: Tue, 29 Nov 2022 16:48:29 +0800 From: Changbin Du To: Andrii Nakryiko Cc: Changbin Du , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Quentin Monnet , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Shuah Khan , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , Alexander Shishkin , Namhyung Kim , Mykola Lysenko , linux-perf-users@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 2/2] makefiles: do not generate empty vmlinux.h Message-ID: <20221129084829.ktim5wfe5rpjxw67@mail.google.com> References: <20221126111147.199366-1-changbin.du@gmail.com> <20221126111147.199366-3-changbin.du@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 28, 2022 at 10:00:14PM -0800, Andrii Nakryiko wrote: > On Sat, Nov 26, 2022 at 3:13 AM Changbin Du wrote: > > > > Remove the empty vmlinux.h if bpftool failed to dump btf info. > > The emptry vmlinux.h can hide real error when reading output > > of make. > > wouldn't this be better handled by adding .DELETE_ON_ERROR: to > bpftool's Makefile? > yes, let me replace it. -- Cheers, Changbin Du