Definition at line 70 of file dso-stats.py.
◆ __init__()
def dso-stats.Data.__init__ |
( |
|
self, |
|
|
|
secs = None , |
|
|
|
name = None |
|
) |
| |
◆ __iadd__()
def dso-stats.Data.__iadd__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 92 of file dso-stats.py.
92 def __iadd__ (self, other):
94 self.code += other.code
95 self.puredata += other.puredata
97 self.java += other.java
98 self.initdata += other.initdata
100 self.tbss += other.tbss
103 self.frag += other.frag
◆ add_secs()
def dso-stats.Data.add_secs |
( |
|
self, |
|
|
|
secs |
|
) |
| |
Definition at line 120 of file dso-stats.py.
120 def add_secs (self, secs):
122 if s
in [
'.hash',
'.dynsym',
'.dynstr',
'.gnu.version',
123 '.gnu.version_r',
'.rel.dyn',
'.rel.plt',
124 '.init',
'.plt',
'.fini',
'.init_array',
'.fini_array',
125 '.gnu.hash',
'.rela.dyn',
'.rela.plt',
134 elif s
in [
'.rodata']:
138 elif s
in [
'.eh_frame_hdr',
'.eh_frame',
'.gcc_except_table']:
142 elif s
in [
'.ctors',
'.dtors']:
151 elif s
in [
'.dynamic',
'.got',
'.got.plt',
'.plt.got']:
165 elif s
in [
'.comment',
'.gnu_debuglink']
or s.startswith (
'.debug'):
169 print (
'** Unknown section [%s] **' % s, file=sys.stderr)
◆ dump()
def dso-stats.Data.dump |
( |
|
self, |
|
|
|
f |
|
) |
| |
Definition at line 175 of file dso-stats.py.
177 kw[
'name'] = _cleanname (self.name)
178 kw[
'dso'] = _form (self.dso)
179 kw[
'code'] = _form (self.code)
180 kw[
'puredata'] = _form (self.puredata)
181 kw[
'cpp'] = _form (self.cpp)
182 kw[
'java'] = _form (self.java)
183 kw[
'initdata'] = _form (self.initdata)
184 kw[
'frag'] = _form (self.frag)
185 kw[
'bss'] = _form (self.bss)
186 kw[
'tbss'] = _form (self.tbss)
187 kw[
'total'] = _form (self.total())
188 print (format % kw, file=f)
◆ est_frag()
def dso-stats.Data.est_frag |
( |
|
self | ) |
|
Definition at line 107 of file dso-stats.py.
108 self.frag += _frag (self.ro)
109 self.frag += _frag (self.rw)
110 self.frag += _frag (self.bss)
111 self.frag += _frag (self.tbss)
◆ total()
def dso-stats.Data.total |
( |
|
self | ) |
|
Definition at line 115 of file dso-stats.py.
116 return (self.dso + self.code + self.puredata + self.cpp +
117 self.java + self.initdata + self.frag + self.bss + self.tbss)
◆ bss
◆ code
◆ cpp
◆ dso
◆ frag
◆ initdata
◆ java
◆ name
◆ puredata
◆ ro
◆ rw
◆ tbss
The documentation for this class was generated from the following file: