CMS 3D CMS Logo

Functions | Variables
symbols Namespace Reference

Functions

def get_libraries (fname)
 
def get_symbols (fname)
 

Variables

 addr_re
 
 code_re
 
 demangled
 
 dependencies
 
 deps
 
 dm
 
 filetype
 
 fpth
 
 G
 
 H
 
 ldd_line_re
 
 libraries
 
 name
 
 nm_line_re
 
 provides
 
 requires
 
 s
 
 symbol_demunged_re
 
 symbol_re
 
 symbols_re_skip
 
 T
 
 unmet
 

Function Documentation

def symbols.get_libraries (   fname)

Definition at line 34 of file symbols.py.

References PVValHelper.add(), and split.

34 def get_libraries(fname):
35  lines = subprocess.check_output(["ldd",fname])
36  for l in lines.splitlines():
37  m = ldd_line_re.match(l)
38  if not m: continue
39  library = m.group(2)
40  libraries[os.path.basename(fname)].add(os.path.basename(library.rstrip('\r\n')))
41 
42 
43 paths=os.environ['LD_LIBRARY_PATH'].split(':')
44 
def get_libraries(fname)
Definition: symbols.py:34
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
double split
Definition: MVATrainer.cc:139
def symbols.get_symbols (   fname)

Definition at line 23 of file symbols.py.

References PVValHelper.add().

23 def get_symbols(fname):
24  lines = subprocess.check_output(["nm", "-g", fname])
25  for l in lines.splitlines():
26  m = nm_line_re.match(l)
27  if not m : continue
28  symbol = m.group('symbol')
29  if m.group('code') == 'U':
30  requires[os.path.basename(fname)].add(symbol)
31  else:
32  provides[symbol].add(os.path.basename(fname))
33 
def get_symbols(fname)
Definition: symbols.py:23
void add(std::map< std::string, TH1 * > &h, TH1 *hist)

Variable Documentation

symbols.addr_re

Definition at line 9 of file symbols.py.

symbols.code_re

Definition at line 10 of file symbols.py.

symbols.demangled
symbols.dependencies
symbols.deps
symbols.dm
symbols.filetype
symbols.fpth

Definition at line 48 of file symbols.py.

symbols.G

Definition at line 71 of file symbols.py.

symbols.H

Definition at line 88 of file symbols.py.

symbols.ldd_line_re

Definition at line 16 of file symbols.py.

symbols.libraries

Definition at line 21 of file symbols.py.

symbols.name

Definition at line 94 of file symbols.py.

symbols.nm_line_re

Definition at line 14 of file symbols.py.

symbols.provides

Definition at line 19 of file symbols.py.

symbols.requires

Definition at line 18 of file symbols.py.

symbols.s

Definition at line 77 of file symbols.py.

symbols.symbol_demunged_re

Definition at line 12 of file symbols.py.

symbols.symbol_re

Definition at line 11 of file symbols.py.

symbols.symbols_re_skip

Definition at line 13 of file symbols.py.

symbols.T

Definition at line 93 of file symbols.py.

symbols.unmet

Definition at line 61 of file symbols.py.