Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9702172rwd; Wed, 21 Jun 2023 10:38:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Zb6Wxe8wqqXVPLZ4M0Jjcbzp91T40BizPc2KgFcOEwFTmE914gLM91NKDB79FuTkDy5Qv X-Received: by 2002:a05:6a20:1610:b0:116:5321:63bf with SMTP id l16-20020a056a20161000b00116532163bfmr12000793pzj.41.1687369136366; Wed, 21 Jun 2023 10:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687369136; cv=none; d=google.com; s=arc-20160816; b=As8flduwYLjqUFLNSDHHAOWzbs2WzLdPJE3dosEQua9S7UswuwRPElGQLdW3MRuSKn s4mbL+InKOIQhUBymqmNPypsQztaYbfO4VTy4fjxB00Z3YqTjJ3rXAnuiEythvfWEaQ2 9w1rOJ6V2w/bfDR8ldwXXdfqk/UTSl+igPuFe0xAVrQrpO0WzHFn7q2psfYkXHfCVl5T GSNyIppdZ+AcXZxXTX2r6PigN+PeUvMo/dPCzPYiEyYG3+qYrbiPvtQrZ7pkdFfDZMQy UU7UlXlmaMyKI5Hsb88Ew2z2sI5F1BzYjJ8lmI7Jd3mKIryocMXDvkh66MRaEY3J1GWI s7TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=ShLXSM0lnEckVC/Wb2f4ozihWL0IrSIZ9wRJNA/QiXw=; b=WeJqMkRwttUq04mvoS5dDWPRztq8RmEk6HJVSUHkCYSXAFa7Co8rHwsv5z/PtYLCJy jXBvo0ZQi/DldeLZaCby8AKad6LFhOvntyeCDkPS9tf0J/hDrCt6OQO/xGivoSrWafOO aToANwALauE6ADjjBcCpC8WyMFO5miwSaklyDTx1MzVg1HJrsRJrccrPKmmB1fJ+64bP +/1CK6zrrV/Ttn2mGvCkU6B+fpqWXveYVGFjzsGgcZLFb8NwF7C6aVOgx92ImNbPdRfE UTAxy39Nx+31vZ15CeMu1nZBFrVRxM4RQLT+20jMb0JGs9jpQQqCg+4alsgZOvHaMJwx /OoQ== 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=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 b67-20020a633446000000b0053f29758cd1si4491179pga.839.2023.06.21.10.38.43; Wed, 21 Jun 2023 10:38:56 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230430AbjFURXA convert rfc822-to-8bit (ORCPT + 99 others); Wed, 21 Jun 2023 13:23:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230081AbjFURW7 (ORCPT ); Wed, 21 Jun 2023 13:22:59 -0400 Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3614210C; Wed, 21 Jun 2023 10:22:59 -0700 (PDT) Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-bb2ffa1e235so5937884276.0; Wed, 21 Jun 2023 10:22:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687368178; x=1689960178; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OEe5QkJa8Tj6wbx7n/OFn5hoJnPVHkIkLosmDQ908PM=; b=YU8ketYrgE5+S57dqocG1ShbsRilxZtXMEq/lF7Z9vlYYVVzXp2JqJTBPCKlTGW5Sl npy38D6iIfvE/4mJ/NoTdf7z2dMebgd4+nDIpv3IAcJAnOA9XJZiyuZF7fVOzmqYH3Jd teM2oO2ro2wered68uHoh1a1qoKyZOfZiUWwFVX4ENTQR96uIuBPSfiOJmzhG3BHiXCz 4sCrRkFG7V8aSHvcLLzKdepU4M0/laJSFae6JcF2eEm6yqtRZCRunikWhtRjxGfHzaRZ R8c4G1gaPBrJcJU6emhaHGGaMtPDFTpibVi5QP/9C5zmw+MeBmVf163l7c0tRA+eoCwV tOQg== X-Gm-Message-State: AC+VfDyBsSEILy8TPo1vc1MIsfWgu2PMvh+cYg9UznD1kHOcHpk5DLeO TOCx4NahBD8e5YH2e5bUbOJHB9ukJaIvegcPhEU= X-Received: by 2002:a25:d3c6:0:b0:bcb:f3cc:e965 with SMTP id e189-20020a25d3c6000000b00bcbf3cce965mr12586639ybf.11.1687368178335; Wed, 21 Jun 2023 10:22:58 -0700 (PDT) MIME-Version: 1.0 References: <20230614021505.59856-1-yangjihong1@huawei.com> In-Reply-To: <20230614021505.59856-1-yangjihong1@huawei.com> From: Namhyung Kim Date: Wed, 21 Jun 2023 10:22:47 -0700 Message-ID: Subject: Re: [PATCH v3] perf stat: Add missing newline in pr_err messages To: Yang Jihong Cc: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, james.clark@arm.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, Jun 13, 2023 at 7:16 PM Yang Jihong wrote: > > 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. > > Signed-off-by: Yang Jihong > Acked-by: Ian Rogers > Reviewed-by: James Clark Applied to perf-tools-next, thanks!