diff options
| author | 2026-05-14 17:20:42 +0200 | |
|---|---|---|
| committer | 2026-06-04 16:44:24 +0200 | |
| commit | a963fbf3166f2e178ac38b6c3c186a0c98092fb9 (patch) | |
| tree | 7ceab50727f3a73ec79e12cd9359045bda5d4fd2 /tools/perf/scripts/python/bin | |
| parent | tools/rv: Ensure monitor name and desc are NUL-terminated (diff) | |
tools/rv: Fix substring match bug in monitor name search
__ikm_find_monitor_name() relies on strstr() to find a monitor by name,
which fails if the target monitor is a substring of a previously listed
monitor.
Fix it by tokenizing the available_monitors file and matching full
tokens instead.
Fixes: eba321a16fc6 ("tools/rv: Add support for nested monitors")
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260514152055.229162-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
