aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-06-15 17:43:42 +0200
committerIngo Molnar <[email protected]>2012-06-16 09:10:45 +0200
commitd436615e60c386095dac4a9bf72b08868d2a7564 (patch)
treed69e29a80512f13cb1ce3f302cd865fd35709ddf /tools/perf/scripts/python/check-perf-trace.py
parentc5784de2b351fe871bb57487878f7fc7ec5b075c (diff)
uprobes: Copy_insn() shouldn't depend on mm/vma/vaddr
1. copy_insn() doesn't need "addr", it can use uprobe->offset. Remove this argument. 2. Change copy_insn/__copy_insn to accept "struct file*" instead of vma. copy_insn() is called only once and mm/vma/vaddr are random, it shouldn't depend on them. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Srikar Dronamraju <[email protected]> Acked-by: Ananth N Mavinakayanahalli <[email protected]> Cc: Anton Arapov <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions