Commit 5c998acb authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #583 from ygrek/master

ext4slower: fix getting kallsyms address
parents 11de2985 189f87f1
......@@ -245,6 +245,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
......
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