Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3366667rdb; Tue, 6 Feb 2024 16:01:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPdGZDmH0BKxTbvT87YtQa1cMGJBxnjgjkgm8ZUU78/v2mj68ASg7/Rm0uhARJlasENjcU X-Received: by 2002:aa7:da93:0:b0:560:79a:11d5 with SMTP id q19-20020aa7da93000000b00560079a11d5mr2590200eds.9.1707264110370; Tue, 06 Feb 2024 16:01:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707264110; cv=pass; d=google.com; s=arc-20160816; b=KqlQcnL2FU+dQFKDaS4MZ52qnIGjIE2YI6wtIKI0hfXrPAkcQTsIXgUrhUnwhcI8v4 fAjJaM1//AMpL9DUfxu7pmUAvYLIGCtbWY8hF0Ya822ltcdtMGQ9Pk9ycRXv/BWYhBki A0CIUMZz8okgN+G5AKls0CLpVccSQfYc0OZcLbslUk0XFwzHztQ4NIhWg1axe0Ypo57Q r/NRTEln/xF00bfRBkXo6oT/Nlv4kl2j35nFVpeWV252RvJMZEubn76sirpyuDRaClVE 8hG5sgnI7YlE8XEotEF7l+r4ITTbcttDxbsqbbA4m/0iWvZLWziZShqzcPtnw8msP0pl d6SQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=aBPZC+4srisd68ZncoOUuxyi0NgzTLAaSaxaA+A43OU=; fh=DTcg7rjhf+NH7a5JBux0KlmJhd4JYTBHR0jiy3ZYjqk=; b=0BZlHf7ctnY/Jq9zEACfoKxin7prfAyt78T+g14jfmkpRUiApGBL+1lFESrRuckSp0 R/GgKMbcPIDCenTmc0bFkua4h9DO7UiO6RySZjlvc2c4MrsCwTtPynp0iFrA+QXd+yBV yK6CQyLCte/vzrGW7j2EGYZc+lHptsuyaP7vAW6ejk1MqpmBxFIuKdZnaaKlZedryO7U F+/ifFoAMCSec0iQFE10q4+WT3TGssz8vIF6mZNWplmchkuKgU3F+e5qAt2xWuJvPCW8 wUFMge0gyxAmDD+odO6gCwFNTAvnRuFLUXK6xtEHD73p0r3F9Ghfg7FzOJiPRfoR5hNP Xkkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55746-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWkDhACqYRZn/du95g4+yXNHCuNgTm4UFiH7penKpkbThHI166uws4NsFcP2Kc5RMAtLvsCUefsw6oRC1dox2hGndrD9bNAfbVMrpt1hg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cy7-20020a0564021c8700b005582e987866si95483edb.7.2024.02.06.16.01.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 16:01:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55746-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EA8611F25059 for ; Wed, 7 Feb 2024 00:01:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A938B3211; Wed, 7 Feb 2024 00:01:40 +0000 (UTC) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D579A1CD21; Wed, 7 Feb 2024 00:01:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707264100; cv=none; b=X9EC0iYkhWEFs9WjrmyFpH5ESGe5U5sYmnx8ubRTBEKf0EE3ujnvhhcmm35GrmWerxis3OrTdfvMOdiPR7HbIbr9vpeBkjlybYWLaqDnEvQRRNdIogdxLxAmw+pWdIyrGXTa11nQf+g9NN3C+n1mRlKACTS75L+7exhhTFah4ck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707264100; c=relaxed/simple; bh=p3cCyYpZZsU3rRtdl4vxs+Yw0c2aMZzobtjeNJFoCc4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=C+XTPg8knTg33NPQi8deZm46ak5WEc1PbiQDGmgSGV9fahcBoPkNNZgTWc1frzlovW5xGY+n646/vuPrR6Y5L0LVUqwEZ87nNp5ZRbGp5R5/VBSj3clVpqA5+JtZTBB7qhXzCwR7FG6nkv0n5GUI40jRaTZdoNqh8lEV6VsOU7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.216.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2907a17fa34so41392a91.1; Tue, 06 Feb 2024 16:01:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707264098; x=1707868898; 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=aBPZC+4srisd68ZncoOUuxyi0NgzTLAaSaxaA+A43OU=; b=fsLgjlCi/gDiPU03gmPjL3WJFbeuxFZQsNmMx5osdRGmn5Jr83naUKFCimoderjElA AuRG2QY/rWnNbpVSlaB5Yi56h1m4PEZqSqnQNb4XDAsjmtvFecjdDIKKmFALB1mfbwsf YWuMHxZG8qDkYAhHbsgPyFVID8r3BDBVBhNwi0XA86SJkbOD+CfBdA1ZO9b0CJqCeCrV thFoZyKNQ1A+u3deH9jCZ5lBMzCwE3zNSV3E6PMeYKxXaNqrwiVVeVANaNBKZfwSofvQ agm1K+g1o1UXsNXM9vP3vBn9hGbZmoQd1xRxuddiouE+uvQZ22PCvxF1WEp3pzA/6Xzc QURg== X-Gm-Message-State: AOJu0YxytiMVCM7upyf8qhG82LmduysM0tlte+t8fqKUrurI3rplad7b xJRFuuXsMBNwhYc8k8xH46yEal2KkhHSUDSax8/dKonU6ApJMdr+Tcjuub4FUaCVZughYQktr0i l8n7r+96JsxKiMsGSpxWa6EGTGyDpAvCgq7U= X-Received: by 2002:a17:90a:2ecb:b0:296:84e1:de64 with SMTP id h11-20020a17090a2ecb00b0029684e1de64mr1071726pjs.20.1707264098078; Tue, 06 Feb 2024 16:01:38 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240206235902.2917395-1-irogers@google.com> In-Reply-To: <20240206235902.2917395-1-irogers@google.com> From: Namhyung Kim Date: Tue, 6 Feb 2024 16:01:26 -0800 Message-ID: Subject: Re: [PATCH v1] perf kvm powerpc: Fix build To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kan Liang , Leo Yan , James Clark , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 6, 2024 at 3:59=E2=80=AFPM Ian Rogers wrot= e: > > Updates to struct parse_events_error needed to be carried through to > PowerPC specific event parsing. > > Reported-by: Stephen Rothwell > Fixes: fd7b8e8fb20f ("perf parse-events: Print all errors") > Signed-off-by: Ian Rogers Acked-by: Namhyung Thanks for the quick fix! Namhyung > --- > tools/perf/arch/powerpc/util/kvm-stat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/arch/powerpc/util/kvm-stat.c b/tools/perf/arch/po= werpc/util/kvm-stat.c > index d9a0ac1cdf30..c8357b571ccf 100644 > --- a/tools/perf/arch/powerpc/util/kvm-stat.c > +++ b/tools/perf/arch/powerpc/util/kvm-stat.c > @@ -114,7 +114,7 @@ static int is_tracepoint_available(const char *str, s= truct evlist *evlist) > > parse_events_error__init(&err); > ret =3D parse_events(evlist, str, &err); > - if (err.str) > + if (ret) > parse_events_error__print(&err, "tracepoint"); > parse_events_error__exit(&err); > return ret; > -- > 2.43.0.594.gd9cf4e227d-goog >