linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: "H. Peter Anvin" <hpa@linux.intel.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Josh Poimboeuf <jpoimboe@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Vaibhav Nagarnaik <vnagarnaik@google.com>
Subject: Re: [RFC][PATCH] tracing/syscalls: Have ia32 compat syscalls show raw format
Date: Tue, 12 Feb 2013 13:51:21 -0500	[thread overview]
Message-ID: <1360695081.21867.73.camel@gandalf.local.home> (raw)
In-Reply-To: <1360694555.21867.69.camel@gandalf.local.home>

On Tue, 2013-02-12 at 13:42 -0500, Steven Rostedt wrote:

> Really, I converted:
> 
>              lls-1127  [005] d...   936.409188: sys_recvfrom(fd: 0, ubuf: 4d560fc4, size: 0, flags: 8048034, addr: 8, addr_len: f7700420)
>              lls-1127  [005] d...   936.409190: sys_recvfrom -> 0x8a77000
>              lls-1127  [005] d...   936.409211: sys_lgetxattr(pathname: 0, name: 1000, value: 3, size: 22)
>              lls-1127  [005] d...   936.409215: sys_lgetxattr -> 0xf76ff000
>              lls-1127  [005] d...   936.409223: sys_dup2(oldfd: 4d55ae9b, newfd: 4)
>              lls-1127  [005] d...   936.409228: sys_dup2 -> 0xfffffffffffffffe
> 
> To:
>              lls-1100  [005] d...    97.051616: sys_compat_syscall(NR: 2d, arg1: 0, arg2: 4d560fc4, arg3: 0, arg4: 8048034, arg5: 8, arg6: f77bb420)

0x2d = 45

>              lls-1100  [005] d...    97.051619: sys_compat_syscall -> 0x91fd000
>              lls-1100  [005] d...    97.051640: sys_compat_syscall(NR: c0, arg1: 0, arg2: 1000, arg3: 3, arg4: 22, arg5: ffffffff, arg6: 0)

0xc0 = 192

>              lls-1100  [005] d...    97.051644: sys_compat_syscall -> 0xf77ba000
>              lls-1100  [005] d...    97.051652: sys_compat_syscall(NR: 21, arg1: 4d55ae9b, arg2: 4, arg3: 4d560fc4, arg4: 4d55ae9b, arg5: 0, arg6: fff3ee78)

0x21 = 33

>              lls-1100  [005] d...    97.051658: sys_compat_syscall -> 0xfffffffffffffffe
> 

syscall nr      |   ia32 syscall    | x86_64syscall
----------------+-------------------+--------------
  45            |    sys_brk        | sys_recvfrom
  192           |    sys_mmap2      | sys_lgetxattr
  33            |    sys_access     | sys_dup2

Makes more sense now doesn't it.

-- Steve



  reply	other threads:[~2013-02-12 18:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12 18:01 [RFC][PATCH] tracing/syscalls: Have ia32 compat syscalls show raw format Steven Rostedt
2013-02-12 18:11 ` H. Peter Anvin
2013-02-12 18:42   ` Steven Rostedt
2013-02-12 18:51     ` Steven Rostedt [this message]
2013-02-12 19:39     ` H. Peter Anvin
2013-02-12 19:54       ` H. Peter Anvin
2013-02-12 21:18         ` [RFC][PATCH v2] tracing/syscalls: Allow archs to ignore tracing compat syscalls Steven Rostedt
2013-02-12 21:33           ` H. Peter Anvin
2013-02-12 21:42             ` Steven Rostedt
2013-02-12 22:34               ` H. Peter Anvin
2013-02-20 13:55           ` [tip:perf/urgent] " tip-bot for Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360695081.21867.73.camel@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=fweisbec@gmail.com \
    --cc=hpa@linux.intel.com \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=vnagarnaik@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).