]> xenbits.xensource.com Git - xen.git/commit
xen/tools: tracing: credits can go negative, so use int.
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 18 Jan 2017 11:32:21 +0000 (12:32 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 1 Feb 2017 14:35:55 +0000 (14:35 +0000)
commitbd3f7a557abb05bc20d70ac2ec7dfb35458db252
tree6a13f5e5347c2ee7940423b0f7731391afab34c1
parent3af86727b8204eee3ba8b280fb4815d21e0f86f1
xen/tools: tracing: credits can go negative, so use int.

For Credit2, in both the trace records, inside Xen,
and in their parsing, in xenalyze.

In fact, as it is quite a bit better, in order to
understand how much negative credits have gone for
a certain vCPU, to see an actual negative number,
as compared to a wrapped around unsigned!

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
tools/xentrace/xenalyze.c
xen/common/sched_credit2.c