Skip to content

Commit

Permalink
USAGE message trim
Browse files Browse the repository at this point in the history
  • Loading branch information
brendangregg authored and ajor committed Jun 3, 2019
1 parent 3741efe commit 18d63b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ void usage()
std::cerr << " -dd verbose debug info dry run" << std::endl;
std::cerr << " -e 'program' execute this program" << std::endl;
std::cerr << " -h, --help show this help message" << std::endl;
std::cerr << " -I DIR add the specified DIR to the search path for include files." << std::endl;
std::cerr << " --include FILE adds an implicit #include which is read before the source file is preprocessed." << std::endl;
std::cerr << " -I DIR add the directory to the include search path" << std::endl;
std::cerr << " --include FILE add an #include file before preprocessing" << std::endl;
std::cerr << " -l [search] list probes" << std::endl;
std::cerr << " -p PID enable USDT probes on PID" << std::endl;
std::cerr << " -c 'CMD' run CMD and enable USDT probes on resulting process" << std::endl;
Expand All @@ -46,7 +46,7 @@ void usage()
std::cerr << " BPFTRACE_NO_CPP_DEMANGLE [default: 0] disable C++ symbol demangling" << std::endl;
std::cerr << " BPFTRACE_MAP_KEYS_MAX [default: 4096] max keys in a map" << std::endl;
std::cerr << " BPFTRACE_CAT_BYTES_MAX [default: 10k] maximum bytes read by cat builtin" << std::endl;
std::cerr << " BPFTRACE_MAX_PROBES [default: 512] max number of probes bpftrace can attach to" << std::endl;
std::cerr << " BPFTRACE_MAX_PROBES [default: 512] max number of probes" << std::endl;
std::cerr << std::endl;
std::cerr << "EXAMPLES:" << std::endl;
std::cerr << "bpftrace -l '*sleep*'" << std::endl;
Expand Down

0 comments on commit 18d63b0

Please sign in to comment.