aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/Documentation/perf-record.txt3
-rw-r--r--tools/perf/builtin-record.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
index 3a35a8523e6d..c71b0f36d9e8 100644
--- a/tools/perf/Documentation/perf-record.txt
+++ b/tools/perf/Documentation/perf-record.txt
@@ -208,7 +208,8 @@ overrides that and uses per-thread mmaps. A side-effect of that is that
208inheritance is automatically disabled. --per-thread is ignored with a warning 208inheritance is automatically disabled. --per-thread is ignored with a warning
209if combined with -a or -C options. 209if combined with -a or -C options.
210 210
211--initial-delay msecs:: 211-D::
212--delay=::
212After starting the program, wait msecs before measuring. This is useful to 213After starting the program, wait msecs before measuring. This is useful to
213filter out the startup phase of the program, which is often very different. 214filter out the startup phase of the program, which is often very different.
214 215
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index 78e790f4c54f..3c394bf16fa8 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -882,7 +882,7 @@ const struct option record_options[] = {
882 OPT_CALLBACK('G', "cgroup", &record.evlist, "name", 882 OPT_CALLBACK('G', "cgroup", &record.evlist, "name",
883 "monitor event in cgroup name only", 883 "monitor event in cgroup name only",
884 parse_cgroups), 884 parse_cgroups),
885 OPT_UINTEGER(0, "initial-delay", &record.opts.initial_delay, 885 OPT_UINTEGER('D', "delay", &record.opts.initial_delay,
886 "ms to wait before starting measurement after program start"), 886 "ms to wait before starting measurement after program start"),
887 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user", 887 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user",
888 "user to profile"), 888 "user to profile"),