File 23719-xentrace_update___trace_var_comment.patch of Package xen

changeset:   23719:c2888876abd3
user:        Olaf Hering <olaf@aepfle.de>
date:        Tue Jul 19 08:22:19 2011 +0100
files:       xen/common/trace.c
description:
xentrace: update __trace_var comment

Signed-off-by: Olaf Hering <olaf@aepfle.de>


---
 xen/common/trace.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Index: xen-4.1.2-testing/xen/common/trace.c
===================================================================
--- xen-4.1.2-testing.orig/xen/common/trace.c
+++ xen-4.1.2-testing/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)
openSUSE Build Service is sponsored by