# The return probe appears to cause this reproducer to crash # kprobe.function("__vfs_read").return causes a read fault # comment out the kprobe.function("__vfs_read").return and the # script runs without error probe kprobe.function("__vfs_read").return, kprobe.function("__vfs_read") { # Skip the call if new_sync_read() wouldn't be called. file = pointer_arg(1) if (file) { print_regs(); if(@cast(file, "file")->f_op->read) { next } } exit() }