summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThorsten Blum <blum@kernel.org>2026-09-07 10:43:20 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-13 11:44:50 +0300
commitccd5ff410feb2adcf3840d071cf796cc5c549520 (patch)
treeb04858b52debe609638c9d9a4e5aab86b658e20f /tools/perf/scripts/python/bin
parent4981fb7fe9eb1af526236384e8e0505d8c18928e (diff)
lib/string_choices: Add str_supported_unsupported() helper
Add str_supported_unsupported() to return "supported" or "unsupported" depending on the boolean argument. Also add the inverse str_unsupported_supported(). Suggested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Thorsten Blum <blum@kernel.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://patch.msgid.link/20260907084319.351688-5-blum@kernel.org Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions