Skip to content

Commit

Permalink
profile.py: return kernel annotations for folded stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
brendangregg committed Jan 22, 2019
1 parent 012551b commit 7324ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7324ba5

Please sign in to comment.