aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-03-17 18:54:44 +0100
committerOleg Nesterov <oleg@redhat.com>2013-04-04 13:57:03 +0200
commitf281769e81b49840f1857f6dfac049350e678350 (patch)
tree325e53ee508463f95d2be119c9afa45fe3e45b5e /tools/perf/scripts/python
parentMerge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-f281769e81b49840f1857f6dfac049350e678350.tar.gz
linux-f281769e81b49840f1857f6dfac049350e678350.zip
uprobes: Use file_inode()
Cleanup. Now that we have f_inode/file_inode() we can use it instead of vm_file->f_mapping->host. This should not make any difference for uprobes, but in theory this change is more correct. We use this inode as a key, to compare it with uprobe->inode set by uprobe_register(inode), and the caller uses d_inode. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions