Re: [BUG] uprobe: failed to work on 9pfs

2015-03-06 Thread Peter Zijlstra
On Fri, Mar 06, 2015 at 01:18:47PM +0800, He Kuang wrote: > Uprobe uses inode address to index all registered uprobes in a > rb_tree, this works well in most filesystems but failed on 9pfs. > > 9pfs allocate more than one vfs inode to the same file, the inode > address when we create uprobe is not

[BUG] uprobe: failed to work on 9pfs

2015-03-05 Thread He Kuang
Uprobe uses inode address to index all registered uprobes in a rb_tree, this works well in most filesystems but failed on 9pfs. 9pfs allocate more than one vfs inode to the same file, the inode address when we create uprobe is not same as the inode address we run later. As a result, neither perf