Searched hist:a080b6e74b241dbc7e13dd378d6f6fc884579196 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | cat_test.c | diff a080b6e74b241dbc7e13dd378d6f6fc884579196 Thu Apr 13 02:22:56 CDT 2023 Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> selftests/resctrl: Flush stdout file buffer before executing fork()
When a process has buffered output, a child process created by fork() will also copy buffered output. When using kselftest framework, the output (resctrl test result message) will be printed multiple times.
Add fflush() to flush out the buffered output before executing fork().
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | resctrl_val.c | diff a080b6e74b241dbc7e13dd378d6f6fc884579196 Thu Apr 13 02:22:56 CDT 2023 Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> selftests/resctrl: Flush stdout file buffer before executing fork()
When a process has buffered output, a child process created by fork() will also copy buffered output. When using kselftest framework, the output (resctrl test result message) will be printed multiple times.
Add fflush() to flush out the buffered output before executing fork().
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|
H A D | resctrlfs.c | diff a080b6e74b241dbc7e13dd378d6f6fc884579196 Thu Apr 13 02:22:56 CDT 2023 Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> selftests/resctrl: Flush stdout file buffer before executing fork()
When a process has buffered output, a child process created by fork() will also copy buffered output. When using kselftest framework, the output (resctrl test result message) will be printed multiple times.
Add fflush() to flush out the buffered output before executing fork().
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|