Spdk/scripts/bpf
Konrad Sztyber 364dbc8f48 scripts/trace: suppress KeyboardInterrupt and BrokenPipe exceptions
The stack trace is no longer printed if a user presses <C-c> while the
script is running or pipes its output to tools such as head or less.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I0951c38d914986b5c9bf2ee98bcd046f0e957ff0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9441
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
2021-10-20 07:22:00 +00:00
..
gen_enums.sh bpftrace: add escape char to gen_enums.sh 2021-10-18 07:47:38 +00:00
nvmf.bt usdt: pass ticks as the first probe argument 2021-06-28 16:17:35 +00:00
readv.bt scripts: add bpf/readv.bt 2021-05-21 08:03:27 +00:00
send_msg.bt scripts: add bpf/send_msg.bt 2021-05-21 08:03:27 +00:00
syscalls.bt scripts: add bpf/syscalls.bt 2021-05-21 08:03:27 +00:00
trace.py scripts/trace: suppress KeyboardInterrupt and BrokenPipe exceptions 2021-10-20 07:22:00 +00:00