]> git.baikalelectronics.ru Git - kernel.git/commit
rtla/osnoise: Fix error message when failing to enable trace instance
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Fri, 18 Feb 2022 17:57:09 +0000 (18:57 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 26 Feb 2022 02:05:30 +0000 (21:05 -0500)
commit1b9e7bd542c25cc3806af01cca33a9b9a91e5172
tree77ed492e57aed9b44d59dd7436ab7f506b521181
parent85c5b8ec25e9ee3f54584b3af9d8bc9cf09572a4
rtla/osnoise: Fix error message when failing to enable trace instance

When a trace instance creation fails, tools are printing:

Could not enable -> osnoiser <- tracer for tracing

Print the actual (and correct) name of the tracer it fails to enable.

Link: https://lkml.kernel.org/r/53ef0582605af91eca14b19dba9fc9febb95d4f9.1645206561.git.bristot@kernel.org
Fixes: a0405c18bca5 ("rtla: Helper functions for rtla")
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/src/osnoise.c