From 7324ba5b4d2a492f7c8ab89f87e8b9a3e186fb1d Mon Sep 17 00:00:00 2001 From: Brendan Gregg Date: Tue, 22 Jan 2019 15:47:08 -0800 Subject: [PATCH] profile.py: return kernel annotations for folded stacks --- tools/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profile.py b/tools/profile.py index d1d3d26ac612..a803b9e0c363 100755 --- a/tools/profile.py +++ b/tools/profile.py @@ -319,7 +319,7 @@ def aksym(addr): if stack_id_err(k.kernel_stack_id): line.append("[Missed Kernel Stack]") else: - line.extend([b.ksym(addr) for addr in reversed(kernel_stack)]) + line.extend([aksym(addr) for addr in reversed(kernel_stack)]) print("%s %d" % (b";".join(line).decode('utf-8', 'replace'), v.value)) else: # print default multi-line stack output