diff options
author | Tomas Glozar <tglozar@redhat.com> | 2025-01-07 15:48:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:05:42 +0100 |
commit | 6b3ce60f2df35517f95e17a16b920f8ccff9e8fd (patch) | |
tree | f25643f3bd9140990daca364d7de17342eab4d3e /tools/tracing/rtla/src/timerlat_hist.c | |
parent | b45707c3c0671d9c49fa7b94c197a508aa55d16f (diff) |
rtla/osnoise: Distinguish missing workload option
commit 80d3ba1cf51bfbbb3b098434f2b2c95cd7c0ae5c upstream.
osnoise_set_workload returns -1 for both missing OSNOISE_WORKLOAD option
and failure in setting the option.
Return -1 for missing and -2 for failure to distinguish them.
Cc: stable@vger.kernel.org
Cc: John Kacur <jkacur@redhat.com>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Link: https://lore.kernel.org/20250107144823.239782-2-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/tracing/rtla/src/timerlat_hist.c')
0 files changed, 0 insertions, 0 deletions