lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH lttng-tools] Typo: occured -> occurred
       [not found] <20191018214006.6126-1-mjeanson@efficios.com>
@ 2019-10-19  3:26 ` Jérémie Galarneau
  0 siblings, 0 replies; 6+ messages in thread
From: Jérémie Galarneau @ 2019-10-19  3:26 UTC (permalink / raw)
  To: Michael Jeanson; +Cc: lttng-dev, jgalar

Merged in master and stable-2.11.

Thanks!
Jérémie

On Fri, Oct 18, 2019 at 05:40:06PM -0400, Michael Jeanson wrote:
> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
>  include/lttng/session.h                  | 2 +-
>  src/bin/lttng-sessiond/cmd.c             | 2 +-
>  src/bin/lttng-sessiond/rotation-thread.c | 4 ++--
>  src/bin/lttng-sessiond/session.c         | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/lttng/session.h b/include/lttng/session.h
> index 7e328b625..9b2d7eb41 100644
> --- a/include/lttng/session.h
> +++ b/include/lttng/session.h
> @@ -163,7 +163,7 @@ extern int lttng_destroy_session(const char *name);
>   * an lttng_destruction_handle which can be used to wait for the completion
>   * of the session's destruction. The lttng_destroy_handle can also be used
>   * obtain the status and archive location of any implicit session
> - * rotation that may have occured during the session's destruction.
> + * rotation that may have occurred during the session's destruction.
>   *
>   * Returns LTTNG_OK on success. The returned handle is owned by the caller
>   * and must be free'd using lttng_destruction_handle_destroy().
> diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c
> index 71c0789b3..a164cffc0 100644
> --- a/src/bin/lttng-sessiond/cmd.c
> +++ b/src/bin/lttng-sessiond/cmd.c
> @@ -4983,7 +4983,7 @@ int cmd_rotate_get_info(struct ltt_session *session,
>  
>  	switch (rotation_state) {
>  	case LTTNG_ROTATION_STATE_NO_ROTATION:
> -		DBG("Reporting that no rotation has occured within the lifetime of session \"%s\"",
> +		DBG("Reporting that no rotation has occurred within the lifetime of session \"%s\"",
>  				session->name);
>  		goto end;
>  	case LTTNG_ROTATION_STATE_EXPIRED:
> diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c
> index d12bd9d01..791b0425f 100644
> --- a/src/bin/lttng-sessiond/rotation-thread.c
> +++ b/src/bin/lttng-sessiond/rotation-thread.c
> @@ -385,7 +385,7 @@ void check_session_rotation_pending_on_consumers(struct ltt_session *session,
>  				&exists_status);
>  		if (ret) {
>  			pthread_mutex_unlock(socket->lock);
> -			ERR("Error occured while checking rotation status on consumer daemon");
> +			ERR("Error occurred while checking rotation status on consumer daemon");
>  			goto end;
>  		}
>  
> @@ -414,7 +414,7 @@ skip_ust:
>  				&exists_status);
>  		if (ret) {
>  			pthread_mutex_unlock(socket->lock);
> -			ERR("Error occured while checking rotation status on consumer daemon");
> +			ERR("Error occurred while checking rotation status on consumer daemon");
>  			goto end;
>  		}
>  
> diff --git a/src/bin/lttng-sessiond/session.c b/src/bin/lttng-sessiond/session.c
> index 7fd4332ec..383c6fde7 100644
> --- a/src/bin/lttng-sessiond/session.c
> +++ b/src/bin/lttng-sessiond/session.c
> @@ -1163,7 +1163,7 @@ int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid)
>   *
>   * Be careful of the result passed to this function. For instance,
>   * on failure to launch a rotation, a client will expect the rotation
> - * state to be set to "NO_ROTATION". If an error occured while the
> + * state to be set to "NO_ROTATION". If an error occurred while the
>   * rotation was "ONGOING", result should be set to "ERROR", which will
>   * allow a client to report it.
>   *
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH lttng-tools] Typo: occured -> occurred
@ 2019-10-18 21:40 Michael Jeanson
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Jeanson @ 2019-10-18 21:40 UTC (permalink / raw)
  To: lttng-dev; +Cc: jgalar

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 include/lttng/session.h                  | 2 +-
 src/bin/lttng-sessiond/cmd.c             | 2 +-
 src/bin/lttng-sessiond/rotation-thread.c | 4 ++--
 src/bin/lttng-sessiond/session.c         | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/lttng/session.h b/include/lttng/session.h
index 7e328b625..9b2d7eb41 100644
--- a/include/lttng/session.h
+++ b/include/lttng/session.h
@@ -163,7 +163,7 @@ extern int lttng_destroy_session(const char *name);
  * an lttng_destruction_handle which can be used to wait for the completion
  * of the session's destruction. The lttng_destroy_handle can also be used
  * obtain the status and archive location of any implicit session
- * rotation that may have occured during the session's destruction.
+ * rotation that may have occurred during the session's destruction.
  *
  * Returns LTTNG_OK on success. The returned handle is owned by the caller
  * and must be free'd using lttng_destruction_handle_destroy().
diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c
index 71c0789b3..a164cffc0 100644
--- a/src/bin/lttng-sessiond/cmd.c
+++ b/src/bin/lttng-sessiond/cmd.c
@@ -4983,7 +4983,7 @@ int cmd_rotate_get_info(struct ltt_session *session,
 
 	switch (rotation_state) {
 	case LTTNG_ROTATION_STATE_NO_ROTATION:
-		DBG("Reporting that no rotation has occured within the lifetime of session \"%s\"",
+		DBG("Reporting that no rotation has occurred within the lifetime of session \"%s\"",
 				session->name);
 		goto end;
 	case LTTNG_ROTATION_STATE_EXPIRED:
diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c
index d12bd9d01..791b0425f 100644
--- a/src/bin/lttng-sessiond/rotation-thread.c
+++ b/src/bin/lttng-sessiond/rotation-thread.c
@@ -385,7 +385,7 @@ void check_session_rotation_pending_on_consumers(struct ltt_session *session,
 				&exists_status);
 		if (ret) {
 			pthread_mutex_unlock(socket->lock);
-			ERR("Error occured while checking rotation status on consumer daemon");
+			ERR("Error occurred while checking rotation status on consumer daemon");
 			goto end;
 		}
 
@@ -414,7 +414,7 @@ skip_ust:
 				&exists_status);
 		if (ret) {
 			pthread_mutex_unlock(socket->lock);
-			ERR("Error occured while checking rotation status on consumer daemon");
+			ERR("Error occurred while checking rotation status on consumer daemon");
 			goto end;
 		}
 
diff --git a/src/bin/lttng-sessiond/session.c b/src/bin/lttng-sessiond/session.c
index 7fd4332ec..383c6fde7 100644
--- a/src/bin/lttng-sessiond/session.c
+++ b/src/bin/lttng-sessiond/session.c
@@ -1163,7 +1163,7 @@ int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid)
  *
  * Be careful of the result passed to this function. For instance,
  * on failure to launch a rotation, a client will expect the rotation
- * state to be set to "NO_ROTATION". If an error occured while the
+ * state to be set to "NO_ROTATION". If an error occurred while the
  * rotation was "ONGOING", result should be set to "ERROR", which will
  * allow a client to report it.
  *
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH lttng-tools] Typo: occured -> occurred
       [not found] <1501698378-6934-1-git-send-email-mjeanson@efficios.com>
@ 2017-08-03 16:23 ` Jérémie Galarneau
  0 siblings, 0 replies; 6+ messages in thread
From: Jérémie Galarneau @ 2017-08-03 16:23 UTC (permalink / raw)
  To: Michael Jeanson; +Cc: lttng-dev, Jeremie Galarneau

Merged in master and stable-2.10, thanks!

Jérémie

On 2 August 2017 at 14:26, Michael Jeanson <mjeanson@efficios.com> wrote:
> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
>  src/bin/lttng-sessiond/notification-thread-events.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c
> index 327ea7f..1793cac 100644
> --- a/src/bin/lttng-sessiond/notification-thread-events.c
> +++ b/src/bin/lttng-sessiond/notification-thread-events.c
> @@ -469,7 +469,7 @@ int evaluate_condition_for_client(struct lttng_trigger *trigger,
>         ret = evaluate_condition(condition, &evaluation, state, NULL,
>                         last_sample, channel_info->capacity);
>         if (ret) {
> -               WARN("[notification-thread] Fatal error occured while evaluating a newly subscribed-to condition");
> +               WARN("[notification-thread] Fatal error occurred while evaluating a newly subscribed-to condition");
>                 goto end;
>         }
>
> --
> 2.7.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH lttng-tools] Typo: occured -> occurred
@ 2017-08-02 18:26 Michael Jeanson
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Jeanson @ 2017-08-02 18:26 UTC (permalink / raw)
  To: lttng-dev; +Cc: jgalar

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 src/bin/lttng-sessiond/notification-thread-events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c
index 327ea7f..1793cac 100644
--- a/src/bin/lttng-sessiond/notification-thread-events.c
+++ b/src/bin/lttng-sessiond/notification-thread-events.c
@@ -469,7 +469,7 @@ int evaluate_condition_for_client(struct lttng_trigger *trigger,
 	ret = evaluate_condition(condition, &evaluation, state, NULL,
 			last_sample, channel_info->capacity);
 	if (ret) {
-		WARN("[notification-thread] Fatal error occured while evaluating a newly subscribed-to condition");
+		WARN("[notification-thread] Fatal error occurred while evaluating a newly subscribed-to condition");
 		goto end;
 	}
 
-- 
2.7.4

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH lttng-tools] Typo: occured -> occurred
       [not found] <1497636561-399-1-git-send-email-mjeanson@efficios.com>
@ 2017-06-21 12:28 ` Jérémie Galarneau
  0 siblings, 0 replies; 6+ messages in thread
From: Jérémie Galarneau @ 2017-06-21 12:28 UTC (permalink / raw)
  To: Michael Jeanson; +Cc: lttng-dev, Jeremie Galarneau

Merged in master and stable-2.10.

Thanks!
Jérémie

On 16 June 2017 at 14:09, Michael Jeanson <mjeanson@efficios.com> wrote:
> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
>  include/lttng/notification/channel-internal.h       | 2 +-
>  src/bin/lttng-sessiond/notification-thread-events.c | 6 +++---
>  src/bin/lttng-sessiond/notification-thread.c        | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/include/lttng/notification/channel-internal.h b/include/lttng/notification/channel-internal.h
> index efe502f..0779d73 100644
> --- a/include/lttng/notification/channel-internal.h
> +++ b/include/lttng/notification/channel-internal.h
> @@ -70,7 +70,7 @@ struct pending_notification {
>   *   - Synchronous: commands emitted by the client to which a reply is expected
>   *     (e.g. subscribing/unsubscribing to conditions),
>   *   - Asynchronous: notifications which are sent by the lttng_endpoint to the
> - *     client as one of the subscribed condition has occured.
> + *     client as one of the subscribed condition has occurred.
>   *
>   * The nature of this hybrid communication mode means that asynchronous messages
>   * (e.g. notifications) may be interleaved between synchronous messages (e.g. a
> diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c
> index ab1224a..751e665 100644
> --- a/src/bin/lttng-sessiond/notification-thread-events.c
> +++ b/src/bin/lttng-sessiond/notification-thread-events.c
> @@ -1368,7 +1368,7 @@ int handle_notification_thread_client_disconnect_all(
>  int handle_notification_thread_trigger_unregister_all(
>                 struct notification_thread_state *state)
>  {
> -       bool error_occured = false;
> +       bool error_occurred = false;
>         struct cds_lfht_iter iter;
>         struct lttng_trigger_ht_element *trigger_ht_element;
>
> @@ -1377,10 +1377,10 @@ int handle_notification_thread_trigger_unregister_all(
>                 int ret = handle_notification_thread_command_unregister_trigger(
>                                 state, trigger_ht_element->trigger, NULL);
>                 if (ret) {
> -                       error_occured = true;
> +                       error_occurred = true;
>                 }
>         }
> -       return error_occured ? -1 : 0;
> +       return error_occurred ? -1 : 0;
>  }
>
>  static
> diff --git a/src/bin/lttng-sessiond/notification-thread.c b/src/bin/lttng-sessiond/notification-thread.c
> index 7bd6536..c652b6e 100644
> --- a/src/bin/lttng-sessiond/notification-thread.c
> +++ b/src/bin/lttng-sessiond/notification-thread.c
> @@ -569,7 +569,7 @@ int handle_channel_monitoring_pipe(int fd, uint32_t revents,
>         ret = handle_notification_thread_channel_sample(
>                         state, fd, domain);
>         if (ret) {
> -               ERR("[notification-thread] Consumer sample handling error occured");
> +               ERR("[notification-thread] Consumer sample handling error occurred");
>                 ret = -1;
>                 goto end;
>         }
> --
> 2.7.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH lttng-tools] Typo: occured -> occurred
@ 2017-06-16 18:09 Michael Jeanson
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Jeanson @ 2017-06-16 18:09 UTC (permalink / raw)
  To: lttng-dev; +Cc: jgalar

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 include/lttng/notification/channel-internal.h       | 2 +-
 src/bin/lttng-sessiond/notification-thread-events.c | 6 +++---
 src/bin/lttng-sessiond/notification-thread.c        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/lttng/notification/channel-internal.h b/include/lttng/notification/channel-internal.h
index efe502f..0779d73 100644
--- a/include/lttng/notification/channel-internal.h
+++ b/include/lttng/notification/channel-internal.h
@@ -70,7 +70,7 @@ struct pending_notification {
  *   - Synchronous: commands emitted by the client to which a reply is expected
  *     (e.g. subscribing/unsubscribing to conditions),
  *   - Asynchronous: notifications which are sent by the lttng_endpoint to the
- *     client as one of the subscribed condition has occured.
+ *     client as one of the subscribed condition has occurred.
  *
  * The nature of this hybrid communication mode means that asynchronous messages
  * (e.g. notifications) may be interleaved between synchronous messages (e.g. a
diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c
index ab1224a..751e665 100644
--- a/src/bin/lttng-sessiond/notification-thread-events.c
+++ b/src/bin/lttng-sessiond/notification-thread-events.c
@@ -1368,7 +1368,7 @@ int handle_notification_thread_client_disconnect_all(
 int handle_notification_thread_trigger_unregister_all(
 		struct notification_thread_state *state)
 {
-	bool error_occured = false;
+	bool error_occurred = false;
 	struct cds_lfht_iter iter;
 	struct lttng_trigger_ht_element *trigger_ht_element;
 
@@ -1377,10 +1377,10 @@ int handle_notification_thread_trigger_unregister_all(
 		int ret = handle_notification_thread_command_unregister_trigger(
 				state, trigger_ht_element->trigger, NULL);
 		if (ret) {
-			error_occured = true;
+			error_occurred = true;
 		}
 	}
-	return error_occured ? -1 : 0;
+	return error_occurred ? -1 : 0;
 }
 
 static
diff --git a/src/bin/lttng-sessiond/notification-thread.c b/src/bin/lttng-sessiond/notification-thread.c
index 7bd6536..c652b6e 100644
--- a/src/bin/lttng-sessiond/notification-thread.c
+++ b/src/bin/lttng-sessiond/notification-thread.c
@@ -569,7 +569,7 @@ int handle_channel_monitoring_pipe(int fd, uint32_t revents,
 	ret = handle_notification_thread_channel_sample(
 			state, fd, domain);
 	if (ret) {
-		ERR("[notification-thread] Consumer sample handling error occured");
+		ERR("[notification-thread] Consumer sample handling error occurred");
 		ret = -1;
 		goto end;
 	}
-- 
2.7.4

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-19  3:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191018214006.6126-1-mjeanson@efficios.com>
2019-10-19  3:26 ` [PATCH lttng-tools] Typo: occured -> occurred Jérémie Galarneau
2019-10-18 21:40 Michael Jeanson
     [not found] <1501698378-6934-1-git-send-email-mjeanson@efficios.com>
2017-08-03 16:23 ` Jérémie Galarneau
  -- strict thread matches above, loose matches on Subject: below --
2017-08-02 18:26 Michael Jeanson
     [not found] <1497636561-399-1-git-send-email-mjeanson@efficios.com>
2017-06-21 12:28 ` Jérémie Galarneau
2017-06-16 18:09 Michael Jeanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).