cleanup: spelling fixes in comments
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 29 Jul 2021 19:44:14 +0000 (15:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 5 Oct 2021 19:52:25 +0000 (15:52 -0400)
Change-Id: I79a51dcd9c4bffc227b94c2f9c1e83fde202c4fb
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
17 files changed:
configure.ac
extras/abi/README
include/lttng/ust-utils.h
m4/ae_config_feature.m4
src/common/getcpu.h
src/common/ringbuffer/frontend_types.h
src/common/ustcomm.c
src/lib/lttng-ust-common/fd-tracker.c
src/lib/lttng-ust-common/lttng-ust-urcu.c
src/lib/lttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
src/lib/lttng-ust-libc-wrapper/lttng-ust-malloc.c
src/lib/lttng-ust/event-notifier-notification.c
src/lib/lttng-ust/lttng-ust-comm.c
src/lib/lttng-ust/perf_event.h
src/python-lttngust/lttngust/agent.py
tests/utils/tap-driver.sh
tests/utils/tap.h

index 1b986eab53aa95690c4e20960c1ccc6691e64866..86b1d052393846c8a7da13df2b5e1630cd602b09 100644 (file)
@@ -322,7 +322,7 @@ AC_ARG_VAR([CLASSPATH], [Java class path])
 
 
 ##                              ##
-## Optionnal features selection ##
+## Optional features selection ##
 ##                              ##
 
 # numa integration
@@ -419,7 +419,7 @@ AS_IF([AE_IS_FEATURE_ENABLED([jni-interface]) || AE_IS_FEATURE_ENABLED([java-age
   AX_PROG_JAVA
   AX_PROG_JAR
 
-  # Get the CPPFLAGS required to build jni libaries
+  # Get the CPPFLAGS required to build jni libraries
   AX_JNI_INCLUDE_DIR
   for jni_include_dir in $JNI_INCLUDE_DIRS; do
     JNI_CPPFLAGS="$JNI_CPPFLAGS -I$jni_include_dir"
index c21624ecb1564aa671f235d9b148aec11a68ce23..41abc7546345338f72d6eefd237a69d6807a28f7 100644 (file)
@@ -1,5 +1,5 @@
 This directory contains the serialized ABI definitions for a typical build of
-the lttng-ust librairies. This information is extracted using libabigail
+the lttng-ust libraries. This information is extracted using libabigail
 (https://sourceware.org/libabigail/).
 
 The artefacts used to generate these were built with CFLAGS="-O0 -ggdb" and all
index d2747d4a6a388b6ac312f4e7b2528048e4de9209..cbd1f66adeef8cc530afbc8217942ef9a8c1352d 100644 (file)
  * @align_drift:  object offset from an "alignment"-aligned address.
  * @alignment:    natural object alignment. Must be non-zero, power of 2.
  *
- * Returns the offset that must be substracted to align towards lower addresses.
+ * Returns the offset that must be subtracted to align towards lower addresses.
  */
 #define lttng_ust_offset_align_floor(align_drift, alignment)                  \
        ({                                                                     \
index 7582c00f983dddbd22e90f55814b167429d5eb6b..315da572aaa2675eeb07404850956bc87860b46b 100644 (file)
@@ -211,7 +211,7 @@ m4_pushdef([FEATURE], patsubst([$1], -, _))dnl
 ])
 
 
-dnl Disabled by default, unless already overriden
+dnl Disabled by default, unless already overridden
 m4_ifndef([ae_feature_default_arg],[AE_FEATURE_DEFAULT_DISABLE])
 
 
index 3bf9076a0420279cf42f334c357cc638972766f8..24e684c7ed64683324d6c70e111b5a77004ea9f9 100644 (file)
@@ -82,7 +82,7 @@ int lttng_ust_get_cpu_internal(void)
 
 /*
  * FreeBSD and Cygwin do not allow query of CPU ID. Always use CPU
- * number 0, with the assocated performance degradation on SMP.
+ * number 0, with the associated performance degradation on SMP.
  */
 static inline
 int lttng_ust_get_cpu_internal(void)
index 19ab821d4a4d44c9581b890be809a3f105fdb65f..d1f70c3ab59e5e2665ee5fdae54fc7c17fda121e 100644 (file)
@@ -120,7 +120,7 @@ enum lttng_crash_type {
 
 struct lttng_crash_abi {
        uint8_t magic[RB_CRASH_DUMP_ABI_MAGIC_LEN];
-       uint64_t mmap_length;   /* Overall lenght of crash record */
+       uint64_t mmap_length;   /* Overall length of crash record */
        uint16_t endian;        /*
                                 * { 0x12, 0x34 }: big endian
                                 * { 0x34, 0x12 }: little endian
index 319e84ac923530d790de9afd22ba595849399e31..6dfec5eac4d68f047e14855a579ee156921d9f00 100644 (file)
@@ -1727,7 +1727,7 @@ int ustcomm_register_channel(int sock,
 }
 
 /*
- * Set socket reciving timeout.
+ * Set socket receiving timeout.
  */
 int ustcomm_setsockopt_rcv_timeout(int sock, unsigned int msec)
 {
index 7a17e2a0ab32bb00a851088ad896e746244b1ac9..b2d881a365a954e8ed3bc0c166f87a7e8c9bc1b4 100644 (file)
@@ -284,7 +284,7 @@ int lttng_ust_add_fd_to_tracker(int fd)
 
        /* Trying to add an fd which we can not accommodate. */
        assert(IS_FD_VALID(fd));
-       /* Setting an fd thats already set. */
+       /* Setting an fd that's already set. */
        assert(!IS_FD_SET(fd, lttng_fd_set));
 
        ADD_FD_TO_SET(fd, lttng_fd_set);
index 0f647556f638dd3ac075c89b7cb5c5bd86896013..0b2d6fc05a9f5c44c720f3f3e57c5901124d10ba 100644 (file)
@@ -275,7 +275,7 @@ void lttng_ust_urcu_synchronize_rcu(void)
        /*
         * Wait for readers to observe original parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&registry, &cur_snap_readers, &qsreaders);
 
@@ -306,7 +306,7 @@ void lttng_ust_urcu_synchronize_rcu(void)
        /*
         * Wait for readers to observe new parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&cur_snap_readers, NULL, &qsreaders);
 
index 9fa8c3acdbcfbc22cf3d873d184b9011835b414b..cb84087af6a42fc81aa434dd7ec1018098c3e567 100644 (file)
@@ -41,7 +41,7 @@ public class LttngTcpSessiondClient implements Runnable {
        private static final int PROTOCOL_MAJOR_VERSION = 2;
        private static final int PROTOCOL_MINOR_VERSION = 0;
 
-       /** Command header from the session deamon. */
+       /** Command header from the session daemon. */
        private final CountDownLatch registrationLatch = new CountDownLatch(1);
 
        private Socket sessiondSock;
index 3951f5b0fa3111283b71b7021fc67a9f16f5ee73..48d37f8185e80fb377e5ec9b8f37eb9204966049 100644 (file)
@@ -355,7 +355,7 @@ void *realloc(void *ptr, size_t size)
                        memcpy(retval, ptr, *old_size);
                }
                /*
-                * Mimick that a NULL pointer has been received, so
+                * Mimic that a NULL pointer has been received, so
                 * memory allocation analysis based on the trace don't
                 * get confused by the address from the static
                 * allocator.
index d4849421f8d421439d2b1a677fe989e67f9092e5..c13279df58d13351a8832d5b47b6447a074b3bfe 100644 (file)
@@ -199,7 +199,7 @@ void capture_sequence(struct lttng_msgpack_writer *writer,
                /*
                 * We assume that alignment is smaller or equal to the size.
                 * This currently holds true but if it changes in the future,
-                * we will want to change the pointer arithmetics below to
+                * we will want to change the pointer arithmetic below to
                 * take into account that the next element might be further
                 * away.
                 */
index 2a105bd7dcefe5c5cd976cb0010f2b23b2c9349e..2738959f1e29198d2d2f62bc13d68fb71e5fead6 100644 (file)
@@ -2183,7 +2183,7 @@ void lttng_ust_ctor(void)
         * this library so it never becomes zero, thus never gets unloaded from the
         * address space of the process. Since we are already running in the
         * constructor of the LTTNG_UST_LIB_SONAME library, calling dlopen will
-        * simply increment the refcount and no additionnal work is needed by the
+        * simply increment the refcount and no additional work is needed by the
         * dynamic loader as the shared library is already loaded in the address
         * space. As a safe guard, we use the RTLD_NODELETE flag to prevent
         * unloading of the UST library if its refcount becomes zero (which should
@@ -2520,7 +2520,7 @@ void lttng_ust_after_fork_parent(sigset_t *restore_sigset)
                return;
        DBG("process %d", getpid());
        lttng_ust_urcu_after_fork_parent();
-       /* Release mutexes and reenable signals */
+       /* Release mutexes and re-enable signals */
        ust_after_fork_common(restore_sigset);
 }
 
@@ -2547,7 +2547,7 @@ void lttng_ust_after_fork_child(sigset_t *restore_sigset)
        /* Release urcu mutexes */
        lttng_ust_urcu_after_fork_child();
        lttng_ust_cleanup(0);
-       /* Release mutexes and reenable signals */
+       /* Release mutexes and re-enable signals */
        ust_after_fork_common(restore_sigset);
        lttng_ust_ctor();
 }
index 48946c534819f24152bc18a32d57cf42501cad20..af8fb96aa8e6e25ee2c76849462e5d3d97a5325d 100644 (file)
@@ -541,7 +541,7 @@ struct perf_event_mmap_page {
         * after reading this value.
         *
         * When the mapping is PROT_WRITE the @data_tail value should be
-        * written by userspace to reflect the last read data, after issueing
+        * written by userspace to reflect the last read data, after issuing
         * an smp_mb() to separate the data read from the ->data_tail store.
         * In this case the kernel will not over-write unread data.
         *
index 8658372819c5e5cd60e6412ac2e26db3a62e6a56..66dbbd5e2b5efc00f5cc8b263f2f1aeffc29f94f 100644 (file)
@@ -96,7 +96,7 @@ class _TcpClient(object):
             except (Exception) as e:
                 # Whatever happens here, we have to close the socket and
                 # retry to connect to the session daemon since either
-                # the socket was closed, a network timeout occured, or
+                # the socket was closed, a network timeout occurred, or
                 # invalid data was received.
                 dbg._pdebug(self._debug('got exception: {}'.format(e)))
                 self._cleanup_socket()
index 12742cae98cce9ba8ca838de4f2feb6bfd0250fb..7f895de6b4307183d7d0f879f6ee4c657b0ec155 100755 (executable)
@@ -372,7 +372,7 @@ function setup_result_obj(line)
   sub("^(not )?ok[ \t]*", "", line)
 
   # If the result has an explicit number, get it and strip it; otherwise,
-  # automatically assing the next progresive number to it.
+  # automatically assign the next progresive number to it.
   if (line ~ /^[0-9]+$/ || line ~ /^[0-9]+[^a-zA-Z0-9_]/)
     {
       match(line, "^[0-9]+")
index b3e94450541e203ba38bb9c5b2c3a71fd0869252..60455a07bd9fefa50d58de5fa563b67bdb4e59ff 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 /* '## __VA_ARGS__' is a gcc'ism. C99 doesn't allow the token pasting
-   and requires the caller to add the final comma if they've ommitted
+   and requires the caller to add the final comma if they've omitted
    the optional arguments */
 #ifdef __GNUC__
 # define ok(e, test, ...) ((e) ?                                       \
This page took 0.031917 seconds and 4 git commands to generate.