From 2e3bc7cb73e2470c80c544e911d884e0925e118b Mon Sep 17 00:00:00 2001 From: Michal Stanek Date: Tue, 27 Aug 2024 18:56:22 +0000 Subject: [PATCH] Remove the option to print all events in EventsTrace This option makes no sense because it spams tty events in an infinite feedback loop. --- non-GPL/Events/EventsTrace/EventsTrace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/non-GPL/Events/EventsTrace/EventsTrace.c b/non-GPL/Events/EventsTrace/EventsTrace.c index 9ff12d05..fea9b464 100644 --- a/non-GPL/Events/EventsTrace/EventsTrace.c +++ b/non-GPL/Events/EventsTrace/EventsTrace.c @@ -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] " @@ -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},