| /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/skia/tests/ |
| D | SkVMDebugTracePlayerTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 44 const SkSL::FunctionDeclaration* main = program->getFunction("main"); in make_trace() 46 SkSL::ProgramToSkVM(*program, *main->definition(), &b, debugTrace.get(), /*uniforms=*/{}); in make_trace() 56 static std::string make_stack_string(const SkSL::SkVMDebugTrace& trace, in make_stack_string() argument 63 separator = " -> "; in make_stack_string() 65 if (frame >= 0 && (size_t)frame < trace.fFuncInfo.size()) { in make_stack_string() 66 text += trace.fFuncInfo[frame].name; in make_stack_string() 76 const SkSL::SkVMDebugTrace& trace, in make_vars_string() argument 83 if (var.fSlotIndex < 0 || (size_t)var.fSlotIndex >= trace.fSlotInfo.size()) { in make_vars_string() 88 const SkSL::SlotDebugInfo& slot = trace.fSlotInfo[var.fSlotIndex]; in make_vars_string() [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/perfetto/src/trace_processor/importers/fuchsia/ |
| D | fuchsia_parser_unittest.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 47 #include "protos/perfetto/trace/android/packages_list.pbzero.h" 48 #include "protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.h" 49 #include "protos/perfetto/trace/chrome/chrome_trace_event.pbzero.h" 50 #include "protos/perfetto/trace/clock_snapshot.pbzero.h" 51 #include "protos/perfetto/trace/ftrace/ftrace.pbzero.h" 52 #include "protos/perfetto/trace/ftrace/ftrace_event.pbzero.h" 53 #include "protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h" 54 #include "protos/perfetto/trace/ftrace/generic.pbzero.h" 55 #include "protos/perfetto/trace/ftrace/power.pbzero.h" [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 48 ChannelTrace* trace() const { return &node_->trace_; } in trace() function in grpc_core::channelz::testing::ChannelNodePeer 58 for (grpc_json* child = parent->child; child != nullptr; in GetJsonChild() 59 child = child->next) { in GetJsonChild() 60 if (child->key != nullptr && strcmp(child->key, key) == 0) return child; in GetJsonChild() 69 ASSERT_EQ(arr->type, GRPC_JSON_ARRAY); in ValidateJsonArraySize() 71 for (grpc_json* child = arr->child; child != nullptr; child = child->next) { in ValidateJsonArraySize() 86 (size_t)strtol(num_events_logged_json->value, nullptr, 0); in ValidateChannelTraceData() 92 tracer->AddTraceEvent(ChannelTrace::Severity::Info, in AddSimpleTrace() 93 grpc_slice_from_static_string("simple trace")); in AddSimpleTrace() [all …]
|
| /external/perfetto/src/trace_processor/ |
| D | forwarding_trace_parser.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 31 "Cannot open compressed trace. zlib not enabled in the build config"; 54 …ce.com/fuchsia/+/HEAD/docs/development/tracing/trace-format/README.md#magic-number-record-trace-in… 65 // If this is the first Parse() call, guess the trace type and create the in Parse() 70 auto scoped_trace = context_->storage->TraceExecutionTimeIntoStats( in Parse() 73 context_->trace_type = trace_type; in Parse() 77 PERFETTO_DLOG("JSON trace detected"); in Parse() 78 if (context_->json_trace_tokenizer && context_->json_trace_parser) { in Parse() 79 reader_ = std::move(context_->json_trace_tokenizer); in Parse() 82 context_->sorter.reset( in Parse() [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/gpu/gpu_render_stage_event.proto"; 21 import "protos/perfetto/trace/track_event/chrome_histogram_sample.proto"; 22 import "protos/perfetto/trace/track_event/debug_annotation.proto"; 23 import "protos/perfetto/trace/track_event/log_message.proto"; 24 import "protos/perfetto/trace/track_event/track_event.proto"; 25 import "protos/perfetto/trace/track_event/source_location.proto"; 26 import "protos/perfetto/trace/profiling/profile_common.proto"; 30 // ------------------------------ DATA INTERNING: ------------------------------ [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/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/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/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/skia/src/sksl/tracing/ |
| D | SkVMDebugTracePlayer.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 17 void SkVMDebugTracePlayer::reset(sk_sp<SkVMDebugTrace> debugTrace) { in reset() function in SkSL::SkVMDebugTracePlayer 18 size_t nslots = debugTrace ? debugTrace->fSlotInfo.size() : 0; in reset() 27 fStack.push_back({/*fFunction=*/-1, in reset() 28 /*fLine=*/-1, in reset() 35 if (fDebugTrace->fSlotInfo[slotIdx].fnReturnValue >= 0) { in reset() 36 fReturnValues->set(slotIdx); in reset() 40 for (const SkVMTraceInfo& trace : fDebugTrace->fTraceInfo) { in reset() local 41 if (trace.op == SkVMTraceInfo::Op::kLine) { in reset() 42 fLineNumbers[trace.data[0]] += 1; in reset() [all …]
|
| /external/perfetto/ui/src/frontend/ |
| D | rpc_http_dialog.ts | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 const PROMPT = `Trace Processor Native Accelerator detected on ${RPC_URL} with: 33 YES, use loaded trace: 34 Will load from the current state of Trace Processor. If you did run 35 trace_processor_shell --httpd file.pftrace this is likely what you want. 37 YES, but reset state: 38 Use this if you want to open another trace but still use the 40 trace_processor_shell --httpd. 46 - Only one tab can be using the accelerator. 47 - Sharing, downloading and conversion-to-legacy aren't supported. [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 …]
|
| /external/libchrome-gestures/src/ |
| D | interpreter.cc | 2 // Use of this source code is governed by a BSD-style license that can be 36 log_.reset(new ActivityLog(prop_reg)); in Interpreter() 44 void Interpreter::Trace(const char* message, const char* name) { in Trace() function in gestures::Interpreter 46 tracer_->Trace(message, name); in Trace() 53 Trace("log: start: ", "LogHardwareState"); in SyncInterpret() 54 log_->LogHardwareState(*hwstate); in SyncInterpret() 55 Trace("log: end: ", "LogHardwareState"); in SyncInterpret() 58 own_metrics_->Update(*hwstate); in SyncInterpret() 60 Trace("SyncInterpret: start: ", name()); in SyncInterpret() 62 Trace("SyncInterpret: end: ", name()); in SyncInterpret() [all …]
|