On 08/23/2018 06:46 PM, Quentin Monnet wrote: > 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 bpfool remains stucked in > the loop. Make sure we exit the loop upon failure. > > Fixes: f412eed9dfde ("tools: bpftool: add simple perf event output reader") > Signed-off-by: Quentin Monnet <quentin.mon...@netronome.com> > Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com>
Applied to bpf, thanks Quentin!