]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf lock: Make rb_tree helper functions generic
authorChun-Tse Shao <ctshao@google.com>
Thu, 27 Feb 2025 00:28:55 +0000 (16:28 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 28 Feb 2025 08:29:37 +0000 (00:29 -0800)
commita40ccb7d98d566a14b6f9c6b3985f91db407306a
treedc42b7bc95e0a799365803cd4e84247d7ccf4cff
parent425bc88352150506075a3aca80750419b5eac4a5
perf lock: Make rb_tree helper functions generic

The rb_tree helper functions can be reused for parsing `owner_lock_stat`
into rb tree for sorting.

Signed-off-by: Chun-Tse Shao <ctshao@google.com>
Tested-by: Athira Rajeev <atrajeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20250227003359.732948-4-ctshao@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-lock.c