Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp69048imm; Wed, 5 Sep 2018 15:08:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbyI7HfXcVBOyqrjuRiDb5gRqacKyyd3C/61Ib6C8APuuB5fX9IexvPr3EJWWBFwAP16ASP X-Received: by 2002:a65:6086:: with SMTP id t6-v6mr2204026pgu.424.1536185330832; Wed, 05 Sep 2018 15:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536185330; cv=none; d=google.com; s=arc-20160816; b=ODJg3EHqYcM9sFkWK5Unsmd6X9PNF0h6AEneePz92WCBPOMXSP0crMKP3IzEKadsay YrQcDAyQRjaF1vZ3AOKJVWMrRchEnOBWtR71mYIkC4fh2GUHiVZxebKO1bp9BoCx1fMM mMO0k33krS5d9sY4y6sSmAYE7LITOMJWyWp2koDYxOAfe9nK+vFT1BjvY9Hw1PTJjyFp jw7HkGDAODTltaeva7SKotYfybukI2sdrCfWeA5VhtFFmyLhdeoGyPyceHophjzWzLNm 7iL/hxA287q9pmRqN/yJL3cXZ01k3JDn2BllKOxHLT3oU1/Ttiqv2tz/c8e0XjMAfDcA X74Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=3tVj1m8yocWrYVUk4T1KR8+fv6oX1sFAMjHH4Qm8d4s=; b=NycQV4uX/sG1TsqZTnHx05rCGg39EM/iPI5t7wcL6eAvpVNqA0XPN1pZR/uednnBVE 2mN8I1SIt+aEsfU2tj0WkZMoCL5f1qWcLTlIWvAmrrmoJKx2a/8rP/cdfmlcwxhyNTU/ 2aHlCCd3thhgmXEcs1fgMQKHUdUrPLKTHVgf8skKn8Kjqn/9klFPDf4tp5ND2/C+udL2 ylJA+tghVkUmfzXjTnI5yhoASkq+mMYXZ3UeLUDNjxINE4Xx2iEbX7/stEKgZHsJeOxF hOmESsqZKZQAitD6TbtNn/Ro1q9JbHrAmAwacd9VaNAlpgv14BvOwaj9HMK/koEaMk3S jN8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g+pIL+Xe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si2901044plo.350.2018.09.05.15.08.35; Wed, 05 Sep 2018 15:08:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g+pIL+Xe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728576AbeIFCig (ORCPT + 99 others); Wed, 5 Sep 2018 22:38:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:53126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727626AbeIFCig (ORCPT ); Wed, 5 Sep 2018 22:38:36 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0EFF52077C; Wed, 5 Sep 2018 22:06:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536185184; bh=sqqtCX/Q+6RYGfEr6+nQ/RNbX3lBhH1Oda/1CSUaVP0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g+pIL+Xe6DgPomCfYg4x/S83dlvapabpnP9qvQL5/lxy9MKecJlirlrB9e3dgkpS8 8Hn8RqBGKyZSZXlejYaZZXTKAzBbH9vGNVETdoTlS+ZMcWkG/f+lzC0udEzsw1Ecrk cOsbF06dOtswPqtIsQ21UPz64oIox6ywu7A2TEy4= From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Jiri Olsa , Alexander Shishkin , Andi Kleen , David Ahern , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo Subject: [PATCH 34/77] perf stat: Rename 'is_pipe' argument to 'attrs' in perf_stat_synthesize_config() Date: Wed, 5 Sep 2018 19:03:57 -0300 Message-Id: <20180905220440.20256-35-acme@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180905220440.20256-1-acme@kernel.org> References: <20180905220440.20256-1-acme@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiri Olsa The attrs name makes more sense. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180830063252.23729-10-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-stat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index 142cff8eb12b..0a358c2e1a93 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c @@ -402,11 +402,11 @@ static void workload_exec_failed_signal(int signo __maybe_unused, siginfo_t *inf workload_exec_errno = info->si_value.sival_int; } -static int perf_stat_synthesize_config(bool is_pipe) +static int perf_stat_synthesize_config(bool attrs) { int err; - if (is_pipe) { + if (attrs) { err = perf_event__synthesize_attrs(NULL, evsel_list, process_synthesized_event); if (err < 0) { @@ -418,7 +418,7 @@ static int perf_stat_synthesize_config(bool is_pipe) err = perf_event__synthesize_extra_attr(NULL, evsel_list, process_synthesized_event, - is_pipe); + attrs); err = perf_event__synthesize_thread_map2(NULL, evsel_list->threads, process_synthesized_event, -- 2.14.4