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-09-18 20:45:59 +0300 |
| commit | 5383cf280ef4f00b15f1d9e2a2886d0d02c0118b (patch) | |
| tree | d36b72ad5a90faf96f1df57ab873655aa8581791 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5ea02ed54e8127708684875c4e3cd30e3748dda3 (diff) | |
| download | linux-next-5383cf280ef4f00b15f1d9e2a2886d0d02c0118b.tar.gz linux-next-5383cf280ef4f00b15f1d9e2a2886d0d02c0118b.zip | |
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
