diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-12-03 11:34:27 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-12-03 18:48:14 +0100 |
| commit | d20ee9bd98f1a0e98c2d02da825acf3628562e8d (patch) | |
| tree | 6f4cfeb81e6a6beff7ffc87e6b55ae489f77d1bf /executor | |
| parent | a715d760ae486407f27f62815428da011d06e8dd (diff) | |
tools: add fops_probe utility
fops_probe utility helps to understand what file_operations callbacks
are attached to a particular file. Requries KCOV and KALLSYMS.
Build with:
g++ tools/fops_probe/fops_probe.cc -Wall -static -o fops_probe
Then copy the binary to target machine and run as:
./fops_probe /dev/fb0
You should see output similar to:
ffffffff81bcccb9 vfs_read
................
ffffffff83af85c3 fb_read
ffffffff83b52af5 cirrusfb_sync
ffffffff81bcd219 vfs_write
................
ffffffff83af7fe2 fb_write
ffffffff83b52af5 cirrusfb_sync
ffffffff81c1b745 do_vfs_ioctl
ffffffff83af7ea9 fb_ioctl
ffffffff81a4ea44 do_mmap
................
ffffffff83af716c fb_mmap
which allows to understand what callbacks are associated with /dev/fb0.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
