[lttng-dev] [lttng-tools PATCH] Changing documentation in lttng.h

David Goulet david.goulet at polymtl.ca
Tue Feb 28 18:11:03 EST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merged thanks!

Just watch for the "title" of the patch. Please use simple present. (Here:
"Change").

Cheers
David

On 12-02-27 05:37 PM, Raphaël Beamonte wrote:
> Some functions in lttng.h are not aimed to be used only with kernel
> but with also with UST. This patch changes only the references made
> to 'kernel' to make the documentation generic.
> ---
>  include/lttng/lttng.h |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h
> index 065caee..05ba6d3 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.
>   */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJPTV8GAAoJEELoaioR9I02Yd8H/jEuipzhiCJbjld04mkqugl0
vEXDslIIXHTTxSvKzlKC49e6xA3X+Tb1j5gpVKXxFO6mElI8vlPtnpHuKw4GxoB9
Pl54nKbjg6Al5d4ZNY1hMteW/4yylc/qwDuk7vYYkz20oEtb1QobaOqn3lCHd1ES
ONgnxdFSCXP02B4kCDcN5sfQLxYcSNVnHENVbCzHW1WQgEQFaiPA92WhE9bmHv5U
6bZOPSPxU51ukSc+x5zMSbPAzIhlluDpik+wfzZ/55WKxhb+u3pmYCFeMDjAPbTC
TzT+DYdqEXu/VJOdDY17WMVOg7aZm8p/P75bgYd637QKmTlgsSw5ctkOY98ZS0Y=
=HNkx
-----END PGP SIGNATURE-----



More information about the lttng-dev mailing list