Home
last modified time | relevance | path

Searched refs:tracing (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/external/bcc/tools/
Dreset-trace_example.txt5 signals, like SIGTERM), or if a bcc tool crashes, then kernel tracing can be
8 used to clean up the tracing state, and reset and disable active tracing.
10 WARNING: Make sure no other tracing sessions are active, as it will likely
14 /sys/kernel/debug/tracing: kprobe_events, uprobe_events, trace_pipe.
15 Other tracing facilities (ftrace) are checked, and if not in an expected state,
16 a note is printed. All tracing files can be reset with -F for force, but this
17 will interfere with any other running tracing sessions (eg, ftrace).
30 Reseting tracing state...
32 Checking /sys/kernel/debug/tracing/kprobe_events
33 Checking /sys/kernel/debug/tracing/uprobe_events
[all …]
/external/perfetto/src/tracing/
DBUILD.gn23 # when not use. See comments in Tracing::Initialize() in tracing.h.
29 "../../include/perfetto/tracing",
30 "../../include/perfetto/tracing/core",
57 "../../include/perfetto/tracing",
68 "../../include/perfetto/tracing",
74 # src/tracing/core) need to depend on. It cannot be in the root :tracing target
76 # depend on tracing.
80 "../../include/perfetto/tracing",
89 "../../include/perfetto/tracing/core",
99 "../../include/perfetto/tracing",
[all …]
/external/skia/site/docs/dev/tools/
Dtracing.md13 with the standard [tracing interface](chrome://tracing), along with the rest of Chromium. In
14 the Android framework, Skia's tracing is integrated into
17 For standalone builds, Skia's tools (DM, nanobench, and Viewer) are capable of tracing execution
25 [chrome://tracing](chrome://tracing).
29 # Run DM on several GMs to get tracing data
33 tracing tool that prevent loading a file larger than 256 MB. To stay under that limit (and avoid
35 tracing. Once you have generated a file in this way, go to
36 [chrome://tracing](chrome://tracing), click Load:
41 tracing tools. Tip: press '?' for a help screen explaining the available keyboard and mouse
44 ![Tracing interface](../tracing.png)
[all …]
/external/skqp/site/dev/tools/
Dtracing.md8 with the standard [tracing interface](chrome://tracing), along with the rest of Chromium. In
9 the Android framework, Skia's tracing is integrated into
12 For standalone builds, Skia's tools (DM, nanobench, and Viewer) are capable of tracing execution
20 [chrome://tracing](chrome://tracing).
24 # Run DM on several GMs to get tracing data
28 tracing tool that prevent loading a file larger than 256 MB. To stay under that limit (and avoid
30 tracing. Once you have generated a file in this way, go to
31 [chrome://tracing](chrome://tracing), click Load:
36 tracing tools. Tip: press '?' for a help screen explaining the available keyboard and mouse
39 ![Tracing interface](tracing.png)
[all …]
/external/strace/m4/
Dst_stacktrace.m432 [whether to enable stack tracing support, default is check])],
42 dnl Whether to enable stack tracing support?
55 [AC_MSG_ERROR([stack tracing support requires an unwinder])]
60 AC_MSG_CHECKING([whether to enable stack tracing support])
68 [Define to enable stack tracing support])
70 [The unwinder to use for stack tracing support])
72 dnl As stack tracing support is enabled, check for a demangler.
Dst_libdw.m437 [use libdw to implement stack tracing support]
77 [AC_MSG_ERROR([elfutils version >= 164 is required for stack tracing support])],
78 [AC_MSG_WARN([elfutils version >= 164 is required for stack tracing support])]
104 [Whether to use libdw for stack tracing]
/external/perfetto/docs/design-docs/
Dsecurity-model.md1 # Security model for system-wide tracing on Android/Linux
3 The tracing service has two endpoints (in Chromium: Mojo services, on
13 exploit the tracing service. We do so at the
14 [core/tracing_service_impl.cc](/src/tracing/core/tracing_service_impl.cc) so
20 - The tracing service has to validate all inputs.
21 - In the worst case a bug in the tracing service allowing remote code execution,
22 the tracing service should have no meaningful capabilities to exploit.
23 - The tracing service, by design, has a limited syscall surface to simplify
41 Memory is shared only point-to-point between each producer and the tracing
48 The tracing service guarantees that the `TracePacket` fields written by the
[all …]
Dapi-and-abi.md9 * The public C++ API in `include/perfetto/tracing/` is mostly stable but can
13 * The tracing protocol ABI is based on protobuf-over-UNIX-socket and shared
21 * There isn't a version number neither in the trace file nor in the tracing
39 [`track_event.h`](/include/perfetto/tracing/track_event.h).
48 [`tracing.h`](/include/perfetto/tracing.h).
50 notifications about tracing sessions lifecycle and emit custom protos in the
76 chrome://tracing. The team is continuously reshaping this surface to gradually
82 various processes in the operating system to contribute to tracing sessions and
83 inject tracing data into the tracing service:
89 The whole tracing protocol ABI is binary stable across platforms and is updated
[all …]
/external/perfetto/docs/
DREADME.md1 # Perfetto - System profiling, app tracing and trace analysis
14 [tracing protocol](/docs/design-docs/api-and-abi.md#tracing-protocol-abi) based
15 on direct protobuf serialization onto a shared memory buffer. The tracing
17 C++ apps through the [Tracing SDK](/docs/instrumentation/tracing-sdk.md) and the
20 This new tracing protocol allows dynamic configuration of all aspects of tracing
29 ### System-wide tracing on Android and Linux
36 * [Kernel tracing](/docs/data-sources/cpu-scheduling.md): Perfetto integrates
59 On Android, Perfetto is the next-generation system tracing system and replaces
63 See [Android developer docs](https://developer.android.com/topic/performance/tracing)
68 The [Perfetto Tracing SDK](/docs/instrumentation/tracing-sdk.md) enables C++
[all …]
/external/perfetto/
DBUILD394 # GN target: //include/perfetto/ext/tracing/core:core
398 "include/perfetto/ext/tracing/core/basic_types.h",
399 "include/perfetto/ext/tracing/core/commit_data_request.h",
400 "include/perfetto/ext/tracing/core/consumer.h",
401 "include/perfetto/ext/tracing/core/observable_events.h",
402 "include/perfetto/ext/tracing/core/producer.h",
403 "include/perfetto/ext/tracing/core/shared_memory.h",
404 "include/perfetto/ext/tracing/core/shared_memory_abi.h",
405 "include/perfetto/ext/tracing/core/shared_memory_arbiter.h",
406 "include/perfetto/ext/tracing/core/slice.h",
[all …]
DBUILD.gn142 "src/tracing:client_api_no_backends_compile_test",
145 all_targets += [ "src/tracing/consumer_api_deprecated:consumer_api_test" ]
214 deps += [ "src/tracing/consumer_api_deprecated" ]
228 "src/tracing:client_api",
229 "src/tracing:platform_impl",
231 sources = [ "include/perfetto/tracing.h" ]
245 "src/tracing:client_api",
246 "src/tracing/core",
249 "src/tracing:platform_fake",
255 "include/perfetto/ext/tracing/core",
[all …]
/external/perfetto/docs/concepts/
Ddetached-mode.md7 the risk of leaking tracing sessions and accidentally leaving tracing on for
16 By default the tracing service `traced` keeps the lifetime of a tracing session
19 to guarantee that the tracing session is stopped.
22 operation was designed for the Traceur app (on-device tracing UI for Android).
24 When required by the user, Traceur needs to enable tracing in the background,
34 of the tracing session.
40 the `traced` service will keep the tracing session alive. Because of the exit,
53 an existing tracing session identified by `key`.
54 For security reasons the service allows a client to re-attach to a tracing
61 - sending a `SIGKILL` (or Ctrl-C) to the client will gracefully stop the tracing
[all …]
Dservice-model.md7 The tracing service is a long-lived entity (a system daemon on Linux/Android,
12 * Handles multiplexing of several tracing sessions.
22 process of the tracing service. It advertises its ability to contribute to the trace with one or mo…
25 * One shared memory buffer, shared exclusively with the tracing service.
26 * One IPC channel with the tracing service.
32 * How many tracing sessions are active.
39 Concrete example: at some point in the future Chrome might expose one Producer for tracing within t…
44 of the Browser process in Chrome) that controls (non-exclusively) the tracing service and reads bac…
53 * Enable and disable tracing.
61 A data source is a capability, exposed by a Producer, of providing some tracing
[all …]
Dconfig.md4 in Perfetto all tracing data sources are idle by default and record data only
7 Data sources record data only when one (or more) tracing sessions are active.
8 A tracing session is started by invoking the `perfetto` cmdline client and
10 [Android](/docs/quickstart/android-tracing.md) or
11 [Linux](/docs/quickstart/linux-tracing.md)).
45 NOTE: If you are tracing on Android using adb and experiencing problems, see
53 1. The general behavior of the whole tracing system, e.g.:
59 * For the [kernel tracing data source](/docs/data-sources/cpu-scheduling.md)
70 The tracing service (`traced`) acts as a configuration dispatcher: it receives
76 When a tracing session is started by a consumer, the tracing service will:
[all …]
/external/python/cpython3/Lib/test/dtracedata/
Dgc.stp1 global tracing variable
8 tracing = 1;
14 if (tracing) {
24 tracing = 0;
Dcall_stack.stp1 global tracing variable
18 tracing = 1;
28 if (tracing) {
39 tracing = 0;
/external/tensorflow/tensorflow/lite/tools/benchmark/android/
DREADME.md93 https://developer.android.com/topic/performance/tracing/on-device. Refer to the
99 (4) Enable platform tracing.
106 [instruction](https://developer.android.com/topic/performance/tracing/on-device#set-up-tile).
109 Optionally, you can set up other configurations for tracing from the app menu.
111 [guide](https://developer.android.com/topic/performance/tracing/on-device#app-menu)
118 (7) Run the benchmark with platform tracing enabled.
136 (9) Stop tracing by tapping either the System Tracing tile in the Quick Settings
144 [Share](https://developer.android.com/topic/performance/tracing/on-device#share-trace)
146 [convert](https://developer.android.com/topic/performance/tracing/on-device#converting_between_trac…
147 between tracing formats and
[all …]
/external/rust/crates/tokio/src/util/
Dtrace.rs3 pub(crate) use tracing::instrument::Instrumented;
8 use tracing::instrument::Instrument;
12 let span = tracing::trace_span!(
19 let span = tracing::trace_span!(
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_util.cc167 if (!tracing::EventCollector::IsEnabled()) { in SchedClosure()
170 uint64 id = tracing::GetUniqueArg(); in SchedClosure()
171 tracing::RecordEvent(tracing::EventCategory::kScheduleClosure, id); in SchedClosure()
174 tracing::ScopedRegion region(tracing::EventCategory::kRunClosure, id); in SchedClosure()
/external/bcc/
DREADME.md4 BCC is a toolkit for creating efficient kernel tracing and manipulation
43 See the source: [bitehist.py](examples/tracing/bitehist.py). What this traces,
68 - examples/tracing/[bitehist.py](examples/tracing/bitehist.py): Block I/O size histogram. [Examples…
69 - examples/tracing/[disksnoop.py](examples/tracing/disksnoop.py): Trace block device I/O latency. […
71 …examples/tracing/[mysqld_query.py](examples/tracing/mysqld_query.py): Trace MySQL server queries u…
72tracing/[nodejs_http_server.py](examples/tracing/nodejs_http_server.py): Trace Node.js HTTP server…
73 …mples/tracing/[stacksnoop](examples/tracing/stacksnoop.py): Trace a kernel function and print all …
75 - examples/tracing/[task_switch.py](examples/tracing/task_switch.py): Count task switches with from…
76 - examples/tracing/[tcpv4connect.py](examples/tracing/tcpv4connect.py): Trace TCP IPv4 active conne…
77 - examples/tracing/[trace_fields.py](examples/tracing/trace_fields.py): Simple example of printing …
[all …]
/external/perfetto/include/
DREADME.md18 What is a client supposed to do to use tracing? See example below in this page.
26 This contains classes to: (i) use tracing; (ii) extend the tracing internals
35 **include/perfetto/tracing/internal:**
37 tracing API efficiently but that are not part of the API surface.
66 While doing so the app can chose the tracing model:
69 the app to join system-wide tracing sessions. This is available only on
82 #include "perfetto/tracing.h"
106 The passed lambda will be called only if tracing is enabled and the data source
108 active tracing session, in case of concurrent tracing sessions (or even within a
109 single tracing session, if the data source is listed twice in the trace config).
/external/webrtc/sdk/objc/api/peerconnection/
DRTCTracing.mm16 rtc::tracing::SetupInternalTracer();
20 return rtc::tracing::StartInternalCapture(filePath.UTF8String);
24 rtc::tracing::StopInternalCapture();
28 rtc::tracing::ShutdownInternalTracer();
/external/tensorflow/tensorflow/c/eager/
Dc_api_unified_experimental.cc34 namespace tracing { namespace
35 typedef absl::flat_hash_map<std::string, tracing::FactoryFunction> FactoriesMap;
42 static tracing::FactoryFunction default_factory;
105 using tensorflow::tracing::CreateTracingExecutionContext;
106 using tensorflow::tracing::SetDefaultTracingEngine;
107 using tensorflow::tracing::TracingContext;
108 using tensorflow::tracing::TracingOperation;
109 using tensorflow::tracing::TracingTensorHandle;
/external/perfetto/docs/instrumentation/
Dtracing-sdk.md8 1. Whether you are interested only in tracing events coming from your own app
13 2. For app-specific tracing, whether you need to trace simple types of timeline
85 The SDK offers two abstraction layers to inject tracing data, built on top of
91 Track events are the suggested option when dealing with app-specific tracing as
130 Track events are the best default option and serve most tracing use cases with
154 apps for tracing. However, in some rare circumstances they are not
165 automatically create one instance of the class for each tracing session it is
213 trace config to enable tracing:
222 source. The lambda function passed to that method will only be called if tracing
224 multiple concurrent tracing sessions are active.
[all …]
/external/bcc/examples/tracing/
DCMakeLists.txt4 install(PROGRAMS ${PY_FILES} DESTINATION share/bcc/examples/tracing)
5 install(FILES ${C_FILES} DESTINATION share/bcc/examples/tracing)
6 install(FILES ${TXT_FILES} DESTINATION share/bcc/examples/tracing)

12345678910>>...22