perf bench mem: The -o and -n options are mutually exclusive
authorDavidlohr Bueso <davidlohr@hp.com>
Mon, 16 Jun 2014 18:14:25 +0000 (11:14 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Jun 2014 19:13:16 +0000 (16:13 -0300)
commit424e9634887842ac59c1d06d3264aaeb18853c0b
tree3e0d161ee198db2976222f2656ed280f3e4f08b9
parentd9de84afd1f3a464135abe2b26e66aa86be5af8d
perf bench mem: The -o and -n options are mutually exclusive

 -o, --only-prefault   Show only the result with page faults before mem*
 -n, --no-prefault     Show only the result without page faults before mem*

Makes no sense to call together. Applies to both memset and memcpy.

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Aswin Chandramouleeswaran <aswin@hp.com>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1402942467-10671-8-git-send-email-davidlohr@hp.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/mem-memcpy.c
tools/perf/bench/mem-memset.c