Home
last modified time | relevance | path

Searched refs:probes (Results 1 – 25 of 114) sorted by relevance

12345

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodAnalyzerTest.java42 private boolean[] probes; field in MethodAnalyzerTest
53 probes = new boolean[32]; in setup()
93 probes = null; in linear_instruction_sequence_should_show_missed_when_probearray_is_null()
103 probes[0] = true; in linear_instruction_sequence_should_show_covered_when_probe_is_executed()
125 probes[0] = true; in linear_instruction_sequence_should_ignore_instructions_when_filter_is_applied()
172 probes[0] = true; in if_branch_should_show_partial_branch_coverage_when_probe_for_first_branch_is_executed()
183 probes[1] = true; in if_branch_should_show_partial_branch_coverage_when_probe_for_second_branch_is_executed()
194 probes[0] = true; in if_branch_should_show_full_branch_coverage_when_probes_for_both_branches_are_executed()
195 probes[1] = true; in if_branch_should_show_full_branch_coverage_when_probes_for_both_branches_are_executed()
246 probes[0] = true; in if_branch_before_probes_should_show_partial_branch_coverage_when_probe_for_first_branch_is_executed()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/
DExecutionData.java29 private final boolean[] probes; field in ExecutionData
42 final boolean[] probes) { in ExecutionData() argument
45 this.probes = probes; in ExecutionData()
62 this.probes = new boolean[probeCount]; in ExecutionData()
91 return probes; in getProbes()
98 Arrays.fill(probes, false); in reset()
107 for (final boolean p : probes) { in hasHits()
161 for (int i = 0; i < probes.length; i++) { in merge()
163 probes[i] = flag; in merge()
194 if (this.probes.length != probecount) { in assertCompatibility()
DExecutionDataReader.java149 final boolean[] probes = in.readBooleanArray(); in readExecutionData()
151 probes)); in readExecutionData()
/external/perfetto/
DAndroid.bp.extras7 "src/traced/probes/ftrace/cpu_reader.cc",
8 "src/traced/probes/ftrace/event_info.cc",
9 "src/traced/probes/ftrace/format_parser.cc",
10 "src/traced/probes/ftrace/ftrace_controller.cc",
11 "src/traced/probes/ftrace/ftrace_procfs.cc",
12 "src/traced/probes/ftrace/proto_translation_table.cc",
13 "src/traced/probes/probes_producer.cc",
DAndroid.bp266 "src/traced/probes/android_log/android_log_data_source.cc",
267 "src/traced/probes/filesystem/file_scanner.cc",
268 "src/traced/probes/filesystem/fs_mount.cc",
269 "src/traced/probes/filesystem/inode_file_data_source.cc",
270 "src/traced/probes/filesystem/lru_inode_cache.cc",
271 "src/traced/probes/filesystem/prefix_finder.cc",
272 "src/traced/probes/filesystem/range_tree.cc",
273 "src/traced/probes/ftrace/atrace_hal_wrapper.cc",
274 "src/traced/probes/ftrace/atrace_wrapper.cc",
275 "src/traced/probes/ftrace/cpu_reader.cc",
[all …]
DBUILD.gn127 "src/traced/probes:unittests",
128 "src/traced/probes/filesystem:unittests",
129 "src/traced/probes/ftrace:unittests",
152 "src/traced/probes/ftrace:integrationtests",
174 "src/traced/probes",
203 "src/traced/probes/main.cc",
290 "src/traced/probes/ftrace:benchmarks",
306 "src/traced/probes/ftrace:cpu_reader_fuzzer",
/external/bcc/tools/lib/
Dugc.py117 probes = [] variable
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:
240 description = probes[event.probe_index].format(event)
Dustat.py200 self.probes = [probes_by_lang[self.args.language]]
202 self.probes = probes_by_lang.values()
205 program = str.join('\n', [p.get_program() for p in self.probes])
210 for probe in self.probes:
214 usdts = [usdt for probe in self.probes for usdt in probe.get_usdts()]
229 for probe in self.probes:
254 for probe in self.probes:
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
DExecutionDataStoreTest.java56 final boolean[] probes = new boolean[] { false, false, true }; in testPut()
57 store.put(new ExecutionData(1000, "Sample", probes)); in testPut()
59 assertSame(probes, data.getProbes()); in testPut()
68 final boolean[] probes = new boolean[] { false, false, true }; in testReentrantAccept()
69 store.put(new ExecutionData(1000, "Sample0", probes)); in testReentrantAccept()
70 store.put(new ExecutionData(1001, "Sample1", probes)); in testReentrantAccept()
73 store.put(new ExecutionData(1002, "Sample2", probes)); in testReentrantAccept()
82 final boolean[] probes = new boolean[] {}; in testGetContents()
83 final ExecutionData a = new ExecutionData(1000, "A", probes); in testGetContents()
85 final ExecutionData aa = new ExecutionData(1000, "A", probes); in testGetContents()
[all …]
DExecutionDataTest.java58 final boolean[] probes = new boolean[] { false, false, false }; in testHasHits()
59 final ExecutionData e = new ExecutionData(5, "Example", probes); in testHasHits()
61 probes[1] = true; in testHasHits()
67 final boolean[] probes = new boolean[] {}; in testHasHits_empty()
68 final ExecutionData e = new ExecutionData(5, "Example", probes); in testHasHits_empty()
/external/bcc/tools/
Dtplist_example.txt4 tplist displays kernel tracepoints and USDT probes, including their
8 power events, and many other subjects. USDT probes are placed in libraries
12 For example, suppose you want to discover which USDT probes a particular
34 contain UDST probes. Here are two examples you might find interesting:
36 $ tplist -l pthread # list probes in libpthread
44 $ tplist -l c # list probes in libc
87 The dev, sector, nr_sector, etc. variables can now all be used in probes
91 For debugging USDT probes, it is sometimes useful to see the exact locations
92 and arguments of the probes, including the registers or global variables from
121 Display kernel tracepoints or USDT probes and their formats.
[all …]
Dargdist.py644 self.probes = []
646 self.probes.append(Probe(self, "freq", specifier))
648 self.probes.append(Probe(self, "hist", histspecifier))
649 if len(self.probes) == 0:
667 map(lambda p: p.raw_spec, self.probes))
668 for probe in self.probes:
672 for probe in self.probes
677 for probe in self.probes if probe.usdt_ctx]
681 for probe in self.probes:
697 for probe in self.probes:
Dinject.py341 self.probes = []
354 self.probes.append(Probe(fx, preds, self.length, True))
360 self.probes.append(Probe(fx, preds, self.length, False))
474 for p in self.probes:
485 for p in self.probes:
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DRuntimeDataTest.java79 boolean[] probes = data.getExecutionData(Long.valueOf(123), "Foo", 1) in testCollectWithReset()
81 probes[0] = true; in testCollectWithReset()
85 assertFalse(probes[0]); in testCollectWithReset()
92 boolean[] probes = data.getExecutionData(Long.valueOf(123), "Foo", 1) in testCollectWithoutReset()
94 probes[0] = true; in testCollectWithoutReset()
98 assertTrue(probes[0]); in testCollectWithoutReset()
152 final boolean[] probes = data.getExecutionData(Long.valueOf(1234), in testGenerateAccessCall()
195 assertSame(probes, callable.call()); in testGenerateAccessCall()
DOfflineInstrumentationAccessGeneratorTest.java37 private static boolean[] probes; field in OfflineInstrumentationAccessGeneratorTest
42 return probes; in getProbes()
47 probes = new boolean[3]; in setupClass()
59 assertSame(probes, target.get()); in testRuntimeAccess()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DClassAnalyzer.java27 private final boolean[] probes; field in ClassAnalyzer
41 final boolean[] probes, final StringPool stringPool) { in ClassAnalyzer() argument
43 this.probes = probes; in ClassAnalyzer()
69 stringPool.get(signature), probes, Filters.ALL) { in visitMethod()
DMethodAnalyzer.java48 private final boolean[] probes; field in MethodAnalyzer
96 final boolean[] probes, final IFilter filter) { in MethodAnalyzer() argument
100 this.probes = probes; in MethodAnalyzer()
399 if (probes != null && probes[probeId]) { in addProbe()
/external/bcc/src/python/bcc/
Dusdt.py181 probes = []
183 probes.append(USDTProbe(self.context, probe.contents))
186 return probes
191 probes = self.enumerate_active_probes()
192 for (binpath, fn_name, addr, pid) in probes:
197 probes = []
199 probes.append((binpath, fn_name, addr, pid))
202 return probes
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DAgentTest.java268 boolean[] probes = agent.getData() in reset_should_reset_probes()
271 probes[0] = true; in reset_should_reset_probes()
275 assertFalse(probes[0]); in reset_should_reset_probes()
301 final boolean[] probes = agent.getData() in getExecutionData_should_reset_probes_when_enabled()
304 probes[0] = true; in getExecutionData_should_reset_probes_when_enabled()
308 assertFalse(probes[0]); in getExecutionData_should_reset_probes_when_enabled()
316 final boolean[] probes = agent.getData() in getExecutionData_should_not_reset_probes_when_disabled()
319 probes[0] = true; in getExecutionData_should_not_reset_probes_when_disabled()
323 assertTrue(probes[0]); in getExecutionData_should_not_reset_probes_when_disabled()
/external/perfetto/infra/oss-fuzz/
Dbuild_fuzzers19 mkdir -p $OUT/src/traced/probes/ftrace/test/data
20 cp -a $SRC/perfetto/src/traced/probes/ftrace/test/data/synthetic \
21 $OUT/src/traced/probes/ftrace/test/data
/external/curl/docs/cmdline-opts/
Dkeepalive-time.d3 Help: Interval time for keepalive probes
7 keepalive probes and the time between individual keepalive probes. It is
/external/perfetto/tools/
Dtest_data.txt3 src/traced/probes/ftrace/test/data/
4 src/traced/probes/filesystem/testdata/
/external/bcc/examples/usdt_sample/
Dusdt_sample.md26 After building, you should see the available probes:
65 Use argdist.py on the individual probes:
101 Attaching probes to pid 25433
125 Attaching probes to pid 25433
151 Attaching probes to pid 25433
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DAnalyzer.java80 final boolean[] probes; in createAnalyzingVisitor()
83 probes = null; in createAnalyzingVisitor()
86 probes = data.getProbes(); in createAnalyzingVisitor()
91 final ClassAnalyzer analyzer = new ClassAnalyzer(coverage, probes, in createAnalyzingVisitor()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java727 public final int probes; field in InternalChannelz.TcpInfo
754 TcpInfo(int state, int caState, int retransmits, int probes, int backoff, int options, in TcpInfo() argument
762 this.probes = probes; in TcpInfo()
794 private int probes; field in InternalChannelz.TcpInfo.Builder
836 public Builder setProbes(int probes) { in setProbes() argument
837 this.probes = probes; in setProbes()
969 state, caState, retransmits, probes, backoff, options, sndWscale, rcvWscale, in build()

12345