Skip to content

Commit

Permalink
Merge pull request #2157 from brendangregg/tools
Browse files Browse the repository at this point in the history
profile.py: return kernel annotations for folded stacks
  • Loading branch information
palmtenor committed Jan 23, 2019
2 parents 012551b + 7324ba5 commit 6cc0e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/profile.py
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 6cc0e7a

Please sign in to comment.