summaryrefslogtreecommitdiffstats
path: root/arch/x86/tools/distill.awk
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-11-16 18:06:24 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-17 07:16:50 +0100
commit35039eb6b199749943547c8572be6604edf00229 (patch)
tree32a425f542169fa581b18ec0af5e787ac6ab3385 /arch/x86/tools/distill.awk
parentd65ff75fbe6f8ac7c17f18e4108521898468822c (diff)
downloadop-kernel-dev-35039eb6b199749943547c8572be6604edf00229.zip
op-kernel-dev-35039eb6b199749943547c8572be6604edf00229.tar.gz
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.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/tools/distill.awk b/arch/x86/tools/distill.awk
index d433619..c13c0ee 100644
--- a/arch/x86/tools/distill.awk
+++ b/arch/x86/tools/distill.awk
@@ -15,6 +15,11 @@ BEGIN {
fwait_str="9b\tfwait"
}
+/^ *[0-9a-f]+ <[^>]*>:/ {
+ # Symbol entry
+ printf("%s%s\n", $2, $1)
+}
+
/^ *[0-9a-f]+:/ {
if (split($0, field, "\t") < 3) {
# This is a continuation of the same insn.
OpenPOWER on IntegriCloud