diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-09-07 10:43:20 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-13 11:44:50 +0300 |
| commit | ccd5ff410feb2adcf3840d071cf796cc5c549520 (patch) | |
| tree | b04858b52debe609638c9d9a4e5aab86b658e20f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4981fb7fe9eb1af526236384e8e0505d8c18928e (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
