Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11901768rwd; Thu, 22 Jun 2023 21:33:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5e80OQEx6XKm/id3jo3005dKU0ZNItCZxYo6/qWaaZhmljBeH3whFde20ATbyWe12n1eR1 X-Received: by 2002:a17:90b:98:b0:25b:cc96:a91a with SMTP id bb24-20020a17090b009800b0025bcc96a91amr16011926pjb.39.1687494793079; Thu, 22 Jun 2023 21:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687494793; cv=none; d=google.com; s=arc-20160816; b=i31jzzPZdvdR3oZC2ClsS6lQDSl61Cu+7O3ptONvhK+z3C9jy3priuswGCcHQT7Wrx +Sl+NfxHSTkBjRAhpoMItOrlTeUjO26/qXzYSXgtarTjNvp3K5QHkFMFEDKr+qNzQiBL G2zG5xpplUNoxQQS0XkqMkRB/b4uXSiCWs7m02meGXGoTBHsnDbeUfRW050Ac+hJRsX9 BcgeADScscXaJrfVlLa4Jtnvf8dvCrIq8wBmBf/Z9KPlKIUdPYELxRvp+BBduK6uNSdv dzK3x5muc8hr9yikRlNs+hUmH12L6LFCYhFrab9XeJrinfqNLsSCWHniCrQpkVTNK+HG 1FYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=4C6MEu0bdRCdsKhKJkDe52m91K0P7NYWvYmLuS2Nk1g=; fh=ETux//1PX8Mp1QFCCONkENEhE+pB7WBvkLIqCVEeS4M=; b=i9pqdXkksIiamEuuPgtdNovIv4yq7FWfY3HP2RanR4RRn5CbwLXKqyDJ9d67+l5DbA /gLvtWwUz8l38Pu2p1EZkWm4bigyajU9ffXHf9/CBLY6NfPgTQ2jmKgV85aE+HBdbtDm 2J5/OB1Ilu9C1DlGkLA8kzSbJ8fEr4/W2NQQu+qS1IAoAbmw4Egp9WHx3XUqIfI5ZKaL GxFw+cKQBR+d9llAnF3A5jSailrHBUQa+rhW5dvmYHir70geEx1bir+bPM1kiohWSFaU t8H2qysCo5iuklFHP7jBBHJucMqkArpmlVf6Z3Skx6VJnKWJ3x4HA8hCWcvkefqff5K3 cA4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=t23oRjjy; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id br6-20020a17090b0f0600b0025ea4ae2799si1133853pjb.19.2023.06.22.21.33.01; Thu, 22 Jun 2023 21:33:13 -0700 (PDT) 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=@google.com header.s=20221208 header.b=t23oRjjy; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231579AbjFWEOq (ORCPT + 99 others); Fri, 23 Jun 2023 00:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231466AbjFWEO0 (ORCPT ); Fri, 23 Jun 2023 00:14:26 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F023A269A for ; Thu, 22 Jun 2023 21:14:20 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-56cf9a86277so1988567b3.3 for ; Thu, 22 Jun 2023 21:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687493660; x=1690085660; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=4C6MEu0bdRCdsKhKJkDe52m91K0P7NYWvYmLuS2Nk1g=; b=t23oRjjyXKdcxH/4YCNTTSnoxHqcUSXsDgf4xU3h5uPbQwOkTC9mT681iyeRqYj7X8 oPlzCaGT5/zL6HKP9ruOVPEgfg5MhAPuJlvnB+kFeGIkXkkj6LpN3lJDbAc+oXXi2tt6 o8tyET78G+WZds/8vqy9bfaNpKIhTDe2/aM4Tw2pVUYlaCKRUNlw00WPK9YC0D0vmCg5 WP/njZCggHcJb3I0w3nNBrREmKUx2HgsfhQgiL0TaehbEcEdNVVX0vCGoVvDpi+Mj4PD x/G3DAgVHM+27rxi/pp+o6E+gq4o+YpkFXNDY12JFVNjf5xkKHtM1kV2SL6U8ebJwmiS ciEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687493660; x=1690085660; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4C6MEu0bdRCdsKhKJkDe52m91K0P7NYWvYmLuS2Nk1g=; b=SR2Wn3o+8+x+5W1D2bXOYAi+8P0VuDSFpCRIbeuFg40Z+MDOUzl7TlvVCXiczoQncU P+b52s4zX1+8bAqdSMZwIuENkahq2ogo4B5VckxErji/ja/jru+EMIGZ6f9KPel4AdMw UU/xlX5BMVgiEtlKKjQzJn9LGQI2dlQ7x7t1r3mJC98A9fW64Se+VMNZtpAOdSn8M/nM GQGm4vfK14OPT+S9WwUfFBYvwjO/8qdBm9hZhn9wzS69KmfTfcsbCzM/OmcBqqyMdcCq fG9pHHaXfjXQ+3wBY+9f1bt7tQGQLm4hxAY2K6l/LiSOdh3/RIcFL2pT1MUdjAkrWRdN rDOg== X-Gm-Message-State: AC+VfDyCZ3k7E45toWFtNQXjHcATQ6gJarFDRCEpjQKhBvianAy3zVf5 /y8U2O40awKmRV+rWSm02p301Fksn2YL X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:6559:8968:cdfe:35b6]) (user=irogers job=sendgmr) by 2002:a81:b1c5:0:b0:570:b1:ca37 with SMTP id p188-20020a81b1c5000000b0057000b1ca37mr7965992ywh.5.1687493660181; Thu, 22 Jun 2023 21:14:20 -0700 (PDT) Date: Thu, 22 Jun 2023 21:14:04 -0700 In-Reply-To: <20230623041405.4039475-1-irogers@google.com> Message-Id: <20230623041405.4039475-4-irogers@google.com> Mime-Version: 1.0 References: <20230623041405.4039475-1-irogers@google.com> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog Subject: [PATCH v4 3/4] perf test: Add build tests for BUILD_BPF_SKEL From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , James Clark , Tiezhu Yang , Yang Jihong , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Cc: Andrii Nakryiko Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 Add tests with and without generating vmlinux.h. Signed-off-by: Ian Rogers Acked-by: Andrii Nakryiko Acked-by: Namhyung Kim Acked-by: Jiri Olsa --- tools/perf/tests/make | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/tests/make b/tools/perf/tests/make index 885cd321d67b..58cf96d762d0 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make @@ -70,6 +70,8 @@ make_python_perf_so := $(python_perf_so) make_debug := DEBUG=1 make_nondistro := BUILD_NONDISTRO=1 make_extra_tests := EXTRA_TESTS=1 +make_bpf_skel := BUILD_BPF_SKEL=1 +make_gen_vmlinux_h := BUILD_BPF_SKEL=1 GEN_VMLINUX_H=1 make_no_libperl := NO_LIBPERL=1 make_no_libpython := NO_LIBPYTHON=1 make_no_scripts := NO_LIBPYTHON=1 NO_LIBPERL=1 @@ -137,6 +139,8 @@ endif run += make_python_perf_so run += make_debug run += make_nondistro +run += make_build_bpf_skel +run += make_gen_vmlinux_h run += make_no_libperl run += make_no_libpython run += make_no_scripts -- 2.41.0.162.gfafddb0af9-goog