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

◆ get_libraries()

def symbols.get_libraries (   fname)

Definition at line 34 of file symbols.py.

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 

References PVValHelper.add(), and submitPVValidationJobs.split().

◆ get_symbols()

def symbols.get_symbols (   fname)

Definition at line 23 of file symbols.py.

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 

References PVValHelper.add().

Variable Documentation

◆ addr_re

symbols.addr_re

Definition at line 9 of file symbols.py.

◆ code_re

symbols.code_re

Definition at line 10 of file symbols.py.

◆ demangled

symbols.demangled

◆ dependencies

symbols.dependencies

Definition at line 20 of file symbols.py.

Referenced by EcalDQMonitorTask.EcalDQMonitorTask().

◆ deps

symbols.deps

◆ dm

symbols.dm

◆ filetype

symbols.filetype

◆ fpth

symbols.fpth

Definition at line 48 of file symbols.py.

◆ G

symbols.G

Definition at line 71 of file symbols.py.

◆ H

symbols.H

Definition at line 88 of file symbols.py.

◆ ldd_line_re

symbols.ldd_line_re

Definition at line 16 of file symbols.py.

◆ libraries

symbols.libraries

Definition at line 21 of file symbols.py.

◆ name

symbols.name

Definition at line 94 of file symbols.py.

◆ nm_line_re

symbols.nm_line_re

Definition at line 14 of file symbols.py.

◆ provides

symbols.provides

Definition at line 19 of file symbols.py.

◆ requires

symbols.requires

Definition at line 18 of file symbols.py.

◆ s

symbols.s

Definition at line 77 of file symbols.py.

◆ symbol_demunged_re

symbols.symbol_demunged_re

Definition at line 12 of file symbols.py.

◆ symbol_re

symbols.symbol_re

Definition at line 11 of file symbols.py.

◆ symbols_re_skip

symbols.symbols_re_skip

Definition at line 13 of file symbols.py.

◆ T

symbols.T

Definition at line 93 of file symbols.py.

◆ unmet

symbols.unmet

Definition at line 61 of file symbols.py.

symbols.get_symbols
def get_symbols(fname)
Definition: symbols.py:23
symbols.get_libraries
def get_libraries(fname)
Definition: symbols.py:34
submitPVValidationJobs.split
def split(sequence, size)
Definition: submitPVValidationJobs.py:352
PVValHelper::add
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
Definition: PVValidationHelpers.cc:12