Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3684749imw; Mon, 18 Jul 2022 12:37:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1slPUePSRYD3/Xx56mp7UXA0gYhWnewgDu59Rpt/SxpoKL7Dcs5DBz/gSkQZo56uBtHQ4ru X-Received: by 2002:a05:6a00:a93:b0:528:77d6:f660 with SMTP id b19-20020a056a000a9300b0052877d6f660mr29723677pfl.50.1658173026450; Mon, 18 Jul 2022 12:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658173026; cv=none; d=google.com; s=arc-20160816; b=tWmPwOg9pfkM4IRyaY5s/6zwr0sA1q/T1OQEFmHGBd0YKiNw4pEd8pUESojhmY52mW XtaF7htPJsG1YdG5w1M1B64r6hXEjcm76bs81GAn1tTZ91H6KcRFTbBVOXCQzZfPw67u A4FbYgpfVu8FtDoEPVug/OZvbpGnr/b9pGVPkoVchKqAxhkNHxXFS9UQXKcJoeHJZCe1 /t3XWRkHSHvUyBRzC5dnVoD84ZhHVbAa9OQc47F62Zs02N/pGXISLEb5wdJ4/6XqEGUg qBufzF11dfX9JTHYunUD6udhcaQ4kMfAsg4JFSyrVrOKUOXrI6Pfgcf+QXs3Fgp3xczh WdYw== 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=sy0sbjeZEgmuLpUJ+xeJdMw8nY/Q+6VyvtwMrrcL32w=; b=Vs8J4+T/OakcasPC3UP66zcHGaXVqL9c5FfE0CTBO13Poeq2TxeuljK3Yq4jYS3Mis pn1+bm0TmStinN43qAMSq1dd0JAhW+vo03lXuCs4/XunNqGOf6pOBlk3UfxrD6hgXEh6 S5PrH/lfMfzf5D5R1zBAhD5hs7cW/yTTO7MgdAimU+E6a2yECGeXa7M8M96Bm1cbc9eY pXl2eEJbYC03o03pw/cGIrkh4EuBk0YtvEOsGoEasFIHYQHFtN0FhScnWOgebXmxMsqV oIdvlRRtQQtUixSWNuO5ARs1MZ4fzGGfLRhIB9RRv5VNJmRmyH9y7eXpYYYYU6xYceYV xEdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K4T3XGYk; 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 e16-20020a63f550000000b003fc51453576si13606577pgk.545.2022.07.18.12.36.51; Mon, 18 Jul 2022 12:37:06 -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=K4T3XGYk; 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 S236081AbiGRTdt (ORCPT + 99 others); Mon, 18 Jul 2022 15:33:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236181AbiGRTd1 (ORCPT ); Mon, 18 Jul 2022 15:33:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6925830F6C; Mon, 18 Jul 2022 12:33:02 -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 ams.source.kernel.org (Postfix) with ESMTPS id 2C7C6B81742; Mon, 18 Jul 2022 19:33:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB661C341C0; Mon, 18 Jul 2022 19:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658172779; bh=FMa1KhlAiwp2G1WhEAkwuw6/wN8S4rjQj7kD636hpCQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K4T3XGYkIt1++7T3uifcQ426CtNptZxWaZCOJrRNNldzsShwMlGDkFa8ZyYXykYHY H2Hh5mJvvHuNXPrRivmLCk/1YaZ5nEzM4mkTK9cUa4A/KCIDiJswzjOIIU8uGg8He3 Ql4qtnLSJqf0Jh++KvGKmfovIIS0B1FAG0cRej8y/ZhFOqPT6i6B181nZ4clew/KJ8 itvrSpsploLChFRPWMRAWOoEWJIf80wUDul9nNJ7E+3wX2xVW8yscLXE92MeCjOFtj l9BWTzGI1D+jiL4wRat4S0G+My6yZLZSWB5zJCAwJXnepkM3mLquhYGRwIgRiIhq5D uuxw+n7FfZ2kw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 6A08340374; Mon, 18 Jul 2022 16:32:56 -0300 (-03) Date: Mon, 18 Jul 2022 16:32:56 -0300 From: Arnaldo Carvalho de Melo To: Blake Jones Cc: Jiri Olsa , Mark Rutland , Alexander Shishkin , Namhyung Kim , Ian Rogers , Peter Zijlstra , Ingo Molnar , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] Add a "-m" option to "perf buildid-list". Message-ID: References: <20220629213632.3899212-1-blakejones@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.8 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 Mon, Jul 18, 2022 at 10:07:32AM -0700, Blake Jones escreveu: > Fabulous, thanks! > > On Mon, Jul 18, 2022 at 7:51 AM Arnaldo Carvalho de Melo > wrote: > > > > Signed-off-by: Blake Jones > > > > > > Acked-by: Jiri Olsa > > > > To clarify, b4 found v3 and that was the one applied. Now fixing this: 28 5.28 debian:experimental-x-mips : FAIL gcc version 11.2.0 (Debian 11.2.0-18) builtin-buildid-list.c: In function 'buildid__map_cb': builtin-buildid-list.c:32:24: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=] 32 | printf("%s %16lx %16lx", bid_buf, map->start, map->end); | ~~~~^ ~~~~~~~~~~ | | | | long unsigned int u64 {aka long long unsigned int} | %16llx builtin-buildid-list.c:32:30: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=] 32 | printf("%s %16lx %16lx", bid_buf, map->start, map->end); | ~~~~^ ~~~~~~~~ | | | | long unsigned int u64 {aka long long unsigned int} | %16llx cc1: all warnings being treated as errors 29 23.06 debian:experimental-x-mips64 : Ok mips64-linux-gnuabi64-gcc (Debian 10.2.1-6) 10.2.1 20210110 30 6.08 debian:experimental-x-mipsel : FAIL gcc version 11.2.0 (Debian 11.2.0-18) builtin-buildid-list.c: In function 'buildid__map_cb': builtin-buildid-list.c:32:24: error: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=] 32 | printf("%s %16lx %16lx", bid_buf, map->start, map->end); | ~~~~^ ~~~~~~~~~~ | | | | long unsigned int u64 {aka long long unsigned int} | %16llx builtin-buildid-list.c:32:30: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Werror=format=] 32 | printf("%s %16lx %16lx", bid_buf, map->start, map->end); | ~~~~^ ~~~~~~~~ | | | | long unsigned int u64 {aka long long unsigned int} | %16llx cc1: all warnings being treated as errors These should use PRIx64, etc. - Arnaldo