summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2026-02-10 19:31:13 +0800
committerSasha Levin <sashal@kernel.org>2026-03-04 07:21:26 -0500
commit0811b951377e32c06ed47c579cd1ceda59165d40 (patch)
tree3b8c5e18c4c50604fe2b02c5c2b0b1243ddcf0c3 /tools/perf/scripts/python/stackcollapse.py
parent7a6b754bddd346d9c5e83ef95fd87f40538f9835 (diff)
LoongArch: Use %px to print unmodified unwinding address
[ Upstream commit 77403a06d845db1caf9a6b0867b43e9dd8de8e4a ] Currently, use %p to prevent leaking information about the kernel memory layout when printing the PC address, but the kernel log messages are not useful to debug problem if bt_address() returns 0. Given that the type of "pc" variable is unsigned long, it should use %px to print the unmodified unwinding address. Cc: stable@vger.kernel.org Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions