HomeSort by relevance Sort by last modified time
    Searched refs:Probe (Results 1 - 25 of 30) sorted by null

1 2

  /external/bcc/tools/lib/
ugc.py 70 class Probe(object):
150 probes.append(Probe("mem__pool__gc__begin", "mem__pool__gc__end",
152 probes.append(Probe("gc__begin", "gc__end",
165 probes.append(Probe("gc__start", "gc__done", "", end_save,
188 probes.append(Probe("gc__start", "gc__done",
195 probes.append(Probe("gc__mark__begin", "gc__mark__end",
197 probes.append(Probe("gc__sweep__begin", "gc__sweep__end",
205 for probe in probes:
206 program += probe.generate()
207 probe.attach(
    [all...]
ustat.py 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"],
    [all...]
  /external/compiler-rt/lib/ubsan/
ubsan_type_hash_itanium.cc 100 unsigned Probe = First;
102 if (!__ubsan_vptr_hash_set[Probe] || __ubsan_vptr_hash_set[Probe] == V)
103 return &__ubsan_vptr_hash_set[Probe];
104 Probe += ((V >> 16) & 65535) + 1;
105 if (Probe >= HashTableSize)
106 Probe -= HashTableSize;
108 // FIXME: Pick a random entry from the probe sequence to evict rather than
  /external/bcc/tools/
trace.py 8 # probe [probe ...]
24 class Probe(object):
53 def __init__(self, probe, string_size, kernel_stack, user_stack):
56 self.raw_probe = probe
60 Probe.probe_count += 1
62 self.probe_num = Probe.probe_count
82 raise ValueError("error in probe '%s': %s" %
89 # filter/print part, or not. Find the probe specifier first --
145 self._bail("probe type must be '', 'p', 't', 'r', "
    [all...]
inject.py 40 class Probe:
59 raise ValueError("error in probe '%s': %s" %
63 return Probe.errno_mapping[Probe.mode]
71 if Probe.probability == 1:
74 early_pred = "bpf_get_prandom_u32() > %s" % str(int((1<<32)*Probe.probability))
347 Probe.configure(self.args.mode, self.args.probability)
354 self.probes.append(Probe(fx, preds, self.length, True))
360 self.probes.append(Probe(fx, preds, self.length, False))
argdist.py 20 class Probe(object):
28 for alias, subst in Probe.aliases.items():
108 # argument we needed to probe using $entry(name), and they all
110 # the method entry probe).
147 raise ValueError("error parsing probe '%s': %s" %
151 # Everything after '#' is the probe label, ignore it
155 self._bail("at least the probe type, library, and " +
160 self._bail("probe type must be 'p', 'r', 't', or 'u'" +
204 (self.function, Probe.next_probe_index))
212 # If the user didn't specify an expression to probe, we prob
    [all...]
funccount.py 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()
    [all...]
stackcount.py 29 class Probe(object):
32 """Init a new probe.
34 Init the probe from the pattern provided by the user. The supported
38 func -- probe a kernel function
39 lib:func -- probe a user-space function in the library 'lib'
42 t:cat:event -- probe a kernel tracepoint
43 u:lib:probe -- probe a USDT tracepoint
179 for probe in self.usdt.enumerate_probes():
180 if not self.pid and (probe.bin_path != self.library)
    [all...]
  /external/bcc/src/cc/usdt/
usdt.cc 54 Probe::Probe(const char *bin_path, const char *provider, const char *name,
63 bool Probe::in_shared_object(const std::string &bin_path) {
71 bool Probe::resolve_global_address(uint64_t *global, const std::string &bin_path,
82 bool Probe::add_to_semaphore(int16_t val) {
119 bool Probe::enable(const std::string &fn_name) {
135 bool Probe::disable() {
148 std::string Probe::largest_arg_type(size_t arg_n) {
161 bool Probe::usdt_getarg(std::ostream &stream) {
168 bool Probe::usdt_getarg(std::ostream &stream, const std::string& probe_func)
493 USDT::Probe *probe = ctx->get(provider_name, probe_name); local
508 USDT::Probe *probe = ctx->get(provider_name, probe_name); local
    [all...]
  /external/llvm/lib/Support/
FoldingSet.cpp 283 void *Probe = OldBuckets[i];
284 if (!Probe) continue;
285 while (Node *NodeInBucket = GetNextPtr(Probe)) {
287 Probe = NodeInBucket->getNextInBucket();
324 void *Probe = *Bucket;
329 while (Node *NodeInBucket = GetNextPtr(Probe)) {
334 Probe = NodeInBucket->getNextInBucket();
439 void *Probe = NodePtr->getNextInBucket();
441 if (FoldingSetNode *NextNodeInBucket = GetNextPtr(Probe))
445 void **Bucket = GetBucketPtr(Probe);
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Support/
FoldingSet.cpp 260 void *Probe = OldBuckets[i];
261 if (!Probe) continue;
262 while (Node *NodeInBucket = GetNextPtr(Probe)) {
264 Probe = NodeInBucket->getNextInBucket();
286 void *Probe = *Bucket;
291 while (Node *NodeInBucket = GetNextPtr(Probe)) {
296 Probe = NodeInBucket->getNextInBucket();
401 void *Probe = NodePtr->getNextInBucket();
403 if (FoldingSetNode *NextNodeInBucket = GetNextPtr(Probe))
407 void **Bucket = GetBucketPtr(Probe);
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
FoldingSet.cpp 285 void *Probe = OldBuckets[i];
286 if (!Probe) continue;
287 while (Node *NodeInBucket = GetNextPtr(Probe)) {
289 Probe = NodeInBucket->getNextInBucket();
326 void *Probe = *Bucket;
331 while (Node *NodeInBucket = GetNextPtr(Probe)) {
336 Probe = NodeInBucket->getNextInBucket();
441 void *Probe = NodePtr->getNextInBucket();
443 if (FoldingSetNode *NextNodeInBucket = GetNextPtr(Probe))
447 void **Bucket = GetBucketPtr(Probe);
    [all...]
  /external/swiftshader/third_party/llvm-subzero/lib/Support/
FoldingSet.cpp 283 void *Probe = OldBuckets[i];
284 if (!Probe) continue;
285 while (Node *NodeInBucket = GetNextPtr(Probe)) {
287 Probe = NodeInBucket->getNextInBucket();
324 void *Probe = *Bucket;
329 while (Node *NodeInBucket = GetNextPtr(Probe)) {
334 Probe = NodeInBucket->getNextInBucket();
439 void *Probe = NodePtr->getNextInBucket();
441 if (FoldingSetNode *NextNodeInBucket = GetNextPtr(Probe))
445 void **Bucket = GetBucketPtr(Probe);
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
DebugInfoProbe.cpp 1 //===-- DebugInfoProbe.cpp - DebugInfo Probe ------------------------------===//
10 // This file implements DebugInfoProbe. This probe can be used by a pass
32 EnableDebugInfoProbe("enable-debug-info-probe", cl::Hidden,
33 cl::desc("Enable debug info probe"));
208 DebugInfoProbe *&Probe = Entry.getValue();
209 if (!Probe)
210 Probe = new DebugInfoProbe();
211 Probe->initialize(P->getPassName(), F);
222 DebugInfoProbe *&Probe = Entry.getValue();
223 assert (Probe && "DebugInfoProbe is not initialized!")
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/
remote_bitrate_estimator_abs_send_time.h 30 struct Probe {
31 Probe(int64_t send_time_ms, int64_t recv_time_ms, size_t payload_size)
145 std::list<Probe> probes_;
remote_bitrate_estimator_abs_send_time.cc 127 for (std::list<Probe>::const_iterator it = probes_.begin();
175 LOG(LS_INFO) << "Probe failed, sent at " << send_bitrate_bps
190 // If we reach the max number of probe packets and still have no clusters,
201 // Make sure that a probe sent on a lower bitrate than our estimate can't
205 LOG(LS_INFO) << "Probe successful, sent at "
215 // Not probing and received non-probe packet, or finished with current set
293 LOG(LS_INFO) << "Probe packet received: send time=" << send_time_ms
298 probes_.push_back(Probe(send_time_ms, arrival_time_ms, payload_size));
366 // we only probe for bandwidth in the beginning of a call right now.
  /external/bcc/src/cc/
usdt.h 183 class Probe {
184 std::string bin_path_; // initial bin_path when Probe is created
207 Probe(const char *bin_path, const char *provider, const char *name,
242 std::vector<std::unique_ptr<Probe>> probes_;
251 static void _each_probe(const char *binpath, const struct bcc_elf_usdt *probe,
256 void add_probe(const char *binpath, const struct bcc_elf_usdt *probe);
271 Probe *get(const std::string &probe_name);
272 Probe *get(const std::string &provider_name, const std::string &probe_name);
273 Probe *get(int pos) { return probes_[pos].get(); }
  /external/llvm/lib/Target/X86/
X86WinAllocaExpander.cpp 44 enum Lowering { TouchAndSub, Sub, Probe };
102 // For a non-constant amount or a large amount, we have to probe.
104 return Probe;
172 case Probe:
241 case Probe:
242 // The probe lowering expects the amount in RAX/EAX.
246 // Do the probe.
281 if (MF.getFunction()->hasFnAttribute("stack-probe-size")) {
283 ->getFnAttribute("stack-probe-size")
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
X86WinAllocaExpander.cpp 44 enum Lowering { TouchAndSub, Sub, Probe };
103 // For a non-constant amount or a large amount, we have to probe.
105 return Probe;
173 case Probe:
243 case Probe:
245 // The probe lowering expects the amount in RAX/EAX.
249 // Do the probe.
291 if (MF.getFunction().hasFnAttribute("stack-probe-size")) {
293 .getFnAttribute("stack-probe-size")
297 NoStackArgProbe = MF.getFunction().hasFnAttribute("no-stack-arg-probe");
    [all...]
  /external/v8/src/base/
hashmap.h 122 Entry* Probe(const Key& key, uint32_t hash) const;
164 Entry* entry = Probe(key, hash);
184 Entry* entry = Probe(key, hash);
197 Entry* entry = Probe(key, hash);
206 Entry* p = Probe(key, hash);
298 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Probe(
326 entry = Probe(key, hash);
359 Entry* new_entry = Probe(entry->key, entry->hash);
  /external/v8/src/
v8.cc 85 CpuFeatures::Probe(false);
assembler.h 370 static void Probe(bool cross_compile) {
378 Probe(false);
  /external/swiftshader/third_party/LLVM/include/llvm/ADT/
FoldingSet.h 576 void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();
577 uintptr_t x = reinterpret_cast<uintptr_t>(Probe) & ~0x1;
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
FoldingSet.h 671 void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();
672 uintptr_t x = reinterpret_cast<uintptr_t>(Probe) & ~0x1;
  /external/bcc/src/cc/api/
BPF.cc 230 auto& probe = *static_cast<::USDT::Probe*>(u.probe_.get()); local
231 if (!probe.enable(u.probe_func_))
237 for (const auto& loc : probe.locations_) {
252 detach_uprobe(probe.locations_[i].bin_path_, std::string(),
253 probe.locations_[i].address_, BPF_PROBE_ENTRY, pid);
416 auto& probe = *static_cast<::USDT::Probe*>(u.probe_.get()); local
419 for (const auto& loc : probe.locations_) {
430 if (!probe.disable())
793 auto& probe = *static_cast<::USDT::Probe*>(probe_.get()); local
    [all...]

Completed in 876 milliseconds

1 2