[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] adding traces in xentrace and xenalyze?

Hi, all:

I am trying to measure the scheduling related latency using the xentrace framework. I add some macros inÂinclude/public/trace.h, using mask 0x00024000,Â
and record the overhead by modifying xen/common/schedule.c.
It compiles and runs.

However, I am not sure how to modify the xenalyze to show the data. I tried the -a option, seems the new added data is not shown. (but other data works fine). Could someone kindly give some pointers to me?

I also tried the xentrace_format to dump the raw data, it says:

[xisisu@localhost gedf]$ xentrace_format busy.binÂ
Traceback (most recent call last):
 File "/usr/bin/xentrace_format", line 85, in <module>
  defs = read_defs(arg[0])
 File "/usr/bin/xentrace_format", line 54, in read_defs
  defs[str(eval(m.group(1)))] = m.group(2)
 File "<string>", line 1
SyntaxError: invalid syntax

Does any one know how to fix this?

Thanks very much!


Sisu Xi, PhD Candidate

Department of Computer Science and Engineering
Campus Box 1045
Washington University in St. Louis
One Brookings Drive
St. Louis, MO 63130
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.