perf record: Extend -D,--delay option with -1 value
authorAlexey Budankov <alexey.budankov@linux.intel.com>
Fri, 17 Jul 2020 07:07:03 +0000 (10:07 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Aug 2020 11:50:04 +0000 (08:50 -0300)
commit68cd3b45b93d07f7e7d853f330d3a37b560b04f2
tree130b4edc711d7cae5a83002a3d6126d37310656a
parent27e9769aad3c435993a2e0cd91f5d868294145d0
perf record: Extend -D,--delay option with -1 value

Extend -D,--delay option with -1 to start collection with events
disabled to be enabled later by 'enable' command provided via control
file descriptor.

Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/3e7d362c-7973-ee5d-e81e-c60ea22432c3@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c
tools/perf/builtin-trace.c
tools/perf/util/record.h