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

References PVValHelper.add().

38 def get_libraries(fname):
39  lines = subprocess.check_output(["ldd", fname])
40  for line in lines.splitlines():
41  m = ldd_line_re.match(line)
42  if not m:
43  continue
44  library = m.group(2)
45  libraries[os.path.basename(fname)].add(
46  os.path.basename(library.rstrip('\r\n')))
47 
48 
def get_libraries(fname)
Definition: symbols.py:38
void add(std::map< std::string, TH1 *> &h, TH1 *hist)

◆ get_symbols()

def symbols.get_symbols (   fname)

Definition at line 25 of file symbols.py.

References PVValHelper.add().

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

Variable Documentation

◆ addr_re

symbols.addr_re

Definition at line 10 of file symbols.py.

◆ code_re

symbols.code_re

Definition at line 11 of file symbols.py.

◆ demangled

◆ dependencies

symbols.dependencies

Definition at line 21 of file symbols.py.

Referenced by EcalDQMonitorTask.EcalDQMonitorTask().

◆ deps

◆ dm

◆ filetype

symbols.filetype

Definition at line 55 of file symbols.py.

◆ fpth

symbols.fpth

Definition at line 54 of file symbols.py.

◆ G

symbols.G

Definition at line 80 of file symbols.py.

◆ H

symbols.H

Definition at line 98 of file symbols.py.

◆ ldd_line_re

symbols.ldd_line_re

Definition at line 17 of file symbols.py.

◆ libraries

symbols.libraries

Definition at line 22 of file symbols.py.

◆ name

symbols.name

Definition at line 105 of file symbols.py.

◆ nm_line_re

symbols.nm_line_re

Definition at line 15 of file symbols.py.

◆ paths

symbols.paths

Definition at line 49 of file symbols.py.

◆ provides

symbols.provides

Definition at line 20 of file symbols.py.

◆ requires

symbols.requires

Definition at line 19 of file symbols.py.

◆ s

symbols.s

Definition at line 87 of file symbols.py.

◆ symbol_demunged_re

symbols.symbol_demunged_re

Definition at line 13 of file symbols.py.

◆ symbol_re

symbols.symbol_re

Definition at line 12 of file symbols.py.

◆ symbols_re_skip

symbols.symbols_re_skip

Definition at line 14 of file symbols.py.

◆ T

symbols.T

Definition at line 104 of file symbols.py.

◆ unmet

symbols.unmet

Definition at line 69 of file symbols.py.