Home | History | Annotate | Download | only in tools

Lines Matching refs:Probe

36 class Probe(object):
38 """Init a new probe.
40 Init the probe from the pattern provided by the user. The supported
44 func -- probe a kernel function
45 lib:func -- probe a user-space function in the library 'lib'
46 /path:func -- probe a user-space function in binary '/path'
49 t:cat:event -- probe a kernel tracepoint
50 u:lib:probe -- probe a USDT tracepoint
150 for probe in self.usdt.enumerate_probes():
151 if not self.pid and (probe.bin_path != self.library):
153 if re.match(self.pattern, probe.name):
154 matches.append(probe.name)
250 self.probe = Probe(self.args.pattern, self.args.regexp, self.args.pid)
261 self.probe.load()
262 self.probe.attach()
264 (self.probe.matched, bytes(self.args.pattern)))
283 counts = self.probe.counts()
289 (self.probe.trace_functions[k.value], v.value))
295 self.probe.clear()