Home
last modified time | relevance | path

Searched refs:tracer (Results 1 – 25 of 50) sorted by relevance

12

/external/libchrome/base/posix/
Dfile_descriptor_shuffle_unittest.cc69 InjectionTracer tracer; in TEST() local
71 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
72 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
77 InjectionTracer tracer; in TEST() local
80 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
81 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
86 InjectionTracer tracer; in TEST() local
89 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); in TEST()
90 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
95 InjectionTracer tracer; in TEST() local
[all …]
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dcollector.py20 from coverage.tracer import CTracer, CFileDisposition # pylint: disable=no-name-in-module
187 tracer = self._trace_class()
188 tracer.data = self.data
189 tracer.trace_arcs = self.branch
190 tracer.should_trace = self.should_trace
191 tracer.should_trace_cache = self.should_trace_cache
192 tracer.warn = self.warn
194 if hasattr(tracer, 'concur_id_func'):
195 tracer.concur_id_func = self.concur_id_func
203 if hasattr(tracer, 'file_tracers'):
[all …]
Dplugin_support.py135 tracer = self.plugin.file_tracer(filename)
136 self.debug.write("file_tracer(%r) --> %r" % (filename, tracer))
137 if tracer:
139 tracer = DebugFileTracerWrapper(tracer, debug)
140 return tracer
157 def __init__(self, tracer, debug): argument
158 self.tracer = tracer
169 sfilename = self.tracer.source_filename()
174 has = self.tracer.has_dynamic_source_filename()
179 dyn = self.tracer.dynamic_source_filename(filename, frame)
[all …]
/external/autotest/client/tests/tracing_microbenchmark/
Dtracing_microbenchmark.py17 def initialize(self, tracer='ftrace', calls=100000, **kwargs): argument
19 tracer_class = getattr(tracers, tracer)
22 self.tracer = tracer_class()
28 self.tracer.warmup(buffer_size_kb)
31 self.tracer.cleanup()
36 self.tracer.start_tracing()
38 self.tracer.stop_tracing()
40 self.tracer.gather_stats(self.results)
41 self.tracer.reset_tracing()
Dcontrol15 tracer: tracepoint enabled
21 tracer: see table above.
27 job.run_test('tracing_microbenchmark', tracer='off', tag='off', iterations=10)
28 job.run_test('tracing_microbenchmark', tracer='ftrace', tag='ftrace', iterations=10)
/external/autotest/client/site_tests/security_ptraceRestrictions/src/
Dthread-prctl.c49 pid_t tracer, tracee; variable
55 ret = prctl (PR_SET_PTRACER, tracer, 0, 0, 0); in thr_fn()
70 tracer = getpid(); in tracer_main()
71 printf("tracer %d waiting\n", tracer); in tracer_main()
134 tracer = atoi(buf); in tracee_main()
136 printf("tracee %d started (expecting %d as tracer)\n", tracee, tracer); in tracee_main()
141 ret = prctl (PR_SET_PTRACER, tracer, 0, 0, 0); in tracee_main()
231 tracer = fork(); in main()
232 if (tracer < 0) { in main()
236 if (tracer == 0) { in main()
[all …]
/external/chromium-trace/catapult/third_party/coverage/
Digor.py67 def label_for_tracer(tracer): argument
69 if tracer == "py":
77 def should_skip(tracer): argument
79 if tracer == "py":
88 msg = "Skipping tests " + label_for_tracer(tracer)
97 def run_tests(tracer, *nose_args): argument
104 print_banner(label_for_tracer(tracer))
109 def run_tests_with_coverage(tracer, *nose_args): argument
131 suffix = "%s%s_%s_%s" % (impl, version, tracer, platform.platform())
162 run_tests(tracer, *nose_args)
[all …]
/external/strace/
DREADME-linux-ptrace13 process (tracer). Attachment and subsequent commands are per-thread: in
15 (potentially different) tracer, or left not attached and thus not
28 ptrace commands from the tracer is called ptrace-stop. Ptrace-stops can
37 all threads exit. Tracees report their death to the tracer(s). This is
38 not a ptrace-stop (because tracer can't query tracee status such as
44 tracee only), and only after it is injected by tracer (or after it was
49 generated for SIGKILL and therefore tracer can't suppress it. SIGKILL
61 When tracee executes exit syscall, it reports its death to its tracer.
65 group reports its death to its tracer.
74 Therefore, tracer must always be prepared to handle ESRCH error on any
[all …]
DREADME1 This is strace, a system call tracer for Linux.
/external/skia/src/utils/
DSkEventTracer.cpp46 void SkEventTracer::SetInstance(SkEventTracer* tracer) { in SetInstance() argument
48 sk_atomic_store(&gUserTracer, tracer, sk_memory_order_release); in SetInstance()
54 if (SkEventTracer* tracer = sk_atomic_load(&gUserTracer, sk_memory_order_acquire)) { in GetInstance() local
55 return tracer; in GetInstance()
/external/strace/debian/
Dcontrol12 Description: System call tracer
13 strace is a system call tracer, i.e. a debugging tool which prints out
26 Description: System call tracer for 64bit binaries
27 strace is a system call tracer, i.e. a debugging tool which prints out
45 Description: System call tracer
46 strace is a system call tracer, i.e. a debugging tool which prints out
/external/libchrome/base/debug/
Ddebugger_posix.cc150 StringPiece tracer("TracerPid:\t");
152 StringPiece::size_type pid_index = status.find(tracer);
157 pid_index += tracer.size();
/external/blktrace/
Dblktrace.c163 struct tracer { struct
326 static int (*handle_pfds)(struct tracer *, int, int);
538 static void tracer_wait_unblock(struct tracer *tp) in tracer_wait_unblock()
546 static void tracer_signal_ready(struct tracer *tp, in tracer_signal_ready()
1456 static inline int net_sendfile_data(struct tracer *tp, struct io_info *iop) in net_sendfile_data()
1573 static void close_ios(struct tracer *tp) in close_ios()
1596 static int open_ios(struct tracer *tp) in open_ios()
1662 static int handle_pfds_file(struct tracer *tp, int nevs, int force_read) in handle_pfds_file()
1705 static int handle_pfds_netclient(struct tracer *tp, int nevs, int force_read) in handle_pfds_netclient()
1740 static int handle_pfds_entries(struct tracer *tp, int nevs, int force_read) in handle_pfds_entries()
[all …]
Dbtrace.spec20 Summary: Block IO tracer
/external/v8/src/heap/
Dmark-compact.cc315 GCTracer::Scope gc_scope(heap()->tracer(), in ClearInvalidStoreAndSlotsBufferEntries()
321 GCTracer::Scope gc_scope(heap()->tracer(), in ClearInvalidStoreAndSlotsBufferEntries()
682 heap()->tracer()->CompactionSpeedInBytesPerMillisecond(); in ComputeEvacuationHeuristics()
899 GCTracer::Scope gc_scope(heap()->tracer(), GCTracer::Scope::MC_FINISH); in Finish()
2043 GCTracer::Scope gc_scope(heap()->tracer(), GCTracer::Scope::MC_MARK); in MarkLiveObjects()
2054 GCTracer::Scope gc_scope(heap()->tracer(), in MarkLiveObjects()
2077 GCTracer::Scope gc_scope(heap()->tracer(), in MarkLiveObjects()
2085 GCTracer::Scope gc_scope(heap()->tracer(), GCTracer::Scope::MC_MARK_ROOTS); in MarkLiveObjects()
2091 GCTracer::Scope gc_scope(heap()->tracer(), in MarkLiveObjects()
2121 heap_->tracer()->AddMarkingTime(heap_->MonotonicallyIncreasingTimeInMs() - in MarkLiveObjects()
[all …]
Dheap.cc819 GCTracer::Scope gc_scope(tracer(), GCTracer::Scope::MC_INCREMENTAL_FINALIZE); in FinalizeIncrementalMarking()
827 GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL); in FinalizeIncrementalMarking()
838 GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL); in FinalizeIncrementalMarking()
1005 tracer()->Start(collector, gc_reason, collector_reason); in CollectGarbage()
1041 tracer()->Stop(collector); in CollectGarbage()
1062 tracer()->ResetSurvivalEvents(); in NotifyContextDisposed()
1075 tracer()->AddContextDisposalTime(MonotonicallyIncreasingTimeInMs()); in NotifyContextDisposed()
1253 tracer()->AddSurvivalRatio(survival_rate); in UpdateSurvivalStatistics()
1282 GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL); in PerformGarbageCollection()
1341 GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL); in PerformGarbageCollection()
[all …]
Dscavenge-job.cc27 static_cast<size_t>(heap->tracer()->ScavengeSpeedInBytesPerMillisecond()); in RunInternal()
Dincremental-marking.cc753 heap_->tracer()->AddMarkingTime(delta); in FinalizeIncrementally()
754 heap_->tracer()->AddIncrementalMarkingFinalizationStep(delta); in FinalizeIncrementally()
903 heap_->tracer()->AddMarkingTime(delta); in Hurry()
1031 ->tracer() in AdvanceIncrementalMarking()
1217 heap_->tracer()->AddIncrementalMarkingStep(duration, bytes_processed); in Step()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSerializerTraceWriter.java97 public SerializerTraceWriter(Writer out, SerializerTrace tracer) in SerializerTraceWriter() argument
100 m_tracer = tracer; in SerializerTraceWriter()
/external/v8/src/tracing/
Dtrace-event.h198 v8::internal::tracing::ScopedTracer INTERNAL_TRACE_EVENT_UID(tracer); \
205 INTERNAL_TRACE_EVENT_UID(tracer) \
213 v8::internal::tracing::ScopedTracer INTERNAL_TRACE_EVENT_UID(tracer); \
223 INTERNAL_TRACE_EVENT_UID(tracer) \
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c760 void tracer(struct __test_metadata *_metadata, pid_t tracee, in tracer() function
827 pid_t tracer; in FIXTURE_DATA() local
863 tracer(_metadata, tracee, poke_addr, pipefd[1]); in FIXTURE_SETUP()
867 self->tracer = tracer_pid; in FIXTURE_SETUP()
868 prctl(PR_SET_PTRACER, self->tracer, 0, 0, 0); in FIXTURE_SETUP()
874 if (self->tracer) { in FIXTURE_TEARDOWN()
880 ASSERT_EQ(0, kill(self->tracer, SIGUSR1)); in FIXTURE_TEARDOWN()
881 ASSERT_EQ(self->tracer, waitpid(self->tracer, &status, 0)); in FIXTURE_TEARDOWN()
/external/autotest/client/tests/cyclictest/
Dhelp35 The -b optionis a debugging option to control the latency tracer in the realtime
45 Once the measured latency is higher than the given maximum, the kernel tracer and
50 Please be aware that the tracer adds significant overhead to the kernel, so the
/external/v8/test/cctest/
Dcctest.gyp142 'test-gc-tracer.cc',
203 'test-log-stack-tracer.cc'
213 'test-log-stack-tracer.cc'
276 'test-log-stack-tracer.cc'
/external/libchrome/base/trace_event/
Dtrace_event.h257 trace_event_internal::ScopedTracer INTERNAL_TRACE_EVENT_UID(tracer); \
265 INTERNAL_TRACE_EVENT_UID(tracer).Initialize( \
272 trace_event_internal::ScopedTracer INTERNAL_TRACE_EVENT_UID(tracer); \
283 INTERNAL_TRACE_EVENT_UID(tracer).Initialize( \
/external/v8/test/cctest/heap/
Dtest-heap.cc6157 GCTracer* tracer = heap->tracer(); in TEST() local
6160 tracer->SampleAllocation(time1, counter1, 0); in TEST()
6163 tracer->SampleAllocation(time2, counter2, 0); in TEST()
6165 tracer->NewSpaceAllocationThroughputInBytesPerMillisecond(); in TEST()
6169 tracer->SampleAllocation(time3, counter3, 0); in TEST()
6170 throughput = tracer->NewSpaceAllocationThroughputInBytesPerMillisecond(); in TEST()
6180 GCTracer* tracer = heap->tracer(); in TEST() local
6183 tracer->SampleAllocation(time1, counter1, 0); in TEST()
6186 tracer->SampleAllocation(time2, counter2, 0); in TEST()
6188 tracer->NewSpaceAllocationThroughputInBytesPerMillisecond(100); in TEST()
[all …]

12