Home
last modified time | relevance | path

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

123456

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodAnalyzerTest.java46 private boolean[] probes; field in MethodAnalyzerTest
57 probes = new boolean[32]; in setup()
97 probes = null; in linear_instruction_sequence_should_show_missed_when_probearray_is_null()
107 probes[0] = true; in linear_instruction_sequence_should_show_covered_when_probe_is_executed()
129 probes[0] = true; in linear_instruction_sequence_should_ignore_instructions_when_filter_is_applied()
179 probes[0] = true; in if_branch_should_show_partial_branch_coverage_when_probe_for_first_branch_is_executed()
190 probes[1] = true; in if_branch_should_show_partial_branch_coverage_when_probe_for_second_branch_is_executed()
201 probes[0] = true; in if_branch_should_show_full_branch_coverage_when_probes_for_both_branches_are_executed()
202 probes[1] = true; in if_branch_should_show_full_branch_coverage_when_probes_for_both_branches_are_executed()
253 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/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.py209 self.probes = [probes_by_lang[self.args.language]]
211 self.probes = probes_by_lang.values()
214 program = str.join('\n', [p.get_program() for p in self.probes])
219 for probe in self.probes:
223 usdts = [usdt for probe in self.probes for usdt in probe.get_usdts()]
238 for probe in self.probes:
263 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.py358 self.probes = []
371 self.probes.append(Probe(fx, preds, self.length, True))
377 self.probes.append(Probe(fx, preds, self.length, False))
491 for p in self.probes:
504 for p in self.probes:
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DInstructionsBuilder.java33 private final boolean[] probes; field in InstructionsBuilder
68 InstructionsBuilder(final boolean[] probes) { in InstructionsBuilder() argument
69 this.probes = probes; in InstructionsBuilder()
148 final boolean executed = probes != null && probes[probeId]; in addProbe()
DClassAnalyzer.java35 private final boolean[] probes; field in ClassAnalyzer
55 final boolean[] probes, final StringPool stringPool) { in ClassAnalyzer() argument
57 this.probes = probes; in ClassAnalyzer()
91 final InstructionsBuilder builder = new InstructionsBuilder(probes); in visitMethod()
/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/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/perfetto/
DBUILD1095 # GN target: //src/traced/probes/android_log:android_log
1099 "src/traced/probes/android_log/android_log_data_source.cc",
1100 "src/traced/probes/android_log/android_log_data_source.h",
1104 # GN target: //src/traced/probes/common:common
1108 "src/traced/probes/common/cpu_freq_info.cc",
1109 "src/traced/probes/common/cpu_freq_info.h",
1113 # GN target: //src/traced/probes/filesystem:filesystem
1117 "src/traced/probes/filesystem/file_scanner.cc",
1118 "src/traced/probes/filesystem/file_scanner.h",
1119 "src/traced/probes/filesystem/fs_mount.cc",
[all …]
/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_fuzzers21 mkdir -p $OUT/src/traced/probes/ftrace/test/data
22 cp -a $SRC/perfetto/src/traced/probes/ftrace/test/data/synthetic \
23 $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/gn/
Dperfetto_unittests.gni52 "src/traced/probes:unittests",
53 "src/traced/probes/filesystem:unittests",
54 "src/traced/probes/ftrace:unittests",
55 "src/traced/probes/ftrace/kallsyms:unittests",
Dperfetto_benchmarks.gni24 "src/traced/probes/ftrace/kallsyms:benchmarks",
25 "src/traced/probes/ftrace:benchmarks",
/external/perfetto/tools/
Dtest_data.txt3 src/traced/probes/ftrace/test/data/
4 src/traced/probes/filesystem/testdata/
/external/kotlinx.coroutines/kotlinx-coroutines-debug/
DREADME.md27 For JUnit4 debug module provides special test rule, [CoroutinesTimeout], for installing debug probes
59 It is possible to use this module as a standalone JVM agent to enable debug probes on the applicati…
159 …ub.io/kotlinx.coroutines/kotlinx-coroutines-debug/kotlinx.coroutines.debug/-debug-probes/index.html
160 ….io/kotlinx.coroutines/kotlinx-coroutines-debug/kotlinx.coroutines.debug/-debug-probes/install.html
161 …linx.coroutines/kotlinx-coroutines-debug/kotlinx.coroutines.debug/-debug-probes/dump-coroutines.ht…
162 …linx.coroutines/kotlinx-coroutines-debug/kotlinx.coroutines.debug/-debug-probes/dump-coroutines-in…
163 …o/kotlinx.coroutines/kotlinx-coroutines-debug/kotlinx.coroutines.debug/-debug-probes/print-job.html
164 …kotlinx.coroutines/kotlinx-coroutines-debug/kotlinx.coroutines.debug/-debug-probes/print-scope.html
/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.java82 final boolean[] probes; in createAnalyzingVisitor()
85 probes = null; in createAnalyzingVisitor()
88 probes = data.getProbes(); in createAnalyzingVisitor()
93 final ClassAnalyzer analyzer = new ClassAnalyzer(coverage, probes, in createAnalyzingVisitor()

123456