]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Ensure that the fasttrap device file can be opened.
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 19 Jul 2013 21:58:43 +0000 (17:58 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Fri, 19 Jul 2013 21:58:43 +0000 (17:58 -0400)
commit3460f36a6622d5788a102b02376f2c1ac71cd049
tree1279f67510305edc0102e70be251c7c154e98c26
parent01c7d7b70f05fa1cf65064a5ffdbd2f853529219
Ensure that the fasttrap device file can be opened.

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>
dtrace/fasttrap_dev.c