Commit 9e684936 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

spinlock_debug: Print offset in addition to symbol name



If one has two spinlocks embedded in a structure that kallsyms
knows about and one of the spinlocks locks up we will print the
name of the containing structure instead of the address of the
lock. This is quite bad, so let's use %pS instead of %ps so we
get an offset into the symbol so we can determine which lock is
having problems.

Change-Id: If6fbb2eb2316b846d96da76c35fcfeadbef64401
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent dadf2c4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment