trace: allow for different sub-classes of TRC_PV_* tracepoints
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 3 Oct 2012 10:10:33 +0000 (11:10 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 3 Oct 2012 10:10:33 +0000 (11:10 +0100)
commit4e6967a47ad4caa3af3ada3045fb278a53fd202b
treedb713235c13e9dae0c2ba2718b753d015948a149
parent4efa12d402e6facff4d553cbe5dfbd80cc6e59cd
trace: allow for different sub-classes of TRC_PV_* tracepoints

We want to add additional sub-classes for TRC_PV tracepoints and to be
able to only capture these new sub-classes.  This cannot currently be
done as the existing tracepoints all use a sub-class of 0xf.

So, redefine the PV events to use a new sub-class.  All the current
tracepoints are tracing entry points to the hypervisor so the
sub-class is named TRC_PV_ENTRY.

This change does not affect xenalyze as that only looks at the main
class and the event number and does not use the sub-class field.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
tools/xentrace/formats
xen/include/public/trace.h