Home | History | Annotate | Download | only in tools

Lines Matching refs:data_name

63   def __init__(self, data_name, name_filter):
67 data_name: the name of the file containing the counters.
70 self.data_name = data_name
100 if not os.path.exists(self.data_name):
101 maps_name = "/proc/%s/maps" % self.data_name
103 print "\"%s\" is neither a counter file nor a PID." % self.data_name
107 self.data_name = None
110 self.data_name = m.group(0)
112 if self.data_name is None:
113 print "Can't find counter file in maps for PID %s." % self.data_name
117 data_file = open(self.data_name, "r")
126 print "File %s is not stats data." % self.data_name