[PATCH AUTOSEL 4.18 33/56] tools: bpftool: return from do_event_pipe() on bad arguments

2018-09-19 Thread Sasha Levin
From: Quentin Monnet [ Upstream commit 785e76d7a2051a9e28b9134d5388a45b16f5eb72 ] When command line parsing fails in the while loop in do_event_pipe() because the number of arguments is incorrect or because the keyword is unknown, an error message is displayed, but bpftool remains stuck in the

[PATCH AUTOSEL 4.18 33/56] tools: bpftool: return from do_event_pipe() on bad arguments

2018-09-19 Thread Sasha Levin
From: Quentin Monnet [ Upstream commit 785e76d7a2051a9e28b9134d5388a45b16f5eb72 ] When command line parsing fails in the while loop in do_event_pipe() because the number of arguments is incorrect or because the keyword is unknown, an error message is displayed, but bpftool remains stuck in the