From c8f61fc6a881c402df23844b5311d3ff0178df79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Beamonte?= Date: Mon, 27 Feb 2012 17:37:18 -0500 Subject: [PATCH] Fix documentation in lttng.h Some functions in lttng.h are not aimed to be used only for kernel but also for UST. This patch changes only the references made to 'kernel' to make the documentation generic in the comments. (closes #126) Signed-off-by: David Goulet --- include/lttng/lttng.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 065caee91..05ba6d3a8 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -416,7 +416,7 @@ extern int lttng_add_context(struct lttng_handle *handle, const char *channel_name); /* - * Create or enable a kernel event (or events) for a channel. + * Create or enable an event (or events) for a channel. * * If the event you are trying to enable does not exist, it will be created, * else it is enabled. @@ -427,14 +427,14 @@ extern int lttng_enable_event(struct lttng_handle *handle, struct lttng_event *ev, const char *channel_name); /* - * Create or enable a kernel channel. + * Create or enable a channel. * The channel name cannot be NULL. */ extern int lttng_enable_channel(struct lttng_handle *handle, struct lttng_channel *chan); /* - * Disable kernel event(s) of a channel and domain. + * Disable event(s) of a channel and domain. * * If event_name is NULL, all events are disabled. * If channel_name is NULL, the default channel is used (channel0). @@ -443,7 +443,7 @@ extern int lttng_disable_event(struct lttng_handle *handle, const char *name, const char *channel_name); /* - * Disable kernel channel. + * Disable channel. * * The channel name cannot be NULL. */ -- 2.34.1