perf ftrace: Trace system wide if no target is given
authorChangbin Du <changbin.du@gmail.com>
Sun, 10 May 2020 15:06:10 +0000 (23:06 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 May 2020 13:03:27 +0000 (10:03 -0300)
commit452b0d160ad150c1b97982e438a2a69571d320f3
tree7c2075ad54c6dc0044ff144b4aec8fefb2364136
parentffe7428e6dc85c66026a76123f02348dac335454
perf ftrace: Trace system wide if no target is given

This align ftrace to other perf sub-commands that if no target specified
then we trace all functions.

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