Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1723397rwd; Tue, 13 Jun 2023 13:13:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4TJbDEF056T5/F9MCO0E2q3ySK/hMGjXFd3f0brjZersTA+qcOYCQsTFYP2+nWGGK9BMuu X-Received: by 2002:a17:907:16a6:b0:960:c5fe:a36a with SMTP id hc38-20020a17090716a600b00960c5fea36amr14269293ejc.61.1686687184412; Tue, 13 Jun 2023 13:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686687184; cv=none; d=google.com; s=arc-20160816; b=PtmNK6+huzL0Sxj+62YB/ORPqUhdcU6tP/FGc8du9OS1/gYq2/ZtE6V2DgVndoToEy j1qjPyqM8b1sFuAChCMuj59AmLJLR1uylAqQqFdNeLr+D49kmv7XZPo8NBPZUqsVxr2b dFEOk4CyVrlU7A4JXTpdBQ33XTf4kbF4YQTjLDFgHD0PRgCirpS5vCd9GQMvh6EF9tCe NM+tBzd/D7+WObYFs+Of9WccyPMIlwxHkDLBY5OB7iprZ8xD0MDk/Xe1dKspll5lb8lf uQNw7jKlccKacqsTSD9M8Dii5iXqc32uYjoSaNwEuQO6M98KDSStxmMI96kb3H/CXCx0 GtlA== 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=RA1EW3VN0aR06JThYrBa24qTTKEacmbOX0XWzzpxNPc=; b=I0Mt+jHTaFSqF9XwlBH+qu+MuTzmStLXR3jM2BcXB+7JCXoLXQY8c6KU5ojC8+rokZ cvozAhisjiA1e339JxpzRjGyZrtwPUOMBh/3NEnH2YRY5eQSDX6O+eeRTu9pLPhg1wHn 5xfP6CbUowjGU5mVJugeocznFcIeLaUsT9UY8R7u4nfX1IXi0OjpL5Ied29NCdIomkoC XLVR5/WvoDN5Vk3fSA4Kc48PjCA0xBT7Mr/YOfyJ28m/Ag/DbMLdAvEEuFc3xavcTnKP 4/mtJf2/zQFbixrckkcLI68Emo1v1skG0vsX2fGgHMLrjpairmt7zIv5gn70vongeFdK KNzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X02FdtQN; 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 dv9-20020a170906b80900b00977cb9f7290si4512668ejb.395.2023.06.13.13.12.39; Tue, 13 Jun 2023 13:13:04 -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=X02FdtQN; 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 S239231AbjFMTpP (ORCPT + 99 others); Tue, 13 Jun 2023 15:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232748AbjFMTpN (ORCPT ); Tue, 13 Jun 2023 15:45:13 -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 EE4AC119; Tue, 13 Jun 2023 12:45:12 -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 8663463A35; Tue, 13 Jun 2023 19:45:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC883C433D9; Tue, 13 Jun 2023 19:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686685511; bh=J2Rp0IpcinSqHnXghEPSh9sey3GHHZL204OfuUZIpQc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X02FdtQN9YPh5JeYdXPoKx0V1Oxl6wLWo89hJEgCoiwd65LRuvQKPHhp5pDR0BtYR WfD/GLL0PCdIi4kRuPoDZUswx84jNie7prWLGM8+YUVPOmQ0OBri0UOSmHMikweYE2 jrgr88QJY4mxq9SSTt1pZ0hj11cTq3sTk6/c7wrKtEkByHsO7zuckJoh/kSi6H9seZ 1KYnGJR22sYA+BFU9lycR5tVfdyOMmnbmQGfyFzuoUx7h4tlsDkBx8BrI3EZlNfmuH aQ3xL8lNYYRDfuKGDAekxfYIAMPJs0WJeBjFFE4KndlSrBBy5e6PCTysXzg3YGNlyt vX0w/rHCha0tw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 34BF340692; Tue, 13 Jun 2023 16:45:09 -0300 (-03) Date: Tue, 13 Jun 2023 16:45:09 -0300 From: Arnaldo Carvalho de Melo To: Yang Jihong Cc: peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] perf stat: Add missing newline in pr_err messages Message-ID: References: <20230610094441.221525-1-yangjihong1@huawei.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=-4.4 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 Tue, Jun 13, 2023 at 09:32:05AM +0800, Yang Jihong escreveu: > 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. For patches for the currente perf development cycle the perf-tools-next branch of: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git Should be used. Hopefully soon we will transition to: git://git.kernel.org/pub/scm/linux/kernel/git/perf-tools/perf-tools-next.git And also: git://git.kernel.org/pub/scm/linux/kernel/git/perf-tools/perf-tools.git For fixes geared to the current merge window, when we are accepting just fixes. - Arnaldo