diff options
author | Masami Hiramatsu <[email protected]> | 2011-10-20 23:01:09 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-11-10 12:38:51 +0100 |
commit | 1ec454baf1245df4fdb5dae728da3363630ce6de (patch) | |
tree | 88bf565984db893b02bfdcae81b3a1d7d351d123 /lib/debugobjects.c | |
parent | 19e0bafc36abd84a5b4d7c7745b78a6f4626e944 (diff) |
x86, perf: Add a build-time sanity test to the x86 decoder
Add a sanity test of x86 insn decoder against a stream
of randomly generated input, at build time.
This test is also able to reproduce any bug that might
trigger by allowing the passing of random-seed and
iteration-number to the test, or by passing input
which has invalid byte code.
Changes in V2:
- Code cleanup.
- Show how to reproduce the error by insn_sanity test.
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Andi Kleen <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Andi Kleen <[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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions