Home | History | Annotate | Download | only in lib

Lines Matching refs:Probe

14 # relevant USDT probe requires enabling through a semaphore.
36 class Probe(object):
39 Initialize a new probe object with a specific language, set of process
41 categories. The dictionary is a mapping of USDT probe names (such as
156 "java": Probe("java", ["java"], {
165 "node": Probe("node", ["node"], {
168 "perl": Probe("perl", ["perl"], {
171 "php": Probe("php", ["php"], {
176 "python": Probe("python", ["python"], {
180 "ruby": Probe("ruby", ["ruby", "irb"], {
193 "tcl": Probe("tcl", ["tclsh", "wish"], {
210 for probe in self.probes:
211 print("Attached to %s processes:" % probe.language,
212 str.join(', ', map(str, probe.targets)))
214 usdts = [usdt for probe in self.probes for usdt in probe.get_usdts()]
229 for probe in self.probes:
230 probe.cleanup() # Cleans up USDT contexts
254 for probe in self.probes:
255 counts.update(probe.get_counts(self.bpf))
256 targets.update(probe.targets)