diff options
| author | Josh Poimboeuf <[email protected]> | 2019-07-18 01:36:48 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-07-18 19:01:07 +0000 |
| commit | e10cd8fe8ddfd28a172d2be57ae0e90c7f752e6a (patch) | |
| tree | 819c6225b6167c23c52a230860eb4424157146d9 /tools/perf/scripts/python/stat-cpi.py | |
| parent | objtool: Track original function across branches (diff) | |
| download | kernel-e10cd8fe8ddfd28a172d2be57ae0e90c7f752e6a.tar.gz kernel-e10cd8fe8ddfd28a172d2be57ae0e90c7f752e6a.zip | |
objtool: Refactor function alias logic
- Add an alias check in validate_functions(). With this change, aliases
no longer need uaccess_safe set.
- Add an alias check in decode_instructions(). With this change, the
"if (!insn->func)" check is no longer needed.
- Don't create aliases for zero-length functions, as it can have
unexpected results. The next patch will spit out a warning for
zero-length functions anyway.
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Nick Desaulniers <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/26a99c31426540f19c9a58b9e10727c385a147bc.1563413318.git.jpoimboe@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
