Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp561229rwd; Mon, 12 Jun 2023 18:50:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7cYPrj/nhhcoUbgpWWV6v1QylaDBfEiI9zPxh9DSwKJJjC3/ytZ0Saxt09Sr7uPu7J1XFV X-Received: by 2002:aa7:c3ca:0:b0:514:9465:81ef with SMTP id l10-20020aa7c3ca000000b00514946581efmr5847729edr.21.1686621031488; Mon, 12 Jun 2023 18:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686621031; cv=none; d=google.com; s=arc-20160816; b=0w+tzGfOEbVni964LOMou+4CjOt/tKZUU2K+V1f1ZmN8dfDIJbkuiTdeTmVUWTjyyF 5BrQllfV/35vMSTf+kj9JTmvUj69SxNKIknIgluRmXMF37hNPiUrkXhXCb0Q4gSoBKkn tJxzKLIfWiJybQj63pDvPs+jYS+Y9k5GTRJnYq1Tsi7JaXLyLb9FjJcBiVkwTsotTlCG JNU0bnO28u332uKHtth/KVNvDjYAna67X//Kiv5fIH6rdwHsgusynKqKmHEf/heM5Ry6 ObTNpjdgaZ+fHLGdi5ympifHFBX5fBih7wFWOy6jotG+Tn1NkF3ZYu/O7ApIlt1nn+Ad ntEA== 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=GRGV6fVUJCA0xhHH+mf+dT3h8/R2mMPU8LP5mPMij8c=; b=pYu2WdjLSR7TZZuRyo0w8cPTCpQ6O2rweGix5AtfKcwKaKHvfhEJjwK7S05i9/bkbh R2cPQQf6wltmeXlqVWYqiiKNDtsPv7EJ2cSElc4QziFhai7YmmmnH/0JC0wNhDLqfEnx rs07ctLk0tkT+/z+prYLYqNxFV0csyLebP0qLj030D+P2x+z5byHDbQbmBTF80qZpec7 Izlg3pW7Sh9R0eucmpVGB0pjD7YkpGnMjlcMUvu2fCyGuCmgQhYKROBhjXUZ5TI+1QVn lI3Op3slDAeurolNHFDC/0w/mVhz2eJtcegLH59JLKcV/1WgQYWFg1w8tkzVf7Dt11KX AaGA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020aa7c84d000000b00514b2458135si6537251edt.284.2023.06.12.18.50.07; Mon, 12 Jun 2023 18:50:31 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229749AbjFMBcL (ORCPT + 99 others); Mon, 12 Jun 2023 21:32:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237654AbjFMBcK (ORCPT ); Mon, 12 Jun 2023 21:32:10 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9590BE56; Mon, 12 Jun 2023 18:32:08 -0700 (PDT) Received: from kwepemm600003.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Qg9vk0XyQztQr4; Tue, 13 Jun 2023 09:29:38 +0800 (CST) Received: from [10.67.111.205] (10.67.111.205) by kwepemm600003.china.huawei.com (7.193.23.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 13 Jun 2023 09:32:05 +0800 Subject: Re: [PATCH v2] perf stat: Add missing newline in pr_err messages To: Arnaldo Carvalho de Melo CC: , , , , , , , , , References: <20230610094441.221525-1-yangjihong1@huawei.com> From: Yang Jihong Message-ID: Date: Tue, 13 Jun 2023 09:32:05 +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: 7bit X-Originating-IP: [10.67.111.205] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600003.china.huawei.com (7.193.23.202) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 Hello, On 2023/6/13 2:55, Arnaldo Carvalho de Melo wrote: > Em Sat, Jun 10, 2023 at 09:44:41AM +0000, Yang Jihong escreveu: >> The newline is missing for error messages in add_default_attributes() >> >> Before: >> >> # perf stat --topdown >> Topdown requested but the topdown metric groups aren't present. >> (See perf list the metric groups have names like TopdownL1)# >> >> After: >> >> # perf stat --topdown >> Topdown requested but the topdown metric groups aren't present. >> (See perf list the metric groups have names like TopdownL1) >> # >> >> In addition, perf_stat_init_aggr_mode() and perf_stat_init_aggr_mode_file() >> have the same problem, fixed by the way. > > Wait a bit till I push what I had to perf-tools-next, as it is not > applying right now: OK, I'm doing the patch based on the mainline, and if I need to do it based on the perf-tools-next branch, I'll reissue it. Thanks, Yang.