]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf test vfs_getname: Look for alternative line where to collect the pathname
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Aug 2024 18:57:33 +0000 (15:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Aug 2024 21:07:20 +0000 (18:07 -0300)
commita68080e1a21b3183ee804ae05726f6103e322348
tree75f2c0cb51de8803f57c124664e07548ea12e0bc
parent150ca9ccc4e94eaa07b9d3e07f45fec842b68a78
perf test vfs_getname: Look for alternative line where to collect the pathname

The getname_flags() routine changed recently and thus the place where we
were getting the pathname is not probeable anymore, albeit still
present, so use the next line for that, before:

  root@number:/home/acme/git/perf-tools-next# perf test vfs_getname
   91: Add vfs_getname probe to get syscall args filenames             : FAILED!
   93: Use vfs_getname probe to get syscall args filenames             : FAILED!
  126: Check open filename arg using perf trace + vfs_getname          : FAILED!
  root@number:/home/acme/git/perf-tools-next#

Now tests 91 and 126 are passing, some more investigation is needed for
test 93, that continues to fail.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/lib/probe_vfs_getname.sh