perf record: Add --dry-run option to check cmdline options
authorWang Nan <wangnan0@huawei.com>
Thu, 16 Jun 2016 08:02:41 +0000 (08:02 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 21 Jun 2016 16:18:35 +0000 (13:18 -0300)
commit0aab21363ffa66d6e7340bc50cc5bfae865fd1a6
tree5e716031fc08a0d62d7213c63d149e6140069555
parentf078464925f5b5c977c1196c67cae49cd82f40ff
perf record: Add --dry-run option to check cmdline options

With '--dry-run', 'perf record' doesn't do reall recording. Combine with
llvm.dump-obj option, --dry-run can be used to help compile BPF objects
for embedded platform.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1466064161-48553-3-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c