Skip to contentSkip to conversation

xentrace: update __trace_var comment

PATCH New Olaf Hering 1 participant 1 message Jul 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xentrace: update __trace_var comment

# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1310916192 -7200
# Node ID bb2b4d278c248211017bc3ec78d1c9f8503df43f # Parent fbb448cf5cba5f441ad94f7783a0a1394fd638f9
xentrace: update __trace_var comment

xen/common/trace.c +5 -5
diff -r fbb448cf5cba -r bb2b4d278c24 xen/common/trace.c
@@ -657,13 +657,13 @@ static DECLARE_SOFTIRQ_TASKLET(trace_not
                                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)