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

perf bench: Run benchmarks, don't test them

So right now we output this text:

memcpy: Benchmark for memcpy() functions
memset: Benchmark for memset() functions
all: Test all memory access benchmarks

But the right verb to use with benchmarks is to 'run' them, not 'test'
them.

So change this (and all similar texts) to:

memcpy: Benchmark for memcpy() functions
memset: Benchmark for memset() functions
all: Run all memory access benchmarks

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1445241870-24854-15-git-send-email-mingo@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Ingo Molnar and committed by
Arnaldo Carvalho de Melo
aa254af2 2f211c84

+4 -4
+4 -4
tools/perf/builtin-bench.c
··· 36 36 #ifdef HAVE_LIBNUMA_SUPPORT 37 37 static struct bench numa_benchmarks[] = { 38 38 { "mem", "Benchmark for NUMA workloads", bench_numa }, 39 - { "all", "Test all NUMA benchmarks", NULL }, 39 + { "all", "Run all NUMA benchmarks", NULL }, 40 40 { NULL, NULL, NULL } 41 41 }; 42 42 #endif ··· 44 44 static struct bench sched_benchmarks[] = { 45 45 { "messaging", "Benchmark for scheduling and IPC", bench_sched_messaging }, 46 46 { "pipe", "Benchmark for pipe() between two processes", bench_sched_pipe }, 47 - { "all", "Test all scheduler benchmarks", NULL }, 47 + { "all", "Run all scheduler benchmarks", NULL }, 48 48 { NULL, NULL, NULL } 49 49 }; 50 50 51 51 static struct bench mem_benchmarks[] = { 52 52 { "memcpy", "Benchmark for memcpy() functions", bench_mem_memcpy }, 53 53 { "memset", "Benchmark for memset() functions", bench_mem_memset }, 54 - { "all", "Test all memory access benchmarks", NULL }, 54 + { "all", "Run all memory access benchmarks", NULL }, 55 55 { NULL, NULL, NULL } 56 56 }; 57 57 ··· 62 62 { "requeue", "Benchmark for futex requeue calls", bench_futex_requeue }, 63 63 /* pi-futexes */ 64 64 { "lock-pi", "Benchmark for futex lock_pi calls", bench_futex_lock_pi }, 65 - { "all", "Test all futex benchmarks", NULL }, 65 + { "all", "Run all futex benchmarks", NULL }, 66 66 { NULL, NULL, NULL } 67 67 }; 68 68