Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp937579rwr; Wed, 3 May 2023 08:07:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4axLQShp/4WsriixfQM8u8a1g1Dc5TsurqE+tKrz/vqSgUCZcVFzTdpUUH9L9rDCssNOdn X-Received: by 2002:a05:6a20:440d:b0:f8:ea21:7c4f with SMTP id ce13-20020a056a20440d00b000f8ea217c4fmr7556629pzb.5.1683126472324; Wed, 03 May 2023 08:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683126472; cv=none; d=google.com; s=arc-20160816; b=Hein+M01WLS0rRxvF3dru4CVrLLeHda008oODU36l73mht2d3YiaFJAp3CX7VofrlJ JfGaPkIk57IUWQ1YQgWcEDabLpqH3rugJeS0xI/ekC1pl7bmP8eFM0HYvUfpFYkT3sWo TT7FrOeHw6Emyr2NPiYEBmDWpJ/D7nRdgXBhk0dt4lNEGvY0wU5bz4Afr//nEs8jQc2+ NiBhWFEyPY1ClBCoR0KKgILitnJvZ9Kyi7xRiSLnrea3i3dJDCFqJOaT9CKLex0sQ9vG gvwJunKO2YvmQxekkCzhaGqaqvLfsPe0G+phkJRdY8xFs+nt2GZU8QvWmLeltfqBzD0f gDEA== 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=xbsPXyPdOateD1dHbAvpd6UD8oZALIOYss0iVP7y1mM=; b=g37OHa/LsRZdsAGKng6FzV+q+AxD5PRKmfFwQCZ219X19E1BAXturC6D05GuoI/BD3 COkQlbV4VnsekUGZ2onSEuQBbsR/DDo+MAK38rPWykSev6hv+Xq8DjtdsDyYjKwbMSNN GVFl9LDd/uRzRNZgFGeSOKJuNRER4So1WLBNCzZPnBdqN3FVvaavx3hvzjYN8/MKcMnP dEJlTyXNozPAvgD0p7nUun2QTrLUwxpTwwLqj98oQ7IOx9fxRPM2MEmmLsGAEXzBwP2p TiJjdzabCrg59la5Sr1cUYhjnNNwOxuw00uDY7rEO9LW1xzseE02nKIZS4HswUen/PtM nFtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u3rJ730V; 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 m187-20020a6258c4000000b00640f209d54fsi20420928pfb.11.2023.05.03.08.07.07; Wed, 03 May 2023 08:07:52 -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=@kernel.org header.s=k20201202 header.b=u3rJ730V; 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 S230201AbjECPE1 (ORCPT + 99 others); Wed, 3 May 2023 11:04:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjECPEZ (ORCPT ); Wed, 3 May 2023 11:04:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D568B4C15; Wed, 3 May 2023 08:04:24 -0700 (PDT) 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 7472060C75; Wed, 3 May 2023 15:04:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A72BAC4339B; Wed, 3 May 2023 15:04:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683126263; bh=O4yYd1WUoawxWUlnbi//Aw0bkKIFeQzVHOZgaaz1lTk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u3rJ730VI76xVq/Yd1qBPXxaILS4zJabwDhQ2vA6Yb9BlQh9sENrclIc9gGVWJQ9H KV6DuZycHxJV/BBy7k0dK9Ta13yE8Ett9wsuZKlyQ+BxKOWRjaiRU/rhXBKi6LrAYU y5oYasffYdx3HXVQNIKRGIxJ4hgUJAsnY7lkD1ti2MBqSOOZb7cfustxWhVO1y0S/9 5UG01TApZYbA2AfrXcDLDCmP9xbZhAYl1YB/KdbUhMNdBSSLG2Ck9H6h8grJq9hGf1 vRd+69Wf0NBoOOmfyQP9pvaROWgtsnajHTMs/0FEADx3ohNTcJEiA9ZDLZb6/PwlpX 4b4IdvUq2V06A== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id EBEC6403B5; Wed, 3 May 2023 12:04:20 -0300 (-03) Date: Wed, 3 May 2023 12:04:20 -0300 From: Arnaldo Carvalho de Melo To: Florian Weimer Cc: Ian Rogers , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , "Justin M. Forbes" Subject: Re: [PATCH v2] perf: Avoid implicit function declarations in lexer/parse interface Message-ID: References: <87sfcn7uot.fsf@oldenburg.str.redhat.com> <874jot69ks.fsf@oldenburg.str.redhat.com> <87zg6l4utl.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87zg6l4utl.fsf@oldenburg.str.redhat.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, May 03, 2023 at 11:40:06AM +0200, Florian Weimer escreveu: > * Florian Weimer: > > * Arnaldo Carvalho de Melo: > >>> Thanks, applied. BTW b4 coulnd't find this message (nor the original): > > Yes, vger drops the message after accepting it for some reason, probably > > something in the patch contents. I tried to resubmit from a completely > > separate account, no luck. > > > >> Not so fast, removed it for now: > >> > >> CC /tmp/build/perf-tools-next/util/parse-events-bison.o > >> In file included from util/pmu.y:14: > >> /tmp/build/perf-tools-next/util/pmu-flex.h:496:1: error: unknown type name ‘YYSTYPE’ > >> 496 | > >> | ^ > >> /tmp/build/perf-tools-next/util/pmu-flex.h:498:19: error: unknown type name ‘YYSTYPE’ > >> 498 | > >> | ^ > >> /tmp/build/perf-tools-next/util/pmu-flex.h:546:17: error: unknown type name ‘YYSTYPE’ > >> 546 | extern int yylex \ > >> | ^~ > >> util/pmu-bison.c: In function ‘perf_pmu_parse’: > >> /tmp/build/perf-tools-next/util/pmu-bison.c:69:25: error: implicit declaration of function ‘perf_pmu_lex’; did you mean ‘perf_pmu_free’? [-Werror=implicit-function-declaration] > >> 69 | #define yylex perf_pmu_lex > >> | ^~~~~~~~~~~~ > >> util/pmu-bison.c:1007:16: note: in expansion of macro ‘yylex’ > > > > This appears to be related to some BPF filter stuff that is only in > > perf-next, not mainline. > > > > Is this the right tree on which to base the patch? > > > > > > > > Branch perf-tools-next? > > Sorry, it doesn't build even without my patch: > > make[4]: *** No rule to make target 'zip.h', needed by '/tmp/build/libbpf/staticobjs/libbpf.o'. Stop. I'm noticing this, but then I haven't merged with upstream yet, I bet this is something upstream after merging the bpf branch... Nope, I just did a test merge of what is in git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf-tools with upstream and it builds without problems on: [acme@quaco perf-tools]$ head -2 /etc/os-release NAME="Fedora Linux" VERSION="37 (Workstation Edition)" [acme@quaco perf-tools]$ I'll check on f38 and rawhide. - Arnaldo