Skip to content

Commit 24f1ced

Browse files
Petr Holasekacmel
authored andcommitted
perf bench numa: Fixes of --quiet argument
Corrected description and fixed function of --quiet argument. Signed-off-by: Petr Holasek <pholasek@redhat.com> Reviewed-by: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1429198699-25039-2-git-send-email-pholasek@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 052b0f6 commit 24f1ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/perf/bench/numa.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ static const struct option options[] = {
180180
OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"),
181181
OPT_BOOLEAN('c', "show_convergence", &p0.show_convergence, "show convergence details"),
182182
OPT_BOOLEAN('m', "measure_convergence", &p0.measure_convergence, "measure convergence latency"),
183-
OPT_BOOLEAN('q', "quiet" , &p0.show_quiet, "bzero the initial allocations"),
183+
OPT_BOOLEAN('q', "quiet" , &p0.show_quiet, "quiet mode"),
184184
OPT_BOOLEAN('S', "serialize-startup", &p0.serialize_startup,"serialize thread startup"),
185185

186186
/* Special option string parsing callbacks: */
@@ -1395,7 +1395,7 @@ static void print_res(const char *name, double val,
13951395
if (!name)
13961396
name = "main,";
13971397

1398-
if (g->p.show_quiet)
1398+
if (!g->p.show_quiet)
13991399
printf(" %-30s %15.3f, %-15s %s\n", name, val, txt_unit, txt_short);
14001400
else
14011401
printf(" %14.3f %s\n", val, txt_long);

0 commit comments

Comments
 (0)