perf record: Honour --no-time command line option
authorAndi Kleen <ak@linux.intel.com>
Thu, 31 Jul 2014 06:45:04 +0000 (14:45 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Aug 2014 15:00:03 +0000 (12:00 -0300)
commit8affc2b8c27bfc2d6e70827b746f490b62c44eaa
tree5fee2c062b02c41e27a19d88c00525b551357c24
parentb048a24cc8f29dce1bad564aaeb8680020d3701c
perf record: Honour --no-time command line option

Time stamps are always implicitely enabled for record currently.  The
old --time/-T option is a nop.

Allow the user to disable timestamps by using --no-time, honouring the
existing option.

The defaults are unchanged.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1406789104-25863-10-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/evsel.c