Commit 69686fc
tracing: Change
No need to traverse to the end of string. If the first byte is not a NUL
char, it's guaranteed `if (strlen(glob))` is true.
Link: https://lkml.kernel.org/r/[email protected]
Cc: Ingo Molnar <[email protected]>
Cc: GNU/Weeb Mailing List <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>if (strlen(glob)) to if (glob[0])
1 parent 97a5d2e commit 69686fc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6217 | 6217 | | |
6218 | 6218 | | |
6219 | 6219 | | |
6220 | | - | |
| 6220 | + | |
6221 | 6221 | | |
6222 | 6222 | | |
6223 | 6223 | | |
| |||
0 commit comments