linux/tools/perf/bench
Arnaldo Carvalho de Melo 0fae799e86 perf bench numa: Make no args mean 'run all tests'
If we call just:

  perf bench numa mem

it will present the same output as:

  perf bench numa mem -h

i.e. ask for instructions about what to run.

While that is kinda ok, using 'run all tests' as the default, i.e.
making 'no parms' be equivalent to:

  perf bench numa mem -a

Will allow:

  perf bench numa all

to actually do what is asked: i.e. run all the 'bench' tests, instead of
responding to that by asking what to do.

That, in turn, allows:

  perf bench all

to actually complete, for the same reasons.

And after that, the tests that come after that, and that at some point
hit a NULL deref, will run, allowing me to reproduce a recently reported
problem.

That when you have the needed numa libraries, which wasn't the case for
the reporter, making me a bit confused after trying to reproduce his
report.

So make no parms mean -a.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Patrick Palka <patrick@parcs.ath.cx>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-x7h0ghx4pef4n0brywg21krk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-03-14 10:04:10 -03:00
..
bench.h perf tools: Fix LIBNUMA build with glibc 2.12 and older. 2013-03-14 08:06:21 -03:00
mem-memcpy-arch.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
mem-memcpy-x86-64-asm-def.h perf bench: Also allow measuring alternative memcpy implementations 2012-01-24 19:51:01 -02:00
mem-memcpy-x86-64-asm.S Merge branch 'perf/urgent' into perf/core 2012-02-06 19:11:02 -02:00
mem-memcpy.c tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
mem-memset-arch.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
mem-memset-x86-64-asm-def.h perf bench: Also allow measuring memset() 2012-01-24 20:25:32 -02:00
mem-memset-x86-64-asm.S perf tool: Fix perf stack to non executable on x86_64 2012-02-06 19:14:17 -02:00
mem-memset.c tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
numa.c perf bench numa: Make no args mean 'run all tests' 2014-03-14 10:04:10 -03:00
sched-messaging.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
sched-pipe.c perf bench sched: Add --threaded option 2013-10-11 12:17:25 -03:00