]> asedeno.scripts.mit.edu Git - linux.git/commit
perf augmented_raw_syscalls: Move reading filename to the loop
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Jun 2019 19:04:34 +0000 (16:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 12:48:55 +0000 (09:48 -0300)
commit602bce09fb43ca6fc41f1bdcba155b839b5e7f38
treef58db6a17aa5bf2f329ed88713440ef1c8441e56
parentdeaf4da48a67f73eb7d5d1802c14eaf58d33f2da
perf augmented_raw_syscalls: Move reading filename to the loop

Almost there, next step is to copy more than one filename payload.

Probably to read syscall arg structs, etc we'll need just a variation of
this that will decide what to use, if probe_read_str() or plain
probe_read for structs, i.e. fixed size.

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