aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/trace.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-07-19 08:22:19 +0100
committerOlaf Hering <olaf@aepfle.de>2011-07-19 08:22:19 +0100
commit923e73ce3b3fd9e08355bb76a1927212bcf00b2a (patch)
tree3dda7c43fce2c2fa57be95e4238a7f8f2d17e5b3 /xen/common/trace.c
parent22480b967b8880b17e3fc7974971a05d1a55912d (diff)
downloadxen-923e73ce3b3fd9e08355bb76a1927212bcf00b2a.tar.gz
xen-923e73ce3b3fd9e08355bb76a1927212bcf00b2a.tar.bz2
xen-923e73ce3b3fd9e08355bb76a1927212bcf00b2a.zip
xentrace: update __trace_var comment
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'xen/common/trace.c')
-rw-r--r--xen/common/trace.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xen/common/trace.c b/xen/common/trace.c
index c3ffb6d06f..8c41990b7a 100644
--- a/xen/common/trace.c
+++ b/xen/common/trace.c
@@ -657,13 +657,13 @@ static DECLARE_SOFTIRQ_TASKLET(trace_notify_dom0_tasklet,
trace_notify_dom0, 0);
/**
- * trace - Enters a trace tuple into the trace buffer for the current CPU.
+ * __trace_var - Enters a trace tuple into the trace buffer for the current CPU.
* @event: the event type being logged
- * @d1...d5: the data items for the event being logged
+ * @cycles: include tsc timestamp into trace record
+ * @extra: size of additional trace data in bytes
+ * @extra_data: pointer to additional trace data
*
- * Logs a trace record into the appropriate buffer. Returns nonzero on
- * failure, otherwise 0. Failure occurs only if the trace buffers are not yet
- * initialised.
+ * Logs a trace record into the appropriate buffer.
*/
void __trace_var(u32 event, bool_t cycles, unsigned int extra,
const void *extra_data)