Discussion:
[Xen-devel] Hypercall overhead measurement on Xen/ARM
Jintack Lim
2015-01-16 16:17:41 UTC
Permalink
Hi,

I'm trying to measure number of cycles for hypercalls.
I'm working on ARM v7 and v8.

Xentrace seems to be a right tool to use according to this discussion.
http://lists.xen.org/archives/html/xen-devel/2008-10/msg00480.html

However when I ran it on ARM, it gave an error.
The error is the same as in this discussion in 2014 below.
Xentrace on ARM is not supported?
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00154.html
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00206.html

Are there other tools for this purpose?

Thanks,
Jintack
Stefano Stabellini
2015-01-19 12:58:23 UTC
Permalink
Post by Jintack Lim
Hi,
I'm trying to measure number of cycles for hypercalls.
I'm working on ARM v7 and v8.
Xentrace seems to be a right tool to use according to this discussion.
http://lists.xen.org/archives/html/xen-devel/2008-10/msg00480.html
However when I ran it on ARM, it gave an error.
The error is the same as in this discussion in 2014 below.
Xentrace on ARM is not supported?
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00154.html
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00206.html
Are there other tools for this purpose?
Hello Jintack,
xentrance has not been ported to ARM yet, but it would be great to have
it!

Otherwise you can just read CNTPCT (you can call get_s_time()) at the
right places.

Cheers,

Stefano

Loading...