]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf lock: Rename fields in lock_type_table
authorChun-Tse Shao <ctshao@google.com>
Thu, 16 Jan 2025 23:58:16 +0000 (15:58 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 17 Jan 2025 18:12:41 +0000 (10:12 -0800)
commitac22d75377a04ceca53a8d438440e82bf4c722fc
treef39b7fda733840ca2738c0aff1626f36e38d86c8
parente9188ae3cd4e75297430c932d6e256c053bcc896
perf lock: Rename fields in lock_type_table

`lock_type_table` contains `name` and `str` which can be confusing.
Rename them to `flags_name` and `lock_name` and add descriptions to
enhance understanding.
Tested by building perf for x86.

Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Chun-Tse Shao <ctshao@google.com>
Cc: nick.forrington@arm.com
Link: https://lore.kernel.org/r/20250116235838.2769691-3-ctshao@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-lock.c