diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-03 19:54:53 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-11 19:06:28 +0000 |
| commit | a3534842ddd04675abc67e80432aacc01670cca8 (patch) | |
| tree | da730d57fbd8a7e0bd016a8ad3cc7a66f4cb2693 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | perf test: Make 'list' use same filtering code as main 'perf test' (diff) | |
| download | kernel-a3534842ddd04675abc67e80432aacc01670cca8.tar.gz kernel-a3534842ddd04675abc67e80432aacc01670cca8.zip | |
perf test shell: Add 'probe_vfs_getname' shell test
First perf shell test:
# perf test vfs_getname
60: Add vfs_getname probe to get syscall args filenames: Ok
#
In verbose mode:
# perf test -v vfs_getname
60: Add vfs_getname probe to get syscall args filenames:
--- start ---
test child forked, pid 19146
Added new event:
probe:vfs_getname (on getname_flags:72 with pathname=result->name:string)
You can now use it in all perf tools, such as:
perf record -e probe:vfs_getname -aR sleep 1
test child finished with 0
---- end ----
Add vfs_getname probe to get syscall args filenames: Ok
#
And if the vmlinux file is not found:
# mv ../build/v4.12.0-rc6+/vmlinux ../build/v4.12.0-rc6+/vmlinux.hidden
# perf test vfs_getname
60: Add vfs_getname probe to get syscall args filenames: Skip
#
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
