Commit d6bc29d
committed
ktest.pl: Just open up the log file once
Currently, every write to the log file is done by opening the file, writing
to it, then closing the file. This rather expensive. Just open it at the
beginning and close it at the end.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>1 parent 1672342 commit d6bc29d
1 file changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | | - | |
513 | | - | |
514 | | - | |
| 512 | + | |
515 | 513 | | |
516 | 514 | | |
517 | 515 | | |
| |||
1780 | 1778 | | |
1781 | 1779 | | |
1782 | 1780 | | |
1783 | | - | |
1784 | | - | |
1785 | 1781 | | |
1786 | 1782 | | |
1787 | 1783 | | |
| |||
1829 | 1825 | | |
1830 | 1826 | | |
1831 | 1827 | | |
1832 | | - | |
1833 | 1828 | | |
1834 | 1829 | | |
1835 | 1830 | | |
| |||
4091 | 4086 | | |
4092 | 4087 | | |
4093 | 4088 | | |
4094 | | - | |
4095 | | - | |
| 4089 | + | |
| 4090 | + | |
| 4091 | + | |
| 4092 | + | |
| 4093 | + | |
4096 | 4094 | | |
4097 | 4095 | | |
4098 | 4096 | | |
| |||
4453 | 4451 | | |
4454 | 4452 | | |
4455 | 4453 | | |
4456 | | - | |
4457 | | - | |
4458 | | - | |
4459 | | - | |
4460 | 4454 | | |
4461 | 4455 | | |
4462 | 4456 | | |
4463 | 4457 | | |
4464 | 4458 | | |
4465 | 4459 | | |
| 4460 | + | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
4466 | 4466 | | |
0 commit comments