goto end;
}
- DBG("File descriptor pool size argument (%u) adjusted to %u to accomodate transient fd uses",
+ DBG("File descriptor pool size argument (%u) adjusted to %u to accommodates transient fd uses",
lttng_opt_fd_pool_size,
lttng_opt_fd_pool_size - DEFAULT_RELAYD_FD_POOL_SIZE_RESERVE);
lttng_opt_fd_pool_size -= DEFAULT_RELAYD_FD_POOL_SIZE_RESERVE;
* forego this double-multiplication or it could be performed
* as fixed-point math.
*
- * Note that caching should accomodate the case where the
+ * Note that caching should accommodates the case where the
* condition applies to multiple channels (i.e. don't assume
* that all channels matching my_chann* have the same size...)
*/
#define DEFAULT_RELAYD_MIN_FD_POOL_SIZE 100
/*
- * The file descriptor pool size needs a reserve buffer to accomodate the
+ * The file descriptor pool size needs a reserve buffer to accommodates the
* indirect use of short-lived file descriptors. For instance, glibc will
* create a socket (and thus, use an fd) during calls to gethostname() or
* when querying the user's group. Other calls also probably make use of
/*
* Set the buffer's size to new_size. The capacity of the buffer will
- * be expanded (if necessary) to accomodate new_size. Areas acquired by
+ * be expanded (if necessary) to accommodates new_size. Areas acquired by
* a size increase will be zeroed.
*
* Be careful to expand the buffer's size _before_ calling out external
size_t new_size);
/*
- * Set the buffer's capacity to accomodate the new_capacity, allocating memory
+ * Set the buffer's capacity to accommodates the new_capacity, allocating memory
* as necessary. The buffer's content is preserved. Setting a buffer's capacity
* is meant as a _hint_ to the underlying buffer and is only optimization; no
* guarantee is offered that subsequent calls to append or set_size will succeed.
} else {
/*
* There are not enough active suspendable file
- * descriptors to open a new fd and still accomodate the
+ * descriptors to open a new fd and still accommodates the
* tracker's capacity.
*/
WARN("Cannot open unsuspendable fd, too many unsuspendable file descriptors are opened (%u)",
* negative tracker-specific codes may be returned:
* - ENOMEM: allocation of a new entry failed,
* - EMFILE: too many unsuspendable fds are opened and the tracker can't
- * accomodate the request for a new unsuspendable entry.
+ * accommodates the request for a new unsuspendable entry.
*/
LTTNG_HIDDEN
int fd_tracker_open_unsuspendable_fd(struct fd_tracker *tracker,
* We choose to use the system name resolution API first
* to honor its network configuration. If this fails, we
* resolve to the appropriate loopback address. This is
- * done to accomodate systems which may want to start
+ * done to accommodates systems which may want to start
* tracing before their network configured.
*/
const char *loopback_addr = af == AF_INET ?