perf ftrace: Add option --tid to filter by thread id
authorChangbin Du <changbin.du@gmail.com>
Sat, 8 Aug 2020 02:31:39 +0000 (10:31 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Aug 2020 12:34:52 +0000 (09:34 -0300)
commit42145d71ddf369a536940a1b0d63b9aef6468516
tree01f75dab965ce98a763a8517db7e1fa3448bf13c
parent6555c2f6db2196ef1b6d7149e7d342d0ba2ec57e
perf ftrace: Add option --tid to filter by thread id

This allows us to trace single thread instead of the whole process.

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-17-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