]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Fixes for tracepoint cleanup.
authorKris Van Hees <kris.van.hees@oracle.com>
Wed, 22 May 2013 23:25:48 +0000 (19:25 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Wed, 22 May 2013 23:25:48 +0000 (19:25 -0400)
commit08465d1dcb94de00bf55e79eb4550d96924f69ca
treef9e3f1aecc1228b818b5d9ae8eeffd3019046e7d
parent0a444e4cb55690cfbcf4052662c2b944ab9445f2
Fixes for tracepoint cleanup.

Various fixes to handle tracepoint cleanup.  It is important to note that it is
most common that USDT providers will be cleaned up (asynchronously) when the
process/task they relate to is already gone.  We therefore cannot use a (pid,
addr) pair to identify the tracepoint for removal.  The new implementation
stores the (inode, offset) pair calculated right before registering the uprobe,
so that we can use that same pair again when unregistering.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/fasttrap_dev.c