Home
last modified time | relevance | path

Searched hist:bcda4c863efdd038c4f8ade63ff435ed663cc286 (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/pidfd/
H A Dpidfd_fdinfo_test.cdiff bcda4c863efdd038c4f8ade63ff435ed663cc286 Wed May 24 01:22:07 CEST 2023 Ziqi Zhao <astrajoan@yahoo.com> selftest: pidfd: Omit long and repeating outputs

An output message:

> # # waitpid WEXITSTATUS=0

will be printed for 30,000+ times in the `pidfd_test` selftest, which
does not seem ideal. This patch removes the print logic in the
`wait_for_pid` function, so each call to this function does not output
a line by default. Any existing call sites where the extra line might
be beneficial have been modified to include extra print statements
outside of the function calls.

Signed-off-by: Ziqi Zhao <astrajoan@yahoo.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
H A Dpidfd.hdiff bcda4c863efdd038c4f8ade63ff435ed663cc286 Wed May 24 01:22:07 CEST 2023 Ziqi Zhao <astrajoan@yahoo.com> selftest: pidfd: Omit long and repeating outputs

An output message:

> # # waitpid WEXITSTATUS=0

will be printed for 30,000+ times in the `pidfd_test` selftest, which
does not seem ideal. This patch removes the print logic in the
`wait_for_pid` function, so each call to this function does not output
a line by default. Any existing call sites where the extra line might
be beneficial have been modified to include extra print statements
outside of the function calls.

Signed-off-by: Ziqi Zhao <astrajoan@yahoo.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
H A Dpidfd_test.cdiff bcda4c863efdd038c4f8ade63ff435ed663cc286 Wed May 24 01:22:07 CEST 2023 Ziqi Zhao <astrajoan@yahoo.com> selftest: pidfd: Omit long and repeating outputs

An output message:

> # # waitpid WEXITSTATUS=0

will be printed for 30,000+ times in the `pidfd_test` selftest, which
does not seem ideal. This patch removes the print logic in the
`wait_for_pid` function, so each call to this function does not output
a line by default. Any existing call sites where the extra line might
be beneficial have been modified to include extra print statements
outside of the function calls.

Signed-off-by: Ziqi Zhao <astrajoan@yahoo.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>