]> asedeno.scripts.mit.edu Git - linux.git/commit
perf trace: Allow allocating sc->arg_fmt even without the syscall tracepoint
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 17:32:11 +0000 (14:32 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Jul 2017 12:55:52 +0000 (09:55 -0300)
commit5e58fcfaf4c60795c241be739ad55c519d7f2aaa
tree6f71b6d541af77fa523258557dda5f376ce8eaec
parentd57da8c9a5e11e7786931cfa1fd744969f530b2e
perf trace: Allow allocating sc->arg_fmt even without the syscall tracepoint

At least "clone" doesn't have (enter, exit) entries tracefs/events/syscalls/,
but we can provide a syscall_fmt and use it instead, as will be done for
"clone" in the next cset.

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