Typo: occured -> occurred
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 23 Jan 2020 21:37:37 +0000 (16:37 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 3 Feb 2020 19:49:53 +0000 (14:49 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I57d85deda90603e5c2824b8e0d4d07c71ca291db
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2859
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
15 files changed:
doc/api/libbabeltrace2/dox/api-fund.dox
doc/man/babeltrace2-filter.lttng-utils.debug-info.7.txt
doc/man/babeltrace2-sink.ctf.fs.7.txt
include/babeltrace2/graph/message-iterator-class.h
include/babeltrace2/graph/message-iterator.h
include/babeltrace2/trace-ir/clock-class.h
include/babeltrace2/trace-ir/clock-snapshot.h
include/babeltrace2/trace-ir/stream.h
src/argpar/argpar.c
src/plugins/ctf/common/msg-iter/msg-iter.h
src/plugins/ctf/fs-sink/fs-sink.c
src/plugins/ctf/lttng-live/lttng-live.c
src/plugins/lttng-utils/debug-info/bin-info.c
src/plugins/lttng-utils/debug-info/debug-info.c
src/python-plugin-provider/python-plugin-provider.c

index f8026b2957b90a9ad316c0640f8f2a760987306c..8c60e539f614c5d138fe095776e7ef8d6eef0d73 100644 (file)
@@ -473,7 +473,7 @@ lead to the error, possibly across many \bt_p_plugin written by
 different developers.
 
 An error cause contains information about the source location where the
-error occured, the actor involved in the error, and a message.
+error occurred, the actor involved in the error, and a message.
 
 When you "catch" an error, that is, react to a function returning an
 error status code without returning an error status code yourself,
index 090d07bdc8e7cbe019917bf93c1e5a953509812d..f98c7d7c29e599581cbe8626056485fd94aeebda 100644 (file)
@@ -62,7 +62,7 @@ Example: `load_user_config+0x194`.
 
 [[field-src]]`src` vtype:[string]::
     Source file path or name followed with `:LINE`, where `LINE` is the
-    line number in this source file at which the event occured.
+    line number in this source file at which the event occurred.
 +
 Example: `user-config.c:1025`.
 
@@ -97,7 +97,7 @@ In this case, the events that the message iterator creates do not
 contain the source file and line number (see the <<field-src,`src`
 field>>), but only the name of the nearest function symbol with an
 offset in bytes to the location in the executable from which the LTTng
-event occured (see the <<field-func,`func` field>>).
+event occurred (see the <<field-func,`func` field>>).
 
 If the executable file has neither ELF symbols nor DWARF information,
 the {compcls} message iterator cannot map the event to its source
index 1e445b630e8229e12dab6f561bcc8f6bad055320..df91341489b2aa484258d19b466a56e15eb02f2f 100644 (file)
@@ -54,7 +54,7 @@ field.
 
 In all the cases above, the component adds a comment in the metadata
 stream, above the field class, to indicate that a special translation
-occured.
+occurred.
 
 
 === Input message constraints
index e668a515d4f28c6af3bf27d9f094b01c9a773b05..df6053d52788af3fa88466738f129a806bdd7b15 100644 (file)
@@ -171,7 +171,7 @@ The available message iterator class methods to implement are:
   </dt>
   <dd>
     Called to check whether or not your \bt_msg_iter can currently
-    seek a message occuring at or after a specific time given in
+    seek a message occurring at or after a specific time given in
     nanoseconds from its
     \ref api-tir-clock-cls-origin "clock class origin".
 
@@ -187,7 +187,7 @@ The available message iterator class methods to implement are:
     If you don't implement this method, then, if you implement the
     \ref api-msg-iter-cls-meth-seek-ns "seek ns from origin" method, the
     library assumes that your message iterator can always seek any
-    message occuring at or after any time.
+    message occurring at or after any time.
 
     The message iterator of a \bt_flt_comp will typically consider
     the time seeking capability of its own upstream message
@@ -195,7 +195,7 @@ The available message iterator class methods to implement are:
     this method's implementation.
 
     If you need to block the thread to compute whether or not your
-    message iterator can seek a message occuring at or after a given
+    message iterator can seek a message occurring at or after a given
     time, you can instead report to try again later to the caller by
     returning
     #BT_MESSAGE_ITERATOR_CLASS_CAN_SEEK_NS_FROM_ORIGIN_METHOD_STATUS_AGAIN.
@@ -266,7 +266,7 @@ The available message iterator class methods to implement are:
     bt_message_iterator_seek_ns_from_origin() uses this configuration
     option and the beginning seeking capability of a message iterator
     (bt_message_iterator_can_seek_beginning())
-    to make it seek a message occuring at or after a specific time even
+    to make it seek a message occurring at or after a specific time even
     when the message iterator does not implement the
     \ref api-msg-iter-cls-meth-seek-ns "seek ns from origin" method.
 
@@ -417,7 +417,7 @@ The available message iterator class methods to implement are:
   </dt>
   <dd>
     Called within bt_message_iterator_seek_ns_from_origin() to make
-    your message iterator seek a message occuring at or after a specific
+    your message iterator seek a message occurring at or after a specific
     time given in nanoseconds from its
     \ref api-tir-clock-cls-origin "clock class origin".
 
@@ -465,7 +465,7 @@ The available message iterator class methods to implement are:
     later.
 
     If you need to block the thread to make your message iterator seek a
-    message occuring at or after a given time, you can instead report to
+    message occurring at or after a given time, you can instead report to
     try again later to the caller by returning
     #BT_MESSAGE_ITERATOR_CLASS_SEEK_NS_FROM_ORIGIN_METHOD_STATUS_AGAIN.
 
@@ -620,7 +620,7 @@ method.
 @param[out] can_seek_ns_from_origin
     <strong>On success</strong>, set \bt_p{*can_seek_ns_from_origin} to
     #BT_TRUE if \bt_p{self_message_iterator} can currently seek a
-    message occuring at or after \bt_p{ns_from_origin} nanoseconds from
+    message occurring at or after \bt_p{ns_from_origin} nanoseconds from
     its \ref api-tir-clock-cls-origin "clock class origin".
 
 @retval #BT_MESSAGE_ITERATOR_CLASS_CAN_SEEK_NS_FROM_ORIGIN_METHOD_STATUS_OK
index cda5040ae0c6fa819d3fd50488f6f076b18ef423..4a6913fb56ff56c75238aefaf87d3eb44113bde4 100644 (file)
@@ -162,7 +162,7 @@ operations:
 
   <dt>
     \anchor api-msg-iter-op-seek-ns
-    Make the message iterator seek a message occuring at or after a
+    Make the message iterator seek a message occurring at or after a
     given time (in nanoseconds) from its clock class origin
   </dt>
   <dd>
@@ -645,7 +645,7 @@ typedef enum bt_message_iterator_can_seek_ns_from_origin_status {
 /*!
 @brief
     Returns whether or not the message iterator \bt_p{message_iterator}
-    can currently seek a \bt_msg occuring at or after
+    can currently seek a \bt_msg occurring at or after
     \bt_p{ns_from_origin} nanoseconds from its
     \ref api-tir-clock-cls-origin "clock class origin".
 
@@ -663,7 +663,7 @@ call bt_message_iterator_seek_ns_from_origin().
     Requested time point to seek.
 @param[out] can_seek_ns_from_origin
     <strong>On success</strong>, \bt_p{*can_seek_ns_from_origin} is
-    #BT_TRUE if \bt_p{message_iterator} can seek a message occuring at
+    #BT_TRUE if \bt_p{message_iterator} can seek a message occurring at
     or after \bt_p{ns_from_origin} nanoseconds from its clock class
     origin.
 
@@ -680,7 +680,7 @@ call bt_message_iterator_seek_ns_from_origin().
 @bt_pre_not_null{can_seek_ns_from_origin}
 
 @sa bt_message_iterator_seek_ns_from_origin() &mdash;
-    Makes a message iterator seek a message occuring at or after
+    Makes a message iterator seek a message occurring at or after
     a given time from its clock class origin.
 */
 
@@ -722,7 +722,7 @@ typedef enum bt_message_iterator_seek_ns_from_origin_status {
 /*!
 @brief
     Makes the message iterator \bt_p{message_iterator} seek a \bt_msg
-    occuring at or after \bt_p{ns_from_origin} nanoseconds from its
+    occurring at or after \bt_p{ns_from_origin} nanoseconds from its
     \ref api-tir-clock-cls-origin "clock class origin".
 
 See \ref api-msg-iter-op-seek-ns "this operation's documentation".
@@ -732,7 +732,7 @@ without performing any other \ref api-msg-iter-ops "operation" on
 \bt_p{message_iterator}, before you call this function.
 
 @param[in] message_iterator
-    Message iterator to seek to a message occuring at or after
+    Message iterator to seek to a message occurring at or after
     \bt_p{ns_from_origin} nanoseconds from its clock class origin.
 @param[in] ns_from_origin
     Time point to seek.
@@ -753,7 +753,7 @@ without performing any other \ref api-msg-iter-ops "operation" on
 
 @sa bt_message_iterator_can_seek_ns_from_origin() &mdash;
     Returns whether or not a message iterator can currently seek a
-    message occuring at or after a given time from its clock class
+    message occurring at or after a given time from its clock class
     origin.
 */
 extern bt_message_iterator_seek_ns_from_origin_status
index 4fbbf53310a50693fc65d2b8053b04cb29240896..f0685e39df7b0176b925e35bc803e575734d0537 100644 (file)
@@ -70,7 +70,7 @@ In the illustration above, notice that:
   stream's default clock.
 
   In other words, a default clock snapshot contains the value of the
-  stream's default clock when this message occured.
+  stream's default clock when this message occurred.
 
 The default clock class property of a \bt_stream_cls is optional:
 if a stream class has no default clock class, then its instances
index 23d86781378909ba9b3a0878d9c9fc402449b625..49cffe2b4bb5a7aa21348b8423233916d77c9d74 100644 (file)
@@ -67,7 +67,7 @@ In the illustration above, notice that:
   of the stream's default clock.
 
   In other words, a default clock snapshot contains the value of the
-  stream's default clock when this message occured.
+  stream's default clock when this message occurred.
 
 A clock snapshot is a \ref api-fund-unique-object "unique object": it
 belongs to a \bt_msg.
index 32bc98e1770decbad7e3db38da584a301d896899..3f396e324775063dc065a994b6f2b885bb292406 100644 (file)
@@ -69,7 +69,7 @@ which can belong to different streams, as long as the stream clocks are
 \ref api-tir-clock-cls-origin "correlatable".
 
 A typical use case for streams is to use one for each traced CPU. Then
-the messages related to a given stream are the ones which occured on a
+the messages related to a given stream are the ones which occurred on a
 given CPU. Other schemes are possible: they are completely
 application-specific, and \bt_name does not enforce any specific
 stream arrangement pattern.
@@ -105,7 +105,7 @@ In the illustration above, notice that:
   stream's default clock.
 
   In other words, a default clock snapshot contains the value of the
-  stream's default clock when this message occured.
+  stream's default clock when this message occurred.
 
 To create a stream:
 
index b8b7c6307d82ead3741bffe4bfc003282981aee3..ad56838fad853f15629a06f25dcec82b91d07d85 100644 (file)
@@ -604,7 +604,7 @@ struct argpar_parse_ret argpar_parse(unsigned int argc,
        goto end;
 
 error:
-       /* That's how we indicate that an error occured */
+       /* That's how we indicate that an error occurred */
        destroy_item_array(parse_ret.items);
        parse_ret.items = NULL;
 
index 73bb121e91ca9896acc3db41a69cedc37e83b62f..8774b36630f389c818b81c6a41418a7f929da1cd 100644 (file)
@@ -164,7 +164,7 @@ struct ctf_msg_iter_medium_ops {
         *     #CTF_MSG_ITER_MEDIUM_STATUS_EOF on the \em following
         *     call.
         *   - <b>#CTF_MSG_ITER_MEDIUM_STATUS_ERROR</b>: A fatal
-        *     error occured during this operation. In this case, the
+        *     error occurred during this operation. In this case, the
         *     message iterator function called by the user returns
         *     #CTF_MSG_ITER_STATUS_ERROR.
         *
index 2cfc2048cc590bd0e46be4827a459dedcd35fc81..20b33471db797215e7b4620c2f08700673d1318d 100644 (file)
@@ -466,7 +466,7 @@ bt_component_class_sink_consume_method_status handle_packet_beginning_msg(
                 */
                if (stream->prev_packet_state.end_cs == UINT64_C(-1)) {
                        BT_COMP_LOGE("Incompatible discarded packets message "
-                               "occuring before the stream's first packet: "
+                               "occurring before the stream's first packet: "
                                "stream-id=%" PRIu64 ", stream-name=\"%s\", "
                                "trace-name=\"%s\", path=\"%s/%s\"",
                                bt_stream_get_id(ir_stream),
@@ -645,7 +645,7 @@ bt_component_class_sink_consume_method_status handle_stream_beginning_msg(
        /*
         * Not supported: discarded events or discarded packets support
         * without packets support. Packets are the way to know where
-        * discarded events/packets occured in CTF 1.8.
+        * discarded events/packets occurred in CTF 1.8.
         */
        if (!bt_stream_class_supports_packets(ir_sc)) {
                BT_ASSERT(!bt_stream_class_supports_discarded_packets(ir_sc));
@@ -820,7 +820,7 @@ bt_component_class_sink_consume_method_status handle_discarded_events_msg(
        if (stream->packet_state.is_open &&
                        stream->sc->discarded_events_has_ts) {
                BT_COMP_LOGE("Unsupported discarded events message with "
-                       "default clock snapshots occuring within a packet: "
+                       "default clock snapshots occurring within a packet: "
                        "stream-id=%" PRIu64 ", stream-name=\"%s\", "
                        "trace-name=\"%s\", path=\"%s/%s\"",
                        bt_stream_get_id(ir_stream),
index bef21b09ce38823a30456b06b06860bdfaa92c0e..66e20b73e17d2bd67a76696e0a148854fc507ace 100644 (file)
@@ -1065,7 +1065,7 @@ enum lttng_live_iterator_status next_stream_iterator_for_trace(
 
                        /*
                         * Check if the message of the current live stream
-                        * iterator occured at the exact same time or after the
+                        * iterator occurred at the exact same time or after the
                         * last message returned by this component's message
                         * iterator. If not, we return an error.
                         */
index b9e92871141557123cd950c5b365e4b48d4fb88e..dcb543151744daf76a5ce6a5b5e6517a80fdc25e 100644 (file)
@@ -300,7 +300,7 @@ end:
  *
  * @returns                    1 on if the build id of stored in `bin` matches
  *                             the build id of the ondisk file.
- *                             0 on if they are different or an error occured.
+ *                             0 on if they are different or an error occurred.
  */
 static
 int is_build_id_matching(struct bin_info *bin)
index 36af5aa2c30dd129398e06d0cc2fd03a7da59ffa..39e59db4f4fa854b6a0ac1133728b0fe3e6d95da 100644 (file)
@@ -213,7 +213,7 @@ struct debug_info_source *debug_info_source_create_from_bin(
                        g_strdup_printf("%"PRId64, src_loc->line_no);
                if (!debug_info_src->line_no) {
                        BT_COMP_LOGE_APPEND_CAUSE(self_comp,
-                               "Error occured when setting `line_no` field.");
+                               "Error occurred when setting `line_no` field.");
                        goto error;
                }
 
index 5d8d8b65455aba53d35f69241cdf8185f8bacbf8..c1cd399e92da075676939a19e65170786ea99bd4 100644 (file)
@@ -104,7 +104,7 @@ void log_python_traceback(int log_level)
                }
 
                BT_LOG_WRITE(log_level, BT_LOG_TAG,
-                       "Exception occured: Python traceback:\n%s", exc->str);
+                       "Exception occurred: Python traceback:\n%s", exc->str);
        }
 
 end:
This page took 0.033033 seconds and 4 git commands to generate.