perf trace: Add a prefix member to the strarray class
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Dec 2018 18:08:40 +0000 (15:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Dec 2018 19:07:42 +0000 (16:07 -0300)
commit2e3d7fac9db5e80d1cc26bb1453b85245c26d657
tree8dcae752eae3df3f51d81a2b0af78679cbbbc23a
parent721f5326fb35dcba18ee4d9ef2b32394f86d403e
perf trace: Add a prefix member to the strarray class

So that the user, in an upcoming patch, can select printing it to get
the full string as used in the source code, not one with a common prefix
chopped off so as to make the output more compact.

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>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-zypczc88gzbmeqx7b372s138@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
12 files changed:
tools/perf/builtin-trace.c
tools/perf/trace/beauty/beauty.h
tools/perf/trace/beauty/fcntl.c
tools/perf/trace/beauty/ioctl.c
tools/perf/trace/beauty/kcmp.c
tools/perf/trace/beauty/mmap.c
tools/perf/trace/beauty/mount_flags.c
tools/perf/trace/beauty/pkey_alloc.c
tools/perf/trace/beauty/prctl.c
tools/perf/trace/beauty/renameat.c
tools/perf/trace/beauty/sockaddr.c
tools/perf/trace/beauty/socket.c