xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ahmad Hassan <ahmad.hassan@gmail.com>
To: Andrew Evans <andrewe@yahoo-inc.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: XENOPROF Problem
Date: Thu, 11 Feb 2010 23:52:58 +0000	[thread overview]
Message-ID: <d47704fc1002111552m6707a338pf4a951e6ffad5a23@mail.gmail.com> (raw)
In-Reply-To: <4B749528.9060601@yahoo-inc.com>


[-- Attachment #1.1: Type: text/plain, Size: 1620 bytes --]

Hi Andrew,

Thanks for the message.

That looks right to me. You also need Xenoprof support in your dom0 kernel.
> If you're using one of the kernels from the Xen source tree and you can
> `modprobe oprofile` successfully, you should be ok.
>

Yes I loaded the oprofile as "modprobe oprofile". It loads successfully.

>
>
> Dom0: opcontrol --start-daemon --event= CPU_IO_REQUESTS_TO_MEMORY_IO:1000000
> --xen=/boot/xen-syms-3.4.1   --vmlinux=/boot/vmlinux  --passive-domains=1
> --passive-images=/boot/vmlinux
> *At the above command, I get the warning as :
> /dev/oprofile/passive-domains Permission Denied* but daemon starts
> eventually
>
>
If i start the Dom0 daemon for passive domains using the above command  the
the following exact output I get

*At the above command, I get the warning as : /dev/oprofile/passive-domains
Permission Denied*
*Using* *2*.*6*+ *OProfile* *kernel* interface.
*Using* *log* *file* /*var*/*lib*/*oprofile*/*oprofiled*.*log*
*Daemon* *started*.
*Profiler* *running*

Yes I am running it as a root. If I look at the * /dev/oprofile the I don't
find any file name passive-domains.

Opreport -l shows the following error:

* "opreport error: No sample file found: try running opcontrol --dump or
specfiy a session containing sample file"


When I try active-domains option then inside DomU, I get the following error
while starting the daemon:

*"You cannot specify any performance counter events because OProfile is in
timer mode.*"

Why the above error appears for active domains? Do I need to pass "lapic"
parameter in the grub file of dom0?

Thanks for the help

Best Regards, Hassan

[-- Attachment #1.2: Type: text/html, Size: 2990 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2010-02-11 23:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d47704fc1002111337u6e7cd33ne22ed14affc1cb7b@mail.gmail.com>
2010-02-11 23:39 ` XENOPROF Problem Andrew Evans
2010-02-11 23:52   ` Ahmad Hassan [this message]
2010-02-12  3:38   ` Santos, Jose Renato G
2006-05-23  5:49 xenoprof problem Xin Zhao
2006-05-23 16:24 ` Santos, Jose Renato G

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=d47704fc1002111552m6707a338pf4a951e6ffad5a23@mail.gmail.com \
    --to=ahmad.hassan@gmail.com \
    --cc=andrewe@yahoo-inc.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 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).