]> git.baikalelectronics.ru Git - kernel.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)
commit07dd303c4a54402ba353e4c345c4317f6a756922
treef58db6a17aa5bf2f329ed88713440ef1c8441e56
parentdb2865e09d87f98541d165b9657ebbbdd90ab7ce
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