Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Systemtap works fine with chmod_common:
- ----------
- probe kernel.function("chmod_common") {
- printf("%x\n", $path->dentry)
- }
- ----------
- Systemtap returns error for chown_common:
- ----------
- probe kernel.function("chown_common") {
- printf("%x\n", $path->dentry)
- }
- ----------
- Systemtap translator/driver (version 3.0/0.166, rpm 3.0-7.el7):
- ----------
- semantic error: while processing probe kernel.function("chown_common@fs/open.c:556") from: kernel.function("chown_common")
- semantic error: unrecognized operation in DWARF expression [0] at 0 (0xfa: 65037, 0): identifier '$path' at ./test.stp:8:20
- dieoffset: 0x1af00cd from /usr/lib/debug/lib/modules/3.10.0-514.26.2.el7.x86_64/vmlinux
- function: chown_common at fs/open.c:556
- source: printf("%x\n", $path->dentry)
- ^
- Pass 2: analysis failed. [man error::pass2]
- ----------
- Systemtap translator/driver (version 3.2/0.166, commit release-3.1-225-g77dc57150b5d + changes):
- ----------
- semantic error: while processing probe kernel.function("chown_common@fs/open.c:556") from: kernel.function("chown_common")
- semantic error: unhandled DW_OP operation in DWARF expression [0] at 0 (250: 65037, 0): identifier '$path' at ./test.stp:8:20
- source: printf("%x\n", $path->dentry)
- ^
- Pass 2: analysis failed. [man error::pass2]
- ----------
- Problematic DWARF atom is 0xfa (DW_OP_GNU_parameter_ref).
- Functions definition in kernel:
- static int chown_common(struct path *path, uid_t user, gid_t group)
- static int chmod_common(struct path *path, umode_t mode)
- System:
- CentOS Linux release 7.3.1611 (Core)
- Linux 3.10.0-514.26.2.el7.x86_64
- gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement