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
3af580eb
Commit
3af580eb
authored
8 years ago
by
Brendan Gregg
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #584 from ygrek/master
tools: fix getting {ext4,btrfs}_file_operations address (ref #583)
parents
5c998acb
a5e2ce53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
tools/btrfsdist.py
tools/btrfsdist.py
+1
-0
tools/btrfsslower.py
tools/btrfsslower.py
+1
-0
tools/ext4dist.py
tools/ext4dist.py
+1
-0
No files found.
tools/btrfsdist.py
View file @
3af580eb
...
...
@@ -169,6 +169,7 @@ with open(kallsyms) as syms:
for
line
in
syms
:
a
=
line
.
rstrip
().
split
()
(
addr
,
name
)
=
(
a
[
0
],
a
[
2
])
name
=
name
.
split
(
"
\
t
"
)[
0
]
if
name
==
"btrfs_file_operations"
:
ops
=
"0x"
+
addr
break
...
...
This diff is collapsed.
Click to expand it.
tools/btrfsslower.py
View file @
3af580eb
...
...
@@ -251,6 +251,7 @@ with open(kallsyms) as syms:
for
line
in
syms
:
a
=
line
.
rstrip
().
split
()
(
addr
,
name
)
=
(
a
[
0
],
a
[
2
])
name
=
name
.
split
(
"
\
t
"
)[
0
]
if
name
==
"btrfs_file_operations"
:
ops
=
"0x"
+
addr
break
...
...
This diff is collapsed.
Click to expand it.
tools/ext4dist.py
View file @
3af580eb
...
...
@@ -149,6 +149,7 @@ with open(kallsyms) as syms:
ops
=
''
for
line
in
syms
:
(
addr
,
size
,
name
)
=
line
.
rstrip
().
split
(
" "
,
2
)
name
=
name
.
split
(
"
\
t
"
)[
0
]
if
name
==
"ext4_file_operations"
:
ops
=
"0x"
+
addr
break
...
...
This diff is collapsed.
Click to expand it.
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