X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_events.c;h=07f5f1a9876c49c3d8214e026ed4fb1132a31d89;hp=f1d04581fd9f5eb05532f6667c84eddd9e6d1faa;hb=313f1ac75c27b873b80e519ce0003fda3c3b2740;hpb=96ffaa0c61089296dd5c9dd07810f32f97931fc8 diff --git a/src/bin/lttng/commands/enable_events.c b/src/bin/lttng/commands/enable_events.c index f1d04581f..07f5f1a98 100644 --- a/src/bin/lttng/commands/enable_events.c +++ b/src/bin/lttng/commands/enable_events.c @@ -101,7 +101,7 @@ static struct poptOption long_options[] = { */ static void usage(FILE *ofp) { - fprintf(ofp, "usage: lttng enable-event NAME[,NAME2,...] [-k|-u] [OPTIONS] \n"); + fprintf(ofp, "usage: lttng enable-event NAME[,NAME2,...] (-k | -u | -j | -l | -p) [OPTIONS] \n"); fprintf(ofp, "\n"); fprintf(ofp, "Options:\n"); fprintf(ofp, " -h, --help Show this help\n"); @@ -632,7 +632,7 @@ int check_exclusion_subsets(const char *event_name, goto error; } new_exclusion_list = realloc(exclusion_list, - sizeof(char **) * (exclusion_count + 1)); + sizeof(char *) * (exclusion_count + 1)); if (!new_exclusion_list) { PERROR("realloc"); free(string);