OSDN Git Service

perf trace: Add the syscall_arg_fmt pointer to syscall_arg
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Oct 2019 17:52:30 +0000 (14:52 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Oct 2019 15:22:18 +0000 (12:22 -0300)
commit888ca854e275fcfbb13206d32bb01c0576fc5546
tree8ad87903cdef096d2140e3106b5d953f8db1b025
parent3e0c9b2cfaed25599a0a5cbd40e37871bdb10523
perf trace: Add the syscall_arg_fmt pointer to syscall_arg

So that the scnprintf beautifiers can access it, as will be the case
with the char array one in the following csets, that needs to know
the number of elements in an array.

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