On 04/15/2015 09:53 AM, George Dunlap wrote:
On Tue, Apr 14, 2015 at 5:52 AM, 蒋雄伟(蒋冲) <xiongwei.ji...@alibaba-inc.com> wrote:
Hi, everyone:
There is no patch for OProfile above 0.9.5 in website
http://xenoprof.sourceforge.net/ . why? Does it mean we don’t need the patch
for OProfile user level tools if we use 0.9.5 above ?
I believe at some point the xenoprof patches were merged into
oprofile; so things may Just Work.
I don't think they ever were. The hypervisor has oprofile support but
oprofile toolstack and kernels required patches and these patches must
be rather out-of-date. I actually think (and I may be very wrong) that
last linux patch was before 3.0 was released.
But there hasn't been a lot of maintenance of the xenoprof code in
general -- Boris, are there any resources / instructions for how to
use the perf stuff you've been working on? Would that be a better
route to go down than trying to learn about oprofile?
Porting xenoprofile to a recent Linux tree may be somewhat painful. I
did it last a couple of year ago and did not particularly enjoy it, to
be honest.
As for perf, the hypervisor can be updated with patches from a recent
post, for example
http://lists.xenproject.org/archives/html/xen-devel/2015-04/msg00878.html.
I haven't posted Linux patches but I probably should publish them in a
public tree. I can provide them as a tarball separately in the meantime,
if there is interest. The perf toolstack changes (essentially to map
addresses to symbols for hypervisor) are stuck at about linux 3.17
timeframe, I haven't updated them since then.
-boris
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel