]> xenbits.xensource.com Git - xen.git/commit
tools/xenalyze: Get rid of extraneous data structure
authorGeorge Dunlap <george.dunlap@citrix.com>
Mon, 8 Aug 2016 09:42:49 +0000 (10:42 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 9 Aug 2016 14:44:37 +0000 (15:44 +0100)
commit280e8300b47ca92084bac987fedb145f6f559bf0
tree159a1aef233e511aee93d364b6fcc770290655e7
parentbd82c6cc4f40ee5ddb52237f3beba85b9f4cabfa
tools/xenalyze: Get rid of extraneous data structure

The only difference between event_cycle_summary and cycle_summary was
that the former has a separate counter for "events" which had
zero-cycle events.  But a lot of the code dealing with them had to be
duplicated with slightly different fields.

Remove event_cycle_summary, add an "event_count" field to
cycle_symmary, and use cycle_summary for everything.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xentrace/xenalyze.c