perf augmented_raw_syscalls: Move the probe_read_str to a separate function
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Jun 2019 18:31:28 +0000 (15:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 12:47:58 +0000 (09:47 -0300)
commit0c95a7ff76fb1c5bb614e6ee438fce06d1b957c8
tree82fc75ec89b522e36ca62f5991aa4cf726ffe265
parent4cae8675ea798b141ccdeea0a5b3f46a1e4605eb
perf augmented_raw_syscalls: Move the probe_read_str to a separate function

One more step into copying multiple filenames to support syscalls like
rename*.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Brendan Gregg <brendan.d.gregg@gmail.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-xdqtjexdyp81oomm1rkzeifl@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/examples/bpf/augmented_raw_syscalls.c