Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp946665rdb; Fri, 17 Nov 2023 18:59:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQ+qIw71AbBgTODzwwvVnkn534DkCjqrKrap77RqBIEpJnHXmrfoJFprhgixrM6ANzyQHy X-Received: by 2002:a81:6cd3:0:b0:5a7:a817:be43 with SMTP id h202-20020a816cd3000000b005a7a817be43mr1826952ywc.6.1700276380685; Fri, 17 Nov 2023 18:59:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700276380; cv=none; d=google.com; s=arc-20160816; b=gn8MN5N2Yr4+BSXFM1a0yNYYtc6YIMo4GqrqNCpHICEDd4SQFjTEKFqq9jB0AFGTcf Z9Zg1F3ShiTKULU6+S/do5QveXWoEaKZS1HFjzNdmraa2HAT3O8/JUxexw7xzzspDynx /sNFTX9y5ziXQNvSftgsK4dQphMex/imkd1oAHnZuy2hw1uKn3yYB2unSuFddgaYIBJ0 6HHgCaBeicANVukSQ4v8zeVNsN+m8RQF6gpT6y/2GzuKrPUkQ2U8Tnv9R3ZOODpqK1M3 DbIrXmYzC5Kxm3VUUeUeeky+WB78n82HllSCYjYyxdCM6fMD7uU7rZfk5UoqcYexP3Gg gSvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=y4jAlmatHxr8EzfDk1bu0yrAVd1op2UsAfozj3Ea91k=; fh=gm1D7FJ0d+hZUIS2qkR3T7monDexoOfWo3eJ/hgg1OA=; b=HLe4+waGPwiniclHGuxIRtMMA28ziKjoOq9Sefo/GPHuDiSZxx7zmLis/ClVwtm+ys vIojHzzbUIfCG+k/kL1H2xFRTpx5LFyGKCcMmVKdxKRnarwd2505wxH6/kG+GcwLqa05 poUh5WrFPgGQ9r8N8L4aezHrG5h9R8l9oyaOJgRP9AqFzt27t9fyhkf0XoKeG1tuYmYB KaoKn/ZvV2brNIFHqKBarnDpIT6wpeGeCtbJs6OISQZSi8P7DUyWrebNSKt7C0TeDjBa VWRhsIc/sfqM3zmZaWL5X3FLBDDCLx6sl7W0MXMcT05Bj/GbRPJQDNv3CAsP5J53CzDx U/Aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a28-20020aa78e9c000000b0068a5877bfaesi3255887pfr.382.2023.11.17.18.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 18:59:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 70B9280C112A; Fri, 17 Nov 2023 18:59:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232769AbjKRC7e (ORCPT + 99 others); Fri, 17 Nov 2023 21:59:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbjKRC7d (ORCPT ); Fri, 17 Nov 2023 21:59:33 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9F9B0; Fri, 17 Nov 2023 18:59:29 -0800 (PST) Received: from kwepemm000003.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SXJLW63cXzsR6T; Sat, 18 Nov 2023 10:56:03 +0800 (CST) Received: from [10.67.111.205] (10.67.111.205) by kwepemm000003.china.huawei.com (7.193.23.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Sat, 18 Nov 2023 10:59:27 +0800 Subject: Re: [GIT PULL] perf tools changes for v6.7 To: =?UTF-8?Q?Daniel_D=c3=adaz?= , Namhyung Kim CC: Linus Torvalds , Arnaldo Carvalho de Melo , Ian Rogers , Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , References: <20231102150620.940538-1-namhyung@kernel.org> From: Yang Jihong Message-ID: <63a2652b-e62a-348e-e92b-47d3c86461ae@huawei.com> Date: Sat, 18 Nov 2023 10:59:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.111.205] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm000003.china.huawei.com (7.193.23.66) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 18:59:39 -0800 (PST) Hello, On 2023/11/14 3:28, Daniel Díaz wrote: > Hello! > > On Thu, 2 Nov 2023 at 09:06, Namhyung Kim wrote: >> Hi Linus, >> >> Please consider pulling the latest perf tools changes. >> >> Thanks, >> Namhyung > [...] >> Yang Jihong (29): >> perf evlist: Add perf_evlist__go_system_wide() helper >> perf evlist: Add evlist__findnew_tracking_event() helper >> perf record: Move setting tracking events before record__init_thread_masks() >> perf record: Track sideband events for all CPUs when tracing selected CPUs >> perf test: Add test case for record sideband events >> perf test: Add perf_event_attr test for record dummy event >> perf kwork: Fix incorrect and missing free atom in work_push_atom() >> perf kwork: Add the supported subcommands to the document >> perf kwork: Set ordered_events to true in 'struct perf_tool' >> perf kwork: Add `kwork` and `src_type` to work_init() for 'struct kwork_class' >> perf kwork: Overwrite original atom in the list when a new atom is pushed. >> perf kwork: Set default events list if not specified in setup_event_list() >> perf kwork: Add sched record support >> perf kwork: Add `root` parameter to work_sort() >> perf kwork top: Introduce new top utility > [...] > > We have found some build regressions on yesterday's 6.7-rc1: > -----8<----- > builtin-kwork.c: In function 'top_print_work': > builtin-kwork.c:1646:28: error: format '%ld' expects argument of > type 'long int', but argument 3 has type 'u64' {aka 'long long > unsigned int'} [-Werror=format=] > 1646 | ret += printf(" %*ld ", PRINT_PID_WIDTH, work->id); > | ~~~^ ~~~~~~~~ > | | | > | long int u64 > {aka long long unsigned int} > | %*lld > cc1: all warnings being treated as errors > make[3]: *** [/builds/linux/tools/build/Makefile.build:106: > /home/tuxbuild/.cache/tuxmake/builds/1/build/builtin-kwork.o] Error 1 > ----->8----- > > This is when building for Arm (32-bits) and i386. Bisection points to > commit 55c40e505234 ("perf kwork top: Introduce new top utility"). > > Reported-by: Linux Kernel Functional Testing > > To reproduce locally, > tuxmake \ > --runtime podman \ > --target-arch arm \ > --toolchain gcc-13 \ > --kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2Y6I5Blgre1fELnAgUTZxqjByvv/config > \ > debugkernel dtbs dtbs-legacy headers kernel modules perf > > Greetings! > Thanks for informing of build error, has send fix patch for it: https://lore.kernel.org/all/20231118024858.1567039-2-yangjihong1@huawei.com/ Thanks, Yang .