summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-04-19 14:03:05 +0200
committerOleg Nesterov <oleg@redhat.com>2014-04-30 19:10:33 +0200
commit2ae1f49ae1978fedb6ad607e1f8b084aa9752f95 (patch)
tree78eef5eaf138afefcf47516d2317686392f33c1d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent73175d0d19657ec132cc24e8cf0e341e73c54868 (diff)
uprobes/x86: Add is_64bit_mm(), kill validate_insn_bits()
1. Extract the ->ia32_compat check from 64bit validate_insn_bits() into the new helper, is_64bit_mm(), it will have more users. TODO: this checks is actually wrong if mm owner is X32 task, we need another fix which changes set_personality_ia32(). TODO: even worse, the whole 64-or-32-bit logic is very broken and the fix is not simple, we need the nontrivial changes in the core uprobes code. 2. Kill validate_insn_bits() and change its single caller to use uprobe_init_insn(is_64bit_mm(mm). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Jim Keniston <jkenisto@us.ibm.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions