perf trace: Allow specifying number of syscall args for tracepointless syscalls
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 18:08:14 +0000 (15:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Jul 2017 12:55:53 +0000 (09:55 -0300)
commit332337dafc98d88561bf3730f80c59cc93f089e1
tree22559a55f7ea24fef973965b5134347b7d6fb68c
parent325f5091b0da5a7d8d190262661af17d75bee262
perf trace: Allow specifying number of syscall args for tracepointless syscalls

When we don't have syscalls:sys_{enter,exit}_NAME, we had to resort to
dumping all the 6 syscall arguments, fix it by providing that info for
such syscalls, like 'clone'.

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: http://lkml.kernel.org/n/tip-dfq1jtrxj8dqvqoeqqpr3slu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c