Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1212857rwb; Wed, 7 Dec 2022 09:55:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf55fhA6BClov8UzxqTplgVRobABRjOGFfsoAeMTveqVOVkXvpjLq4LUE8b6o3ajrxkCvjZb X-Received: by 2002:a17:902:eb83:b0:189:e426:4616 with SMTP id q3-20020a170902eb8300b00189e4264616mr11188263plg.37.1670435756959; Wed, 07 Dec 2022 09:55:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670435756; cv=none; d=google.com; s=arc-20160816; b=lpa/tG+fe659ykaEQ0OueNq0wypDPFzL26UkeCT+o+xMMUn7EmKUg6i3AuAUkoqOch Du713Gjjd8jNu/4+YZ3QKlDVennDdvV++BeZdggSvtOHCZPamiwRM3sQbgDZyf3vDiYz LAstQjGCCRp2NOrR3/TI/lPHvUPRK51VEtt5Ii0sgGOnukOsC8kGWx73mhHwhn27Pawp reM9Ubxt8SzXzXb9gjy9vEIxrbEE4MbQTLCS6mekHjVTyuz2MOUrHii4etVulIERkvVN VpbpWegoX6PlgqAcqxc24ba6K7xR3tiLXRHC9EpVXpQnVx+wKP5A8FRTk9uvF1+pxZkm WYRQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=B37hTfCh22QjfKb3LFUoMfTcBU0UwTDdIbqOGFaCw78=; b=gd/d629lCjX4Nk2PNM+SeUwvI4pst2fvftB+qwU27MbbwGwSDWR7GhkOr+apnxDQFv fVLeSZfAspfX+XinjlNPjl177zRN2bk31KQmaoxhbCHnT9S4sM8u5EZwlKck6ROkhJ5F DJQIYJNHiIMuMGkQtOfvhQHSjRVj11WFXVrTNrj/XuWSPFLMimGO+rYV3Ek6jlLtmUqF GNXHyJtlqPHnI30YMDERzPBJkwUahCKNgSS/eON/vbfS/npxjkKxsY1njfXVO3OyMnQY zMGNMHMbz/Uzd89ynfJgnrE4iV5NW/Wqaw7Illxxj8p/rw+6amxkTDQnKEbqNMdI3qZF DIYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=beuOdUTF; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n6-20020a63a506000000b0046fed90eb2esi14424790pgf.429.2022.12.07.09.55.46; Wed, 07 Dec 2022 09:55:56 -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=@kernel.org header.s=k20201202 header.b=beuOdUTF; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229940AbiLGRbt (ORCPT + 75 others); Wed, 7 Dec 2022 12:31:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbiLGRbk (ORCPT ); Wed, 7 Dec 2022 12:31:40 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB4ACF58C; Wed, 7 Dec 2022 09:31:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 678F961B7D; Wed, 7 Dec 2022 17:31:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 983C7C433C1; Wed, 7 Dec 2022 17:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670434297; bh=Z3f9pgi5krrUdxiim8b1Ifbjs27OR0IsaivttKNGsGk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=beuOdUTFfVYMixU2vCatb6QuAzCt7xLhIQS4Pa9+A33apabaymX54yAhnq28JX4SS hHkmLN1mHKj0cCmtF8+Xi4JCBCvchGyCe+i4mSu4DIz/2nGJMFLmeSYCLjM9qmcCyd 7jfweqr5UuIbBEiUdRIBWR21NH+yLeSLXn4oFG/XBI5XFHHfMZl1K5KaG1Zh9dLSaT Yr888Xk8sT1cxVnAzvuT9If+ZoNbM0RArXm1qDumBvHSxlNOX9I0j7HTfZcBp2vUrl mKh7MJRzs6ukfi6qsc+Wg/8aQI7pexwcbo4NGTsyS5O9wgOT3LO72Z4LXHK7u50H7f 522VU84tuwPog== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 7AAE040404; Wed, 7 Dec 2022 14:31:35 -0300 (-03) Date: Wed, 7 Dec 2022 14:31:35 -0300 From: Arnaldo Carvalho de Melo To: Athira Rajeev Cc: Ian Rogers , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Nick Desaulniers , LKML , linux-perf-users@vger.kernel.org, bpf@vger.kernel.org, Stephane Eranian Subject: Re: [PATCH 2/3] perf build: Use libtraceevent from the system Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Em Wed, Dec 07, 2022 at 02:27:33PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Dec 07, 2022 at 07:08:28PM +0530, Athira Rajeev escreveu: > > > On 06-Dec-2022, at 11:01 PM, Arnaldo Carvalho de Melo wrote: > Can you try again? tmp.perf/core? That "tmp." part means its a force > pushed branch, so I just force pushed with some arch specific fixes, now > I'm down to (removing the successful builds and unrelated failures, now > related to libbpf's F_DUPFD_CLOEXEC kaboom): > > 14 8.49 ubuntu:18.04-x-s390 : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) > tests/parse-events.c:1893:12: error: 'test__checkevent_tracepoint' undeclared here (not in a function); did you mean 'test__checkevent_breakpoint'? > .check = test__checkevent_tracepoint, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > test__checkevent_breakpoint > /git/perf-6.1.0-rc6/tools/build/Makefile.build:139: recipe for target 'tests' failed > make[3]: *** [tests] Error 2 This should fix the above: ⬢[acme@toolbox perf]$ vim tools/perf/tests/parse-events.c ⬢[acme@toolbox perf]$ git diff diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index dcbfb93287e80e78..bebb677682deff98 100644 --- a/tools/perf/tests/parse-events.c +++ b/tools/perf/tests/parse-events.c @@ -1887,7 +1887,7 @@ static const struct evlist_test test__events[] = { .check = test__checkevent_breakpoint_len_rw_modifier, /* 4 */ }, -#if defined(__s390x__) +#if defined(__s390x__) and defined(HAVE_LIBTRACEEVENT) { .name = "kvm-s390:kvm_s390_create_vm", .check = test__checkevent_tracepoint, ⬢[acme@toolbox perf]$