diff options
| author | Changbin Du <[email protected]> | 2018-01-16 09:02:29 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2018-01-23 20:57:28 +0000 |
| commit | 76638d96502744b0d593f2386b75ae5a017c13bb (patch) | |
| tree | cb6b25e2586657ecd8adb61deae7a3ebc00f8247 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | tracing: Detect the string nul character when parsing user input string (diff) | |
| download | kernel-76638d96502744b0d593f2386b75ae5a017c13bb.tar.gz kernel-76638d96502744b0d593f2386b75ae5a017c13bb.zip | |
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/[email protected]
Acked-by: Namhyung Kim <[email protected]>
Signed-off-by: Changbin Du <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
