perf trace: Move some scnprintf methods from syscall to syscall_arg_fmt
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Oct 2019 14:30:41 +0000 (11:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Oct 2019 15:22:18 +0000 (12:22 -0300)
commit3e0c9b2cfaed25599a0a5cbd40e37871bdb10523
treecd556a70edf38d5a8b21ff87159237873f0c3912
parent947b843cf52a53f6b35aa1406e11884291f41597
perf trace: Move some scnprintf methods from syscall to syscall_arg_fmt

Since all they operate on is on a syscall_arg_fmt instance, so move them
to allow use it from the upcoming tracepoint fprintf routine.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-ynttrs1l75f0x9tk67spd7jd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c