Commit 7a4002ec authored by Namhyung Kim's avatar Namhyung Kim
Browse files

perf sched: Use RC_CHK_EQUAL() to compare pointers



So that it can check two pointers to the same object properly when
REFCNT_CHECKING is on.

Fixes: 78c32f4c ("libperf rc_check: Add RC_CHK_EQUAL")
Reviewed-by: default avatarIan Rogers <irogers@google.com>
Tested-by: default avatarIan Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250703014942.1369397-7-namhyung@kernel.org


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 117e5c33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment