perf trace: Extract the comm/tid printing for syscall enter
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 21 Aug 2018 14:40:09 +0000 (11:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Aug 2018 18:52:19 +0000 (15:52 -0300)
commit6dcbd212ff4988d8e6caa0b6700bd1c1d317dc02
tree63816ef0d39c8eeed1a0d84d46a00228e71a45f0
parent1cdf618f23867dd1dae58f10f1f82839f2bf73b4
perf trace: Extract the comm/tid printing for syscall enter

Will be used with augmented syscalls, where we haven't transitioned
completely to combining sys_enter_FOO with sys_exit_FOO, so we'll go
as far as having it similar to the end result, strace like, as possible.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-canomaoiybkswwnhj69u9ae4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c