All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlo Bertoldi <mcbain@tiscali.it>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: Modifying xentop
Date: Mon, 26 May 2008 10:10:50 +0200	[thread overview]
Message-ID: <483A708A.3080806@tiscali.it> (raw)

Hi,
  I'd like to extend xentop, so after some study I realized that I have 
to start extending libxenstat. Let's say I want to know how many 
free_pages a domain has, so I added a field in xen_sysctl_physinfo 
(include/xen/interface/sysctl.h) and one in xen_domctl_getdomaininfo 
(include/xen/interface/domctl.h). CIIW, I think the flow is like: 
libxenstat -> libxc -> xc_physinfo -> ? I think that here I've got to 
check the kernel side interface in drivers/xen/privcmd/privcmd.c but I 
can't find anything that takes care of handling some physinfo struct.
Am I completely off road here? Do I have to look into the hypervisor 
instead of the guest kernel?
Thanks,
  Carlo

-- 
È molto più bello sapere qualcosa di tutto, che sapere tutto di una cosa.

Blaise Pascal

             reply	other threads:[~2008-05-26  8:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26  8:10 Carlo Bertoldi [this message]
2008-05-26 10:07 ` Modifying xentop Atsushi SAKAI

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=483A708A.3080806@tiscali.it \
    --to=mcbain@tiscali.it \
    --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.