perf ftrace: Add option -D/--delay to delay tracing
authorChangbin Du <changbin.du@gmail.com>
Sat, 8 Aug 2020 02:31:38 +0000 (10:31 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Aug 2020 12:34:05 +0000 (09:34 -0300)
commit6555c2f6db2196ef1b6d7149e7d342d0ba2ec57e
tree8947f6bf842991b0c7af88b5cf4e77c087a939b4
parenta8f87a5cb466888bb70330b9ba55cdc0b9a1c20e
perf ftrace: Add option -D/--delay to delay tracing

This adds an option '-D/--delay' to allow us to start tracing some times
later after workload is launched.

Signed-off-by: Changbin Du <changbin.du@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
Link: http://lore.kernel.org/lkml/20200808023141.14227-16-changbin.du@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-ftrace.txt
tools/perf/builtin-ftrace.c