From: Olaf Hering Subject: [PATCH] xentrace: update __trace_var comment Date: Sun, 17 Jul 2011 17:28:14 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: George Dunlap List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Olaf Hering # Date 1310916192 -7200 # Node ID bb2b4d278c248211017bc3ec78d1c9f8503df43f # Parent fbb448cf5cba5f441ad94f7783a0a1394fd638f9 xentrace: update __trace_var comment Signed-off-by: Olaf Hering diff -r fbb448cf5cba -r bb2b4d278c24 xen/common/trace.c --- a/xen/common/trace.c +++ b/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)