]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtla: Fix __set_sched_attr error message
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Fri, 29 Apr 2022 16:28:13 +0000 (18:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:26:15 +0000 (10:26 +0200)
commite9b5510fd9e2d8e0123f66e40c565c472cdf5a78
tree98d1ed6e30b33cd1af27bdcde9ce39482addd559
parent03cb9699b5018ba770a1c17dc57a2fcb9751ee99
rtla: Fix __set_sched_attr error message

[ Upstream commit 941a53c39a151e9aceef153cdfaed0f166ba01b7 ]

rtla's function __set_sched_attr() was borrowed from stalld, but I
forgot to update the error message to something meaningful for rtla.

 Update the error message from:
        boost_with_deadline failed to boost pid PID: STRERROR
 to a proper one:
        Failed to set sched attributes to the pid PID: STRERROR

Link: https://lkml.kernel.org/r/a2d19b2c53f6512aefd1ee7f8c1bd19d4fc8b99d.1651247710.git.bristot@kernel.org
Link: https://lore.kernel.org/r/eeded730413e7feaa13f946924bcf2cbf7dd9561.1650617571.git.bristot@kernel.org/
Fixes: b1696371d865 ("rtla: Helper functions for rtla")
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/tracing/rtla/src/utils.c