The DTrace utility tries to open the fasttrap provider device file when USDT
probes are being used, and due to the open function returning -EAGAIN, the
DTrace utility would report that the pid provider is unavailable because the
resource is temporarily unavailable. The function now correctly returns 0.
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
static int fasttrap_open(struct inode *inode, struct file *file)
{
- return -EAGAIN;
+ return 0;
}
static int fasttrap_close(struct inode *inode, struct file *file)