Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
6cc0e7ad
Commit
6cc0e7ad
authored
Jan 22, 2019
by
Teng Qin
Committed by
GitHub
Jan 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2157 from brendangregg/tools
profile.py: return kernel annotations for folded stacks
parents
012551bf
7324ba5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/profile.py
tools/profile.py
+1
-1
No files found.
tools/profile.py
View file @
6cc0e7ad
...
...
@@ -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
([
a
ksym
(
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment