Re: [PATCH v6 1/3] perf lock: Fix parse_lock_type which only retrieve one lock flag

From: Namhyung Kim
Date: Sat Jan 18 2025 - 12:59:35 EST


On Thu, 16 Jan 2025 15:58:14 -0800, Chun-Tse Shao wrote:

> `parse_lock_type` can only add the first lock flag in `lock_type_table`
> given input `str`. For example, for `Y rwlock`, it only adds `rwlock:R`
> into this perf session. Another example is for `-Y mutex`, it only adds
> the mutex without `LCB_F_SPIN` flag. The patch fixes this issue, makes
> sure both `rwlock:R` and `rwlock:W` will be added with `-Y rwlock`, and
> so on.
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung