frysk.dwfl
Class DwflFactory

java.lang.Object
  extended by frysk.dwfl.DwflFactory

public class DwflFactory
extends Object

Factory for creating Dwfl objects for Procs and Tasks.


Field Summary
private static Log fine
           
 
Constructor Summary
DwflFactory()
           
 
Method Summary
static boolean isVDSO(Proc proc, MemoryMap map)
          Check whether a given MemoryMap from a Proc refers to the vdso section.
(package private) static Dwfl updateDwfl(Dwfl dwfl, Task task)
          Refresh an existing dwfl.
private static long VDSOAddressLow(Proc proc)
          Find the low address of the vdso map section of a given Proc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fine

private static final Log fine
Constructor Detail

DwflFactory

public DwflFactory()
Method Detail

isVDSO

public static boolean isVDSO(Proc proc,
                             MemoryMap map)
Check whether a given MemoryMap from a Proc refers to the vdso section.

Parameters:
proc - the Proc the map refers to.
map - the Map to check.
Returns:
true if map is not null and refers to the vdso section.

VDSOAddressLow

private static long VDSOAddressLow(Proc proc)
Find the low address of the vdso map section of a given Proc.

Parameters:
proc - the given Proc.
Returns:
the low address of the vdso map section of proc.

updateDwfl

static Dwfl updateDwfl(Dwfl dwfl,
                       Task task)
Refresh an existing dwfl. Package private, use DwflCache.getDwfl().