*/
#define _LGPL_SOURCE
-#include <assert.h>
#include <inttypes.h>
#include <popt.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-#include <assert.h>
#include <common/utils.h>
#include <common/mi-lttng.h>
{
int i = 0;
- assert(argv);
+ LTTNG_ASSERT(argv);
while (argv[i] != NULL) {
i++;
argc = count_arguments(argv);
/* popt should have passed NULL if no arguments are present. */
- assert(argc > 0);
+ LTTNG_ASSERT(argc > 0);
cmd = &actions[i];
while (cmd->func != NULL) {