commit | 76638d96502744b0d593f2386b75ae5a017c13bb | [log] [tgz] |
---|---|---|
author | Changbin Du <changbin.du@intel.com> | Tue Jan 16 17:02:29 2018 +0800 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Jan 23 15:57:28 2018 -0500 |
tree | cb6b25e2586657ecd8adb61deae7a3ebc00f8247 | |
parent | 921a7acd85ebbab1b3cd99828e6842fd3e78df24 [diff] |
tracing: Clear parser->idx if only spaces are read If only spaces were read while parsing the next string, then parser->idx should be cleared in order to make trace_parser_loaded() return false. Link: http://lkml.kernel.org/r/1516093350-12045-3-git-send-email-changbin.du@intel.com Acked-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>