diff options
| author | Wang Nan <[email protected]> | 2015-02-10 01:34:05 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-02-18 20:50:12 +0000 |
| commit | b7e37567d080301d38a302bb93ba79d1ca446dca (patch) | |
| tree | 88fa4b505c504dcd75a80c4ed24df03804329c2c /tools/perf/util/annotate.c | |
| parent | uprobes/x86: Fix 2-byte opcode table (diff) | |
| download | kernel-b7e37567d080301d38a302bb93ba79d1ca446dca.tar.gz kernel-b7e37567d080301d38a302bb93ba79d1ca446dca.zip | |
kprobes/x86: Mark 2 bytes NOP as boostable
Currently, x86 kprobes is unable to boost 2 bytes nop like:
nopl 0x0(%rax,%rax,1)
which is 0x0f 0x1f 0x44 0x00 0x00.
Such nops have exactly 5 bytes to hold a relative jmp
instruction. Boosting them should be obviously safe.
This patch enable boosting such nops by simply updating
twobyte_is_boostable[] array.
Signed-off-by: Wang Nan <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
