Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1215616rwb; Wed, 7 Dec 2022 09:58:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf77tc8+O+JxPnX+e2HGrxSk2hFQRB/q5aU9lhRJj7/LfODXVvA256Jz3nreBIk2cAryx9Rp X-Received: by 2002:a17:902:db09:b0:186:f36a:63b2 with SMTP id m9-20020a170902db0900b00186f36a63b2mr74487992plx.128.1670435929621; Wed, 07 Dec 2022 09:58:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670435929; cv=none; d=google.com; s=arc-20160816; b=c5EYeSOW5IJ4cHXbXAvH9GtStG0adEJgnNvIq25rchReoJq2413NNI/ZegYxWVZCpc kSZxFv2qmsXm/VCp39tsWPPWEtXUu7oVJrDZDkyoo8Ct+DZl+Fbxemjic0DPKBjnbwzl czU8uFaUABJT8unKoNIuIQpLUn4geFZUbd7pqjEq/8kpZsy0BodF6H3I4AYqP0IW0TqL zmlW/prUMC5lRUaMZ9sAuxiYnZVh1pu5q2ofnxrkZsxXscUxWi0Fc0l1GPXZWJd0Qis1 HolDyM7ayZxzM0zVB38LjxpHg4OOr/i1CAZh9ddP1GYBl564Pwy08/d1dgQwUq5I0gvZ IPVA== 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=DGn5CcFMVVsc90SHwjpmdfMOwlYnJ3DIer3gcERQNgw=; b=jDsLAikcrvWm5+sd6vvuV9ETzN+SS5Mc8GzXKwc7cR/HGYmZI+0tbOWSHinJtsXxPe xGAD73S9Hm8K+zrDM7UA5d1WeDFQL5xQANzOkxC4XB+MRJIaNRhZtHJvSqEuW1yz21SH 9/jOepDoKmfpgCIFdGGHXzJ73V/i5YG5r/D/XqkU/MQhuEQLPeuNefpawCQ7VdtyJBOJ oI1cTgjdvVyfbUSf4XIaerKH46rmA2CLDlMJbktYck04JVxo+B9rXVB3cKt/sHxTFNFT /tkEfxgpx5VT8rQtZ6L3eJcUf2kW0vsBpnxGVxLPunSNTM40j7kGIO9YkS3xOAnZIjtQ twEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OLXE2Pus; 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 w10-20020a170902e88a00b0018554535de8si16025112plg.83.2022.12.07.09.58.40; Wed, 07 Dec 2022 09:58:49 -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=OLXE2Pus; 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 S229678AbiLGRnH (ORCPT + 74 others); Wed, 7 Dec 2022 12:43:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbiLGRnG (ORCPT ); Wed, 7 Dec 2022 12:43:06 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2BEF226; Wed, 7 Dec 2022 09:43:04 -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 75D5261B59; Wed, 7 Dec 2022 17:43:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A115C433D6; Wed, 7 Dec 2022 17:43:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670434983; bh=goeB/rRth2x4b9Asjebd0IlWBnTeqRBWnHgyNNDbMOM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OLXE2PusPNeYTsQ53oYgGC1EHAPJiaigWQr8ek8DQSDk+asI29g827Xzmow+7SIg3 c4UTnCl5eQYAxKbvrBBPU1ddnUuixrJilSqpqekcgIfevV+IGGiolcYQgW0sHHbGmt 6E4H4/twrLbwo9FsVU6KoHJNdedKY7BUjTAHH0Ul2D8qhf2af4J0j+hO9T46ot0tmo OM4l7zs5rF40mVNvPJrk80ryTrnkaTAUbj8QBpl9F6bXWPI/ofA4cDdZpfnHFZX6Kn oZma7XYQoSxalyVzNcqh7bUqUqRcjve7gCUtEfVF+uLrw9Waw7xyaop9VH0gyHiiX0 hX6zr/R9oLoTg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 89B8340404; Wed, 7 Dec 2022 14:43:01 -0300 (-03) Date: Wed, 7 Dec 2022 14:43:01 -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:31:35PM -0300, Arnaldo Carvalho de Melo escreveu: > 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) s/and/&&/g > { > .name = "kvm-s390:kvm_s390_create_vm", > .check = test__checkevent_tracepoint, > ⬢[acme@toolbox perf]$ -- - Arnaldo