Home | History | Annotate | Download | only in python

Lines Matching refs:kallsyms

14 kallsyms = []
17 global kallsyms
20 f = open("/proc/kallsyms", "r")
27 kallsyms.append((loc, name))
28 kallsyms.sort()
33 # Invariant: kallsyms[i][0] <= loc for all 0 <= i <= start
34 # kallsyms[i][0] > loc for all end <= i < len(kallsyms)
35 start, end = -1, len(kallsyms)
38 if loc < kallsyms[pivot][0]:
43 # Now (start == -1 or kallsyms[start][0] <= loc)
44 # and (start == len(kallsyms) - 1 or loc < kallsyms[start + 1][0])
46 symloc, name = kallsyms[start]
64 print "Gathering kallsyms data"