Skip to content

Commit

Permalink
Remove the option to print all events in EventsTrace
Browse files Browse the repository at this point in the history
This option makes no sense because it spams tty events in an infinite
feedback loop.
  • Loading branch information
stanek-michal committed Aug 27, 2024
1 parent 97581e4 commit 2e3bc7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions non-GPL/Events/EventsTrace/EventsTrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const char argp_program_doc[] =
"\n"
"Prints process, network and file events sourced from the Elastic ebpf events library\n"
"\n"
"USAGE: ./EventsTrace [--all|-a] [--file-delete] [--file-create] [--file-rename] "
"USAGE: ./EventsTrace [--file-delete] [--file-create] [--file-rename] "
"[--file-memfd-open] [--file-shmem-open] [--file-modify]\n"
"[--process-fork] [--process-exec] [--process-exit] [--process-setsid] [--process-setuid] "
"[--process-setgid] [--process-tty-write] [--process-memfd_create] [--process-shmget] "
Expand Down Expand Up @@ -94,7 +94,6 @@ static uint64_t cmdline_to_lib[CMDLINE_MAX] = {
};

static const struct argp_option opts[] = {
{"all", 'a', NULL, false, "Print all events", 0},
{"file-delete", FILE_DELETE, NULL, false, "Print file delete events", 0},
{"file-create", FILE_CREATE, NULL, false, "Print file create events", 0},
{"file-rename", FILE_RENAME, NULL, false, "Print file rename events", 0},
Expand Down

0 comments on commit 2e3bc7c

Please sign in to comment.