/external/perfetto/protos/ |
D | BUILD | 18 load("//third_party/perfetto/google:build_defs.bzl", "pbzero_cc_proto_library") 20 package(default_visibility = ["//third_party/perfetto:__subpackages__"]) 26 # GN target: //protos/perfetto/common:lite_gen 30 "perfetto/common/android_log_constants.proto", 31 "perfetto/common/commit_data_request.proto", 32 "perfetto/common/descriptor.proto", 33 "perfetto/common/observable_events.proto", 34 "perfetto/common/sys_stats_counters.proto", 35 "perfetto/common/trace_stats.proto", 45 # GN target: //protos/perfetto/common:lite_gen [all …]
|
/external/perfetto/ |
D | Android.bp | 407 // GN target: //:perfetto 409 name: "perfetto", 771 // GN target: //protos/perfetto/common:lite_gen 775 "protos/perfetto/common/android_log_constants.proto", 776 "protos/perfetto/common/commit_data_request.proto", 777 "protos/perfetto/common/descriptor.proto", 778 "protos/perfetto/common/observable_events.proto", 779 "protos/perfetto/common/sys_stats_counters.proto", 780 "protos/perfetto/common/trace_stats.proto", 785 …$(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/pr… [all …]
|
D | BUILD | 66 "include/perfetto/base/build_config.h", 67 "include/perfetto/base/circular_queue.h", 68 "include/perfetto/base/container_annotations.h", 69 "include/perfetto/base/event.h", 70 "include/perfetto/base/export.h", 71 "include/perfetto/base/file_utils.h", 72 "include/perfetto/base/gtest_prod_util.h", 73 "include/perfetto/base/hash.h", 74 "include/perfetto/base/logging.h", 75 "include/perfetto/base/metatrace.h", [all …]
|
D | BUILD.gn | 15 import("gn/perfetto.gni") 32 # Only for local development. When true the binaries (perfetto, traced, ...) 53 ":perfetto", 58 "protos/perfetto/config:merged_config", # For syntax-checking the proto. 59 "protos/perfetto/trace:merged_trace", # For syntax-checking the proto. 187 "include/perfetto/traced", 200 "include/perfetto/traced", 209 executable("perfetto") { 221 # commandline. This is a subset of what the perfetto binary can do but we 244 # This target exports perfetto trace protos in the Android build system, [all …]
|
/external/perfetto/ui/src/common/ |
D | protos.ts | 20 import AndroidLogConfig = protos.perfetto.protos.AndroidLogConfig; 21 import AndroidPowerConfig = protos.perfetto.protos.AndroidPowerConfig; 22 import AndroidLogId = protos.perfetto.protos.AndroidLogId; 24 protos.perfetto.protos.AndroidPowerConfig.BatteryCounters; 25 import BufferConfig = protos.perfetto.protos.TraceConfig.BufferConfig; 26 import DataSourceConfig = protos.perfetto.protos.DataSourceConfig; 27 import FtraceConfig = protos.perfetto.protos.FtraceConfig; 28 import IAndroidPowerConfig = protos.perfetto.protos.IAndroidPowerConfig; 29 import IBufferConfig = protos.perfetto.protos.TraceConfig.IBufferConfig; 30 import IProcessStatsConfig = protos.perfetto.protos.IProcessStatsConfig; [all …]
|
/external/perfetto/src/trace_processor/ |
D | BUILD.gn | 16 import("../../gn/perfetto.gni") 31 "../../include/perfetto/base", 32 "../../protos/perfetto/trace_processor:lite", 151 "../../include/perfetto/traced:sys_stats_counters", 152 "../../protos/perfetto/common:zero", 153 "../../protos/perfetto/metrics:zero", 154 "../../protos/perfetto/metrics/android:zero", 155 "../../protos/perfetto/trace:zero", 156 "../../protos/perfetto/trace/android:zero", 157 "../../protos/perfetto/trace/ftrace:zero", [all …]
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | main.cc | 43 return std::unique_ptr<std::ostream>(new perfetto::VerifyStream(filename)); in MakeVerifyStream() 98 std::vector<perfetto::FtraceEventName> whitelist = in main() 99 perfetto::ReadWhitelist(whitelist_path); in main() 107 if (!perfetto::base::ReadFile(proto_descriptor, &descriptor_bytes)) { in main() 119 std::multimap<std::string, const perfetto::FtraceEventName*> group_to_event; in main() 137 perfetto::GenerateFtraceEventProto(whitelist, groups, out.get()); in main() 141 perfetto::PrintEventFormatterMain(new_events); in main() 142 perfetto::PrintEventFormatterUsingStatements(new_events); in main() 143 perfetto::PrintEventFormatterFunctions(new_events); in main() 157 *fout << perfetto::ProtoHeader(); in main() [all …]
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | ftrace_event.proto | 8 import "perfetto/trace/ftrace/binder.proto"; 9 import "perfetto/trace/ftrace/block.proto"; 10 import "perfetto/trace/ftrace/cgroup.proto"; 11 import "perfetto/trace/ftrace/clk.proto"; 12 import "perfetto/trace/ftrace/compaction.proto"; 13 import "perfetto/trace/ftrace/ext4.proto"; 14 import "perfetto/trace/ftrace/f2fs.proto"; 15 import "perfetto/trace/ftrace/fence.proto"; 16 import "perfetto/trace/ftrace/filemap.proto"; 17 import "perfetto/trace/ftrace/ftrace.proto"; [all …]
|
/external/perfetto/src/tracing/ |
D | BUILD.gn | 16 import("../../gn/perfetto.gni") 21 "../../include/perfetto/tracing/core", 22 "../../protos/perfetto/common:lite", 23 "../../protos/perfetto/trace:minimal_lite", 24 "../../protos/perfetto/trace:trusted_lite", 25 "../../protos/perfetto/trace:zero", 30 "../../protos/perfetto/config:lite", 85 "../../protos/perfetto/config:lite", 86 "../../protos/perfetto/trace:lite", 87 "../../protos/perfetto/trace:zero", [all …]
|
/external/perfetto/include/perfetto/base/ |
D | logging.h | 57 namespace perfetto { 86 ::perfetto::base::Basename(__FILE__ "(" PERFETTO_LOG_LINE "):"), \ 94 ::perfetto::base::Basename(__FILE__ ":" PERFETTO_LOG_LINE), \ 95 ::perfetto::base::kLogFmt[::perfetto::base::LogLev::level], \ 104 (ANDROID_LOG_DEBUG + ::perfetto::base::LogLev::level), "perfetto", \ 105 "%s " fmt, ::perfetto::base::Basename(__FILE__ ":" PERFETTO_LOG_LINE), \ 115 (ANDROID_LOG_DEBUG + ::perfetto::base::LogLev::level), "perfetto", \ 116 "%s " fmt, ::perfetto::base::Basename(__FILE__ ":" PERFETTO_LOG_LINE), \ 151 #define PERFETTO_DLOG(...) ::perfetto::base::ignore_result(__VA_ARGS__) 152 #define PERFETTO_DPLOG(...) ::perfetto::base::ignore_result(__VA_ARGS__) [all …]
|
/external/perfetto/protos/perfetto/trace/ |
D | trace_packet.proto | 20 import "perfetto/common/trace_stats.proto"; 21 import "perfetto/config/trace_config.proto"; 22 import "perfetto/trace/android/android_log.proto"; 23 import "perfetto/trace/android/packages_list.proto"; 24 import "perfetto/trace/chrome/chrome_trace_event.proto"; 25 import "perfetto/trace/clock_snapshot.proto"; 26 import "perfetto/trace/filesystem/inode_file_map.proto"; 27 import "perfetto/trace/ftrace/ftrace_event_bundle.proto"; 28 import "perfetto/trace/ftrace/ftrace_stats.proto"; 29 import "perfetto/trace/interned_data/interned_data.proto"; [all …]
|
/external/perfetto/src/profiling/memory/ |
D | malloc_hooks.cc | 43 using perfetto::profiling::ScopedSpinlock; 44 using perfetto::profiling::UnhookedAllocator; 130 perfetto::base::NoDestructor<std::shared_ptr<perfetto::profiling::Client>> 237 std::shared_ptr<perfetto::profiling::Client> CreateClientForCentralDaemon( in CreateClientForCentralDaemon() 238 UnhookedAllocator<perfetto::profiling::Client> unhooked_allocator) { in CreateClientForCentralDaemon() 240 using perfetto::profiling::Client; in CreateClientForCentralDaemon() 242 perfetto::base::Optional<perfetto::base::UnixSocketRaw> sock = in CreateClientForCentralDaemon() 243 Client::ConnectToHeapprofd(perfetto::profiling::kHeapprofdSocketFile); in CreateClientForCentralDaemon() 250 std::shared_ptr<perfetto::profiling::Client> CreateClientAndPrivateDaemon( in CreateClientAndPrivateDaemon() 251 UnhookedAllocator<perfetto::profiling::Client> unhooked_allocator) { in CreateClientAndPrivateDaemon() [all …]
|
/external/perfetto/docs/ |
D | trace-config.md | 8 ![Trace Config](https://storage.googleapis.com/perfetto/markdown_img/trace-config.png) 10 The [`TraceConfig`](/protos/perfetto/config/trace_config.proto) is an extensible 22 [this](/protos/perfetto/config/ftrace/ftrace_config.proto) 24 See [`trace_config.proto`](/protos/perfetto/config/trace_config.proto) for more 29 [`perfetto_config.proto`](/protos/perfetto/config/perfetto_config.proto). 36 # This is a text-encoded protobuf for /protos/perfetto/config/trace_config.proto 71 $protoc --encode=perfetto.protos.TraceConfig \ 72 -I$(pwd)/external/perfetto/protos \ 73 $(pwd)/external/perfetto/protos/perfetto/config/perfetto_config.proto \ 77 cat /tmp/config.pb | adb shell perfetto -c - -o /data/misc/perfetto-traces/trace.pb [all …]
|
D | embedder-guide.md | 14 - Explain the basic embedder requirements (e.g. [`TaskRunner`](/include/perfetto/base/task_runner.h… 18 - [producer.h](/include/perfetto/tracing/core/producer.h) 19 - [consumer.h](/include/perfetto/tracing/core/consumer.h) 20 - [service.h](/include/perfetto/tracing/core/tracing_service.h) 22 - [shared_memory_abi.h](/include/perfetto/tracing/core/shared_memory_abi.h) 24 - The input [config protos](/protos/perfetto/config) 25 - The output [trace protos](/protos/perfetto/trace)
|
D | running.md | 16 `perfetto`: 23 and the command line client (`perfetto`) in a tmux-based terminal: 29 `CONFIG` variable (e.g., [this](https://android.googlesource.com/platform/external/perfetto/+/maste… 43 $ adb logcat -s perfetto 44 perfetto: service.cc:45 Started traced, listening on /dev/socket/traced_producer /dev/socket/traced… 45 perfetto: probes.cc:25 Starting /system/bin/traced_probes service 46 perfetto: probes_producer.cc:32 Connected to the service 52 $ adb shell perfetto --config :test --out /data/misc/perfetto-traces/trace 58 If the output file is not under `/data/misc/perfetto-traces`, tracing will 67 `adb shell cat /data/misc/perfetto-traces/trace > ~/trace`
|
D | life-of-a-tracing-session.md | 9 [`RegisterDataSource`](/protos/perfetto/ipc/producer_port.proto#34) IPC. 15 [`EnableTracing`](/protos/perfetto/ipc/consumer_port.proto#65) IPC. 18 [`data_sources`](/protos/perfetto/config/trace_config.proto#50) section of 22 [`SetupTracing`](/protos/perfetto/ipc/producer_port.proto#112) IPC message, 26 [`StartDataSource`](/protos/perfetto/ipc/producer_port.proto#105) IPC message 32 [`TraceWriter`](/include/perfetto/tracing/core/trace_writer.h) (typically 35 [`TracePacket`](/protos/perfetto/trace/trace_packet.proto). 37 … chunks, using the [`SharedMemoryArbiter`](/include/perfetto/tracing/core/shared_memory_arbiter.h). 43 [`CommitDataRequest`](/protos/perfetto/ipc/producer_port.proto#41) to the 55 19. The consumer sends a [`FlushRequest`](/perfetto/ipc/consumer_port.proto#52) [all …]
|
D | detached-mode.md | 1 # Running perfetto in detached mode 4 of the `perfetto` cmdline client. 17 attached to the lifetime of the `perfetto` cmdline client that started it. 18 This means that a `killall perfetto` or `kill $PID_OF_PERFETTO` is sufficient 30 `perfetto` client obtained via `--background`. 59 Overall `--attach=key` makes the `perfetto` cmdline client behave as if it was 108 ' | perfetto -c - --txt --detach=session1 -o /data/misc/perfetto-traces/trace 112 perfetto --attach=session1 --stop 114 # /data/misc/perfetto-traces/trace. 142 ' | perfetto -c - --txt --detach=session2 -o /data/misc/perfetto-traces/trace [all …]
|
/external/perfetto/test/ |
D | BUILD.gn | 16 import("../gn/perfetto.gni") 27 "../include/perfetto/traced", 28 "../protos/perfetto/trace:lite", 29 "../protos/perfetto/trace:zero", 43 # In CTS mode we use /syste/bin/perfetto for the cmdline tests and the 63 "../protos/perfetto/trace:lite", 89 "../include/perfetto/traced", 110 "../include/perfetto/traced", 111 "../protos/perfetto/trace:lite", 112 "../protos/perfetto/trace:zero", [all …]
|
/external/perfetto/include/perfetto/ipc/ |
D | codegen_helpers.h | 24 ::std::unique_ptr<::perfetto::ipc::ProtoMessage> _IPC_Decoder( in _IPC_Decoder() 26 ::std::unique_ptr<::perfetto::ipc::ProtoMessage> msg(new T()); in _IPC_Decoder() 39 void (TSvc::*Method)(const TReq&, ::perfetto::ipc::Deferred<TReply>)> 40 void _IPC_Invoker(::perfetto::ipc::Service* s, in _IPC_Invoker() 41 const ::perfetto::ipc::ProtoMessage& req, in _IPC_Invoker() 42 ::perfetto::ipc::DeferredBase reply) { in _IPC_Invoker() 45 ::perfetto::ipc::Deferred<TReply>(::std::move(reply))); in _IPC_Invoker()
|
/external/perfetto/include/perfetto/tracing/core/ |
D | trace_config.h | 41 namespace perfetto { 71 namespace perfetto { 94 void FromProto(const perfetto::protos::TraceConfig_BufferConfig&); 95 void ToProto(perfetto::protos::TraceConfig_BufferConfig*) const; 124 void FromProto(const perfetto::protos::TraceConfig_DataSource&); 125 void ToProto(perfetto::protos::TraceConfig_DataSource*) const; 168 void FromProto(const perfetto::protos::TraceConfig_BuiltinDataSource&); 169 void ToProto(perfetto::protos::TraceConfig_BuiltinDataSource*) const; 214 void FromProto(const perfetto::protos::TraceConfig_ProducerConfig&); 215 void ToProto(perfetto::protos::TraceConfig_ProducerConfig*) const; [all …]
|
D | commit_data_request.h | 39 namespace perfetto { 48 namespace perfetto { 66 void FromProto(const perfetto::protos::CommitDataRequest_ChunksToMove&); 67 void ToProto(perfetto::protos::CommitDataRequest_ChunksToMove*) const; 103 const perfetto::protos::CommitDataRequest_ChunkToPatch_Patch&); 105 perfetto::protos::CommitDataRequest_ChunkToPatch_Patch*) const; 137 void FromProto(const perfetto::protos::CommitDataRequest_ChunkToPatch&); 138 void ToProto(perfetto::protos::CommitDataRequest_ChunkToPatch*) const; 185 void FromProto(const perfetto::protos::CommitDataRequest&); 186 void ToProto(perfetto::protos::CommitDataRequest*) const;
|
D | observable_events.h | 39 namespace perfetto { 46 namespace perfetto { 69 void FromProto(const perfetto::protos:: 72 perfetto::protos::ObservableEvents_DataSourceInstanceStateChange*) 108 void FromProto(const perfetto::protos::ObservableEvents&); 109 void ToProto(perfetto::protos::ObservableEvents*) const;
|
/external/perfetto/protos/perfetto/trace/chrome/ |
D | chrome_trace_packet.proto | 24 // https://android-review.googlesource.com/c/platform/external/perfetto/+/ 29 import "perfetto/common/trace_stats.proto"; 30 import "perfetto/config/trace_config.proto"; 31 import "perfetto/trace/chrome/chrome_trace_event.proto"; 32 import "perfetto/trace/clock_snapshot.proto"; 33 import "perfetto/trace/interned_data/interned_data.proto"; 34 import "perfetto/trace/track_event/process_descriptor.proto"; 35 import "perfetto/trace/track_event/thread_descriptor.proto"; 36 import "perfetto/trace/track_event/track_event.proto"; 38 package perfetto.protos;
|
/external/perfetto/src/perfetto_cmd/ |
D | BUILD.gn | 15 import("../../gn/perfetto.gni") 21 "../../include/perfetto/traced", 28 "../../protos/perfetto/common:lite", 29 "../../protos/perfetto/config:lite", 61 "../../include/perfetto/traced", 82 "../../protos/perfetto/config:lite", 106 "../../include/perfetto/base", 107 "../../protos/perfetto/config:lite", 108 "../../protos/perfetto/trace:lite",
|
/external/perfetto/debian/ |
D | control | 1 Source: perfetto 7 Homepage: https://android.googlesource.com/platform/external/perfetto/ 8 Vcs-Git: https://android.googlesource.com/platform/external/perfetto/ 9 Vcs-Browser: https://android.googlesource.com/platform/external/perfetto/ 11 Package: perfetto
|