Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753889AbbEAKQA (ORCPT ); Fri, 1 May 2015 06:16:00 -0400 Received: from terminus.zytor.com ([198.137.202.10]:52051 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753868AbbEAKP4 (ORCPT ); Fri, 1 May 2015 06:15:56 -0400 Date: Fri, 1 May 2015 03:15:45 -0700 From: tip-bot for Petr Holasek Message-ID: Cc: acme@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, jolsa@redhat.com, pholasek@redhat.com, tglx@linutronix.de, mingo@kernel.org Reply-To: hpa@zytor.com, linux-kernel@vger.kernel.org, acme@redhat.com, pholasek@redhat.com, mingo@kernel.org, tglx@linutronix.de, jolsa@redhat.com In-Reply-To: <1429198699-25039-2-git-send-email-pholasek@redhat.com> References: <1429198699-25039-2-git-send-email-pholasek@redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf bench numa: Fixes of --quiet argument Git-Commit-ID: 24f1ced167e5e011040b4c3aae75aee45a79eed5 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2072 Lines: 47 Commit-ID: 24f1ced167e5e011040b4c3aae75aee45a79eed5 Gitweb: http://git.kernel.org/tip/24f1ced167e5e011040b4c3aae75aee45a79eed5 Author: Petr Holasek AuthorDate: Thu, 16 Apr 2015 17:38:17 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Apr 2015 13:57:49 -0300 perf bench numa: Fixes of --quiet argument Corrected description and fixed function of --quiet argument. Signed-off-by: Petr Holasek Reviewed-by: Ingo Molnar Cc: Jiri Olsa Link: http://lkml.kernel.org/r/1429198699-25039-2-git-send-email-pholasek@redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/bench/numa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c index ebfa163..cd872e9c 100644 --- a/tools/perf/bench/numa.c +++ b/tools/perf/bench/numa.c @@ -180,7 +180,7 @@ static const struct option options[] = { OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"), OPT_BOOLEAN('c', "show_convergence", &p0.show_convergence, "show convergence details"), OPT_BOOLEAN('m', "measure_convergence", &p0.measure_convergence, "measure convergence latency"), - OPT_BOOLEAN('q', "quiet" , &p0.show_quiet, "bzero the initial allocations"), + OPT_BOOLEAN('q', "quiet" , &p0.show_quiet, "quiet mode"), OPT_BOOLEAN('S', "serialize-startup", &p0.serialize_startup,"serialize thread startup"), /* Special option string parsing callbacks: */ @@ -1395,7 +1395,7 @@ static void print_res(const char *name, double val, if (!name) name = "main,"; - if (g->p.show_quiet) + if (!g->p.show_quiet) printf(" %-30s %15.3f, %-15s %s\n", name, val, txt_unit, txt_short); else printf(" %14.3f %s\n", val, txt_long); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/