From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24016 invoked by alias); 11 May 2009 14:35:06 -0000 Received: (qmail 23980 invoked by uid 22791); 11 May 2009 14:35:03 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 May 2009 14:34:55 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n4BEYo28011475 for ; Mon, 11 May 2009 10:34:51 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4BEYmwa006430 for ; Mon, 11 May 2009 10:34:48 -0400 Received: from [10.16.10.94] (vpn-10-94.bos.redhat.com [10.16.10.94]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4BEYjee017652; Mon, 11 May 2009 10:34:45 -0400 Message-ID: <4A0837FC.9080006@redhat.com> Date: Mon, 11 May 2009 14:35:00 -0000 From: Masami Hiramatsu User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Christoph Hellwig CC: Ingo Molnar , Steven Rostedt , lkml , systemtap , kvm , Jim Keniston , "H. Peter Anvin" , Ananth N Mavinakayanahalli , Frederic Weisbecker , Andi Kleen , Vegard Nossum , Avi Kivity Subject: Re: [PATCH -tip v5 1/7] x86: instruction decorder API References: <20090509004829.5505.38720.stgit@localhost.localdomain> <20090509004841.5505.48140.stgit@localhost.localdomain> <20090511092731.GA23875@infradead.org> In-Reply-To: <20090511092731.GA23875@infradead.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00540.txt.bz2 Christoph Hellwig wrote: > On Fri, May 08, 2009 at 08:48:42PM -0400, Masami Hiramatsu wrote: >> Add x86 instruction decoder to arch-specific libraries. This decoder >> can decode x86 instructions used in kernel into prefix, opcode, modrm, >> sib, displacement and immediates. This can also show the length of >> instructions. > > Could also be used to implement a simple disasembler for OOPS output ala > arch/s390/kernel/dis.c? Yes, but as you may know, it's not so "simple"...especially show it as "gas-like(a.k.a. at&t)" expression :-) Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America) Inc. Software Solutions Division e-mail: mhiramat@redhat.com