## ##
-## Optionnal features selection ##
+## Optional features selection ##
## ##
# numa integration
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"
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
* @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) \
({ \
])
-dnl Disabled by default, unless already overriden
+dnl Disabled by default, unless already overridden
m4_ifndef([ae_feature_default_arg],[AE_FEATURE_DEFAULT_DISABLE])
/*
* 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)
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
}
/*
- * Set socket reciving timeout.
+ * Set socket receiving timeout.
*/
int ustcomm_setsockopt_rcv_timeout(int sock, unsigned int msec)
{
/* 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);
/*
* 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(®istry, &cur_snap_readers, &qsreaders);
/*
* 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);
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;
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.
/*
* 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.
*/
* 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
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);
}
/* 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();
}
* 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.
*
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()
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]+")
*/
/* '## __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) ? \