diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-11-16 18:06:24 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-17 01:16:50 -0500 |
commit | 35039eb6b199749943547c8572be6604edf00229 (patch) | |
tree | 32a425f542169fa581b18ec0af5e787ac6ab3385 /arch/x86/tools/distill.awk | |
parent | d65ff75fbe6f8ac7c17f18e4108521898468822c (diff) |
x86: Show symbol name if insn decoder test failed
Show symbol name if insn decoder test find a difference.
This will help us to find out where the issue is.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
LKML-Reference: <20091116230624.5250.49813.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/tools/distill.awk')
-rw-r--r-- | arch/x86/tools/distill.awk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/tools/distill.awk b/arch/x86/tools/distill.awk index d433619bb866..c13c0ee48ab4 100644 --- a/arch/x86/tools/distill.awk +++ b/arch/x86/tools/distill.awk | |||
@@ -15,6 +15,11 @@ BEGIN { | |||
15 | fwait_str="9b\tfwait" | 15 | fwait_str="9b\tfwait" |
16 | } | 16 | } |
17 | 17 | ||
18 | /^ *[0-9a-f]+ <[^>]*>:/ { | ||
19 | # Symbol entry | ||
20 | printf("%s%s\n", $2, $1) | ||
21 | } | ||
22 | |||
18 | /^ *[0-9a-f]+:/ { | 23 | /^ *[0-9a-f]+:/ { |
19 | if (split($0, field, "\t") < 3) { | 24 | if (split($0, field, "\t") < 3) { |
20 | # This is a continuation of the same insn. | 25 | # This is a continuation of the same insn. |