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 33 of file symbols.py.

References Clusterizer1DCommons.add(), and split.

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

Definition at line 22 of file symbols.py.

References Clusterizer1DCommons.add().

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

Variable Documentation

symbols.addr_re

Definition at line 8 of file symbols.py.

symbols.code_re

Definition at line 9 of file symbols.py.

symbols.demangled
symbols.dependencies

Definition at line 19 of file symbols.py.

Referenced by EcalDQMonitorTask.EcalDQMonitorTask().

symbols.deps
symbols.dm
symbols.filetype
symbols.fpth

Definition at line 47 of file symbols.py.

symbols.G

Definition at line 70 of file symbols.py.

symbols.H

Definition at line 87 of file symbols.py.

symbols.ldd_line_re

Definition at line 15 of file symbols.py.

symbols.libraries

Definition at line 20 of file symbols.py.

symbols.name

Definition at line 93 of file symbols.py.

symbols.nm_line_re

Definition at line 13 of file symbols.py.

symbols.provides

Definition at line 18 of file symbols.py.

symbols.requires

Definition at line 17 of file symbols.py.

symbols.s

Definition at line 76 of file symbols.py.

symbols.symbol_demunged_re

Definition at line 11 of file symbols.py.

symbols.symbol_re

Definition at line 10 of file symbols.py.

symbols.symbols_re_skip

Definition at line 12 of file symbols.py.

symbols.T

Definition at line 92 of file symbols.py.

symbols.unmet

Definition at line 60 of file symbols.py.