summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTomas Glozar <tglozar@redhat.com>2025-01-07 17:48:21 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-01-24 21:45:45 +0300
commit80d3ba1cf51bfbbb3b098434f2b2c95cd7c0ae5c (patch)
tree4ff741b183ce03cb12e6559be550698818361f89 /tools/perf/util/scripting-engines/trace-event-python.c
parent80967b354a76b360943af384c10d807d98bea5c4 (diff)
downloadlinux-80d3ba1cf51bfbbb3b098434f2b2c95cd7c0ae5c.tar.xz
rtla/osnoise: Distinguish missing workload option
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions