| /external/trace-cmd/Documentation/trace-cmd/ |
| D | trace-cmd-reset.1.txt | 1 TRACE-CMD-RESET(1) 5 ---- 6 trace-cmd-reset - turn off all Ftrace tracing to bring back full performance 9 -------- 10 *trace-cmd reset* ['OPTIONS'] 13 ----------- 14 The trace-cmd(1) reset command turns off all tracing of Ftrace. This will 16 necessary since 'trace-cmd-record(1)', 'trace-cmd-stop(1)' and 17 'trace-cmd-extract(1)' do not disable the tracer, event after the data has 20 parts of Ftrace to see what trace-cmd did. After the reset command happens, [all …]
|
| D | trace-cmd-stop.1.txt | 1 TRACE-CMD-STOP(1) 5 ---- 6 trace-cmd-stop - stop the Ftrace Linux kernel tracer from writing to the ring 10 -------- 11 *trace-cmd stop* ['OPTIONS'] 14 ----------- 15 The trace-cmd(1) stop is a complement to 'trace-cmd-start(1)'. This will 20 After stopping the trace, the 'trace-cmd-extract(1)' may strip out the data 21 from the ring buffer and create a trace.dat file. The Ftrace pseudo file 25 'trace-cmd-reset(1)'. But after a reset is performed, the data that has been [all …]
|
| D | trace-cmd-stack.1.txt | 1 TRACE-CMD-STACK(1) 5 ---- 6 trace-cmd-stack - read, enable or disable Ftrace Linux kernel stack tracing. 9 -------- 10 *trace-cmd stack* 13 ----------- 14 The trace-cmd(1) stack enables the Ftrace stack tracer within the kernel. 21 To enable the stack tracer, use the option *--start*, and to disable 22 the stack tracer, use the option *--stop*. The output will be the maximum 25 Use *--reset* to reset the stack counter to zero. [all …]
|
| D | trace-cmd-snapshot.1.txt | 1 TRACE-CMD-SNAPSHOT(1) 5 ---- 6 trace-cmd-snapshot - take, reset, free, or show a Ftrace kernel snapshot 9 -------- 10 *trace-cmd snapshot* ['OPTIONS'] 13 ----------- 14 The trace-cmd(1) snapshot controls or displays the Ftrace Linux kernel 16 an instance of a live trace but without stopping the trace. 18 trace-cmd start -p function 19 trace-cmd snapshot -s [all …]
|
| D | trace-cmd.1.txt | 1 TRACE-CMD(1) 5 ---- 6 trace-cmd - interacts with Ftrace Linux kernel internal tracer 9 -------- 10 *trace-cmd* 'COMMAND' ['OPTIONS'] 13 ----------- 14 The trace-cmd(1) command interacts with the Ftrace tracer that is built inside 17 specified to tell trace-cmd what to do. 21 -------- 23 record - record a live trace and write a trace.dat file to the [all …]
|
| D | trace-cmd-extract.1.txt | 1 TRACE-CMD-EXTRACT(1) 5 ---- 6 trace-cmd-extract - extract out the data from the Ftrace Linux tracer. 9 -------- 10 *trace-cmd extract ['OPTIONS']* 13 ----------- 14 The trace-cmd(1) extract is usually used after 'trace-cmd-start(1)' and 15 'trace-cmd-stop(1)'. It can be used after the Ftrace tracer has been started 18 The extract command creates a trace.dat file that can be used by 19 'trace-cmd-report(1)' to read from. It reads the kernel internal ring buffer [all …]
|
| /external/bcc/tools/ |
| D | reset-trace_example.txt | 1 Demonstrations of reset-trace, for Linux bcc/BPF. 4 You will probably never need this tool. If you kill -9 a bcc tool (plus other 6 left in a semi-enabled state. It's not as bad as it sounds: there may just be 8 used to clean up the tracing state, and reset and disable active tracing. 16 a note is printed. All tracing files can be reset with -F for force, but this 21 # ./reset-trace.sh 27 You can use -v to see what it does: 29 # ./reset-trace.sh -v 34 Checking /sys/kernel/debug/tracing/trace 51 Tracing 317 functions for "bash:r*"... Hit Ctrl-C to end. [all …]
|
| D | reset-trace.sh | 3 # reset-trace - reset state of tracing, disabling all tracing. 7 # can use this tool to reset the state of tracing, disabling anything still 11 # bcc-used tracing facilities are reset. Other tracing facilities (ftrace) are 13 # files can be reset with -F for force, but this will interfere with any other 16 # USAGE: ./reset-trace [-Fhqv] 23 # 20-Jul-2014 Brendan Gregg Created this. 24 # 18-Oct-2016 " " Updated for bcc use. 30 cat <<-END >&2 31 USAGE: reset-trace [-Fhqv] 32 -F # force: reset all tracing files [all …]
|
| /external/perfetto/src/trace_processor/importers/fuchsia/ |
| D | fuchsia_parser_unittest.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 52 #include "protos/perfetto/trace/android/packages_list.pbzero.h" 53 #include "protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.h" 54 #include "protos/perfetto/trace/chrome/chrome_trace_event.pbzero.h" 55 #include "protos/perfetto/trace/clock_snapshot.pbzero.h" 56 #include "protos/perfetto/trace/ftrace/ftrace.pbzero.h" 57 #include "protos/perfetto/trace/ftrace/ftrace_event.pbzero.h" 58 #include "protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h" 59 #include "protos/perfetto/trace/ftrace/generic.pbzero.h" 60 #include "protos/perfetto/trace/ftrace/power.pbzero.h" [all …]
|
| /external/bcc/man/man8/ |
| D | reset-trace.8 | 1 .TH reset-trace 8 "2016-10-18" "USER COMMANDS" 3 reset-trace \- reset the state of tracing. 5 .B reset-trace [\-F] [\-h] [\-q] [\-v] 7 You will probably never need this tool. If you kill \-9 a bcc tool (plus other 9 left in a semi-enabled state. It's not as bad as it sounds: there may just be 11 used to clean up the tracing state, and reset and disable active tracing. 19 a note is printed. All tracing files can be reset with \-F for force, but this 25 \-F 26 Force. Will reset all tracing facilities, including those not used by bcc 29 \-h [all …]
|
| /external/skia/tests/ |
| D | SkSLDebugTracePlayerTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 47 const SkSL::FunctionDeclaration* main = program->getFunction("main"); in make_trace() 55 *program, *main->definition(), debugTrace.get(), /*writeTraceOps=*/true); in make_trace() 62 rasterProg->appendStages(&pipeline, in make_trace() 74 static std::string make_stack_string(const SkSL::DebugTracePriv& trace, in make_stack_string() argument 81 separator = " -> "; in make_stack_string() 83 if (frame >= 0 && (size_t)frame < trace.fFuncInfo.size()) { in make_stack_string() 84 text += trace.fFuncInfo[frame].name; in make_stack_string() 94 const SkSL::DebugTracePriv& trace, in make_vars_string() argument 101 if (var.fSlotIndex < 0 || (size_t)var.fSlotIndex >= trace.fSlotInfo.size()) { in make_vars_string() [all …]
|
| /external/trace-cmd/tracecmd/ |
| D | trace-usage.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "trace-local.h" 19 "record a trace into a trace.dat file", 20 " %s record [-v][-e event [-f filter]][-p plugin][-F][-d][-D][-o file] \\\n" 21 " [-q][-s usecs][-O option ][-l func][-g func][-n func] \\\n" 22 " [-P pid][-N host:port][-t][-r prio][-b size][-B buf][command ...]\n" 23 " [-m max][-C clock]\n" 24 " -e run command with event enabled\n" 25 " -f filter for previous -e event\n" 26 " -R trigger for previous -e event\n" [all …]
|
| /external/linux-kselftest/tools/testing/selftests/ftrace/test.d/ |
| D | functions | 1 clear_trace() { # reset trace output 2 echo > trace 5 disable_tracing() { # stop trace recording 9 enable_tracing() { # start trace recording 13 reset_tracer() { # reset the current tracer 19 grep -H ':on[^:]*(' $@ | 21 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` 22 file=`echo $line | cut -f1 -d:` 25 grep -Hv ^# $@ | 27 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` [all …]
|
| /external/grpc-grpc/test/core/channel/ |
| D | channel_trace_test.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 47 ChannelTrace* trace() const { return &node_->trace_; } in trace() function in grpc_core::channelz::testing::ChannelNodePeer 82 tracer->AddTraceEvent(ChannelTrace::Severity::Info, in AddSimpleTrace() 83 grpc_slice_from_static_string("simple trace")); in AddSimpleTrace() 89 Json json = tracer->RenderJson(); in ValidateChannelTraceCustom() 124 // Tests basic ChannelTrace functionality like construction, adding trace, and 132 grpc_slice_from_static_string("trace three")); in TEST() 134 grpc_slice_from_static_string("trace four error")); in TEST() 162 AddSimpleTrace(sc1_peer.trace()); in TEST() 163 AddSimpleTrace(sc1_peer.trace()); in TEST() [all …]
|
| /external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/ |
| D | MultiLineChart.java | 26 private ArrayList<Trace> mTraceList = new ArrayList<>(); 76 for (Trace trace : mTraceList) { in onDraw() 77 drawTrace(canvas, trace); in onDraw() 81 void drawTrace(Canvas canvas, Trace trace) { in drawTrace() argument 86 int arraySize = (numPoints - 1) * 4; in drawTrace() 94 float xRange = xMax - getXData(numPoints); in drawTrace() 95 float yMin = trace.getMin(); in drawTrace() 96 float yRange = trace.getMax() - yMin; in drawTrace() 105 float yData = trace.get(i); in drawTrace() 106 float xPos = width - ((xMax - xData) * xScaler); in drawTrace() [all …]
|
| /external/perfetto/src/tracing/core/ |
| D | trace_writer_for_testing.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include "protos/perfetto/trace/trace.pbzero.h" 23 #include "protos/perfetto/trace/trace_packet.pbzero.h" 30 cur_packet_.reset(new protozero::RootMessage<protos::pbzero::TracePacket>()); in TraceWriterForTesting() 31 cur_packet_->Finalize(); // To avoid the DCHECK in NewTracePacket(). in TraceWriterForTesting() 38 PERFETTO_CHECK(cur_packet_->is_finalized()); in Flush() 46 PERFETTO_CHECK(cur_packet_->is_finalized()); in GetAllTracePackets() 49 protozero::ProtoDecoder trace(buffer.data(), buffer.size()); in GetAllTracePackets() local 51 for (auto fld = trace.ReadField(); fld.valid(); fld = trace.ReadField()) { in GetAllTracePackets() 52 PERFETTO_CHECK(fld.id() == protos::pbzero::Trace::kPacketFieldNumber); in GetAllTracePackets() [all …]
|
| /external/rust/crates/h2/src/proto/streams/ |
| D | state.rs | 13 /// +--------+ 15 /// ,--------| idle |--------. 17 /// v +--------+ v 18 /// +----------+ | +----------+ 20 /// ,------| reserved | | recv H | reserved |------. 22 /// | +----------+ v +----------+ | 23 /// | | +--------+ | | 25 /// | send H | ,-------| open |-------. | recv H | 27 /// | v v +--------+ v v | 28 /// | +----------+ | +----------+ | [all …]
|
| /external/tensorflow/tensorflow/core/util/ |
| D | debug_events_writer.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 29 if (debug_event->wall_time() == 0) { in MaybeSetDebugEventTimestamp() 30 debug_event->set_wall_time(env->NowMicros() / 1e6); in MaybeSetDebugEventTimestamp() 48 // Reset recordio_writer (which has a reference to writable_file_) so final in Init() 50 record_writer_.reset(); in Init() 53 env_->NewWritableFile(file_path_, &writable_file_), in Init() 55 record_writer_.reset(new io::RecordWriter(writable_file_.get())); in Init() 76 record_writer_->WriteRecord(debug_event_str).IgnoreError(); in WriteSerializedDebugEvent() 91 TF_RETURN_WITH_CONTEXT_IF_ERROR(record_writer_->Flush(), "Failed to flush ", in Flush() 96 TF_RETURN_WITH_CONTEXT_IF_ERROR(writable_file_->Sync(), "Failed to sync ", in Flush() [all …]
|
| /external/libchrome/base/message_loop/ |
| D | message_pump_perftest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 52 target_message_loop()->ScheduleWork(); in Schedule() 56 base::TimeDelta laptime = now - lastnow; in Schedule() 60 } while (now - start < base::TimeDelta::FromSeconds(kTargetTimeSec)); in Schedule() 62 scheduling_times_[index] = now - start; in Schedule() 65 base::ThreadTicks::Now() - thread_start; in Schedule() 68 target_message_loop()->task_runner()->PostTask( in Schedule() 76 java_thread_.reset(new android::JavaHandlerThread("target")); in ScheduleWork() 77 java_thread_->Start(); in ScheduleWork() 81 target_.reset(new Thread("target")); in ScheduleWork() [all …]
|
| /external/perfetto/protos/perfetto/trace/interned_data/ |
| D | interned_data.proto | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 import "protos/perfetto/trace/android/network_trace.proto"; 20 import "protos/perfetto/trace/chrome/v8.proto"; 21 import "protos/perfetto/trace/gpu/gpu_render_stage_event.proto"; 22 import "protos/perfetto/trace/track_event/chrome_histogram_sample.proto"; 23 import "protos/perfetto/trace/track_event/debug_annotation.proto"; 24 import "protos/perfetto/trace/track_event/log_message.proto"; 25 import "protos/perfetto/trace/track_event/track_event.proto"; 26 import "protos/perfetto/trace/track_event/source_location.proto"; 27 import "protos/perfetto/trace/profiling/profile_common.proto"; [all …]
|
| /external/perfetto/ui/src/frontend/ |
| D | rpc_http_dialog.ts | 7 // http://www.apache.org/licenses/LICENSE-2.0 32 return `Trace Processor Native Accelerator detected on ${HttpRpcEngine.hostAndPort} with: 35 YES, use loaded trace: 36 Will load from the current state of Trace Processor. If you did run 37 trace_processor_shell --httpd file.pftrace this is likely what you want. 39 YES, but reset state: 40 Use this if you want to open another trace but still use the 42 trace_processor_shell --httpd. 48 - Only one tab can be using the accelerator. 49 - Sharing, downloading and conversion-to-legacy aren't supported. [all …]
|
| /external/linux-kselftest/tools/testing/selftests/bpf/ |
| D | test_ftrace.sh | 4 clear_trace() { # reset trace output 5 echo > $TR/trace 8 disable_tracing() { # stop trace recording 12 enable_tracing() { # start trace recording 16 reset_tracer() { # reset the current tracer 32 ./test_progs -t fentry 33 ./test_progs -t fexit
|
| /external/libchrome/base/trace_event/ |
| D | trace_config.h | 2 // Use of this source code is governed by a BSD-style license that can be 28 // Options determines how the trace buffer stores data. 32 // Record until the trace buffer is full. 35 // Record until the user ends the trace. The trace buffer is a fixed size 39 // Record until the trace buffer is full, but with a huge buffer size. 51 // Used only when "memory-infra" category is enabled. 71 // Reset the options to default. 77 // Reset the values in the config. 153 // Create TraceConfig object from category filter and trace options strings. 155 // |category_filter_string| is a comma-delimited list of category wildcards. [all …]
|
| /external/skia/src/sksl/tracing/ |
| D | SkSLDebugTracePlayer.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 18 void SkSLDebugTracePlayer::reset(sk_sp<DebugTracePriv> debugTrace) { in reset() function in SkSL::SkSLDebugTracePlayer 19 size_t nslots = debugTrace ? debugTrace->fSlotInfo.size() : 0; in reset() 28 fStack.push_back({/*fFunction=*/-1, in reset() 29 /*fLine=*/-1, in reset() 36 if (fDebugTrace->fSlotInfo[slotIdx].fnReturnValue >= 0) { in reset() 37 fReturnValues->set(slotIdx); in reset() 41 for (const TraceInfo& trace : fDebugTrace->fTraceInfo) { in reset() local 42 if (trace.op == TraceInfo::Op::kLine) { in reset() 43 fLineNumbers[trace.data[0]] += 1; in reset() [all …]
|
| /external/autotest/client/profilers/ftrace/ |
| D | ftrace.py | 14 trace-cmd with configurable parameters. 16 @see: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git 37 def setup(self, tarball='trace-cmd.tar.bz2', **kwargs): 39 Build and install trace-cmd from source. 41 The tarball was obtained by checking the git repo at 09-14-2010, 45 @param tarball: Path to trace-cmd tarball. 61 accepted by trace-cmd -e, eg "syscalls", or 63 trace-cmd -f, eg "((sig >= 10 && sig < 15) || sig == 17)" 67 self.trace_cmd_args = ['-b', str(buffer_size_kb)] 73 self.trace_cmd_args += ['-e', tracepoint] [all …]
|