Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Petr Holasek and committed by
Arnaldo Carvalho de Melo
24f1ced1 052b0f6e

+2 -2
+2 -2
tools/perf/bench/numa.c
··· 180 180 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"), 181 181 OPT_BOOLEAN('c', "show_convergence", &p0.show_convergence, "show convergence details"), 182 182 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"), 184 184 OPT_BOOLEAN('S', "serialize-startup", &p0.serialize_startup,"serialize thread startup"), 185 185 186 186 /* Special option string parsing callbacks: */ ··· 1395 1395 if (!name) 1396 1396 name = "main,"; 1397 1397 1398 - if (g->p.show_quiet) 1398 + if (!g->p.show_quiet) 1399 1399 printf(" %-30s %15.3f, %-15s %s\n", name, val, txt_unit, txt_short); 1400 1400 else 1401 1401 printf(" %14.3f %s\n", val, txt_long);