Avoid crashing if mistakenly just '-d' or '-v' is used
Currently, if by mistake just '-v' or '-d' is used without any additional parameter (no filename nor -e 'program') bpftrace crashes: ./src/bpftrace -v terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped) This commit fix this problem.
Showing
Please register or sign in to comment