Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the exits abnormal due to trace buffer
Some data may be left in the trace buffer, and the format cannot be parsed by trace_fields(), which whill cause an abnormality in the system. Re-running the program cannot solved, only restart kernel. Call trace: File "/usr/lib/python2.7/site-packages/kwaibcc/__init__.py", line 1273, in trace_fields pid, cpu, flags, ts = line[:ts_end].split() ValueError: need more than 2 values to unpack Prevent problems with exception handling. Signed-off-by: Chen Guanqiao <[email protected]>
- Loading branch information