All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Lakshitha Harshan <harshan.dll@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Memory Mapping
Date: Fri, 6 May 2011 11:31:11 -0400	[thread overview]
Message-ID: <20110506153111.GA6950@dumpdata.com> (raw)
In-Reply-To: <BANLkTimE7mw_+ckunvAwpJJvVNSOBT6UrQ@mail.gmail.com>

On Fri, May 06, 2011 at 08:20:18PM +0530, Lakshitha Harshan wrote:
> Hi all,
> 
> I want to get the access to task structs in domUs to get the memory
> addresses of code segments in each process. So how do I read/map the data
> correctly which I get through xc_map_foreign_range or  xc_map_foreign_batch?

You mean, how do I identify that the blob of memory you mapped is
a task struct? I would suggest you look in the debuggers (gdbsx for example)
and see how they figure this out.

  reply	other threads:[~2011-05-06 15:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 14:50 Memory Mapping Lakshitha Harshan
2011-05-06 15:31 ` Konrad Rzeszutek Wilk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-16 16:58 Memory mapping Frederic Beck
2009-02-18 14:35 ` Frederic Beck
2005-05-16 19:55 Xeno-unstable crashing at boot Ian Pratt
2005-05-17 11:52 ` Mike Wray
2005-05-17 13:26   ` Keir Fraser
2005-05-17 16:01     ` memory mapping Grzegorz Milos
2005-05-17 16:09       ` Grzegorz Milos
2004-12-17  4:54 Srividya Ramanathan
2001-11-20 15:32 Memory mapping Siders, Keith
2001-11-19 16:18 Siders, Keith
2001-11-20  0:15 ` Keith Owens

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=20110506153111.GA6950@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=harshan.dll@gmail.com \
    --cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.