Commit 7324ba5b authored by Brendan Gregg's avatar Brendan Gregg

profile.py: return kernel annotations for folded stacks

parent 012551bf
......@@ -319,7 +319,7 @@ for k, v in sorted(counts.items(), key=lambda counts: counts[1].value):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment