Searched refs:perfetto (Results 1 – 20 of 20) sorted by relevance
4 adb push perfetto/atrace.pbtxt /data/misc/perfetto-configs/boottrace.pbtxt5 adb shell setprop persist.debug.perfetto.boottrace 18 The output trace will be written at /data/misc/perfetto-traces/boottrace.perfetto-trace.12 adb pull /data/misc/perfetto-traces/boottrace.perfetto-trace16 - https://perfetto.dev/docs/case-studies/android-boot-tracing
38 using ::perfetto::protos::pbzero::NetworkPacketBundle;39 using ::perfetto::protos::pbzero::NetworkPacketEvent;40 using ::perfetto::protos::pbzero::NetworkPacketTraceConfig;41 using ::perfetto::protos::pbzero::TracePacket;42 using ::perfetto::protos::pbzero::TrafficDirection;122 perfetto::DataSourceDescriptor dsd; in RegisterDataSource()129 perfetto::TracingInitArgs args = {}; in InitPerfettoTracing()130 args.backends |= perfetto::kSystemBackend; in InitPerfettoTracing()137 perfetto::Tracing::Initialize(args); in InitPerfettoTracing()149 perfetto::LockedHandle<NetworkTraceHandler> handle = in __anonbecfadfa0102()[all …]
30 using ::perfetto::protos::NetworkPacketEvent;31 using ::perfetto::protos::NetworkPacketTraceConfig;32 using ::perfetto::protos::Trace;33 using ::perfetto::protos::TracePacket;34 using ::perfetto::protos::TrafficDirection;39 std::unique_ptr<perfetto::TracingSession> StartTracing( in StartTracing()41 perfetto::TracingInitArgs args; in StartTracing()42 args.backends = perfetto::kInProcessBackend; in StartTracing()43 perfetto::Tracing::Initialize(args); in StartTracing()45 perfetto::DataSourceDescriptor dsd; in StartTracing()[all …]
38 void NetworkTracePoller::PollAndSchedule(perfetto::base::TaskRunner* runner, in PollAndSchedule()88 mTaskRunner = perfetto::Platform::GetDefaultPlatform()->CreateTaskRunner({}); in Start()
28 [Perfetto](https://perfetto.dev/docs/) is an open-source stack for performance instrumentation and35 https://perfetto.dev/docs/quickstart/android-tracing.38 https://cs.android.com/android/platform/superproject/+/master:external/perfetto/tools/record_androi…42 external/perfetto/tools/record_android_trace hyp -t 15s -b 32mb -o /tmp/hyp.pftrace68 ./record_android_trace -c config.pbtx -o trace_file.perfetto-trace72 ${REPO_ROOT}/external/perfetto/tools/record_android_traces. Otherwise, you can download the script74 https://perfetto.dev/docs/quickstart/android-tracing#recording-a-trace-through-the-cmdline)78 Perfetto supports capturing traces on Linux: https://perfetto.dev/docs/quickstart/linux-tracing.82 1. Checkout Perfetto repository: https://perfetto.dev/docs/contributing/getting-started83 2. Follow https://perfetto.dev/docs/contributing/build-instructions#cross-compiling-for-linux-arm-64[all …]
75 struct NetworkTraceTraits : public perfetto::DefaultDataSourceTraits {83 : public perfetto::DataSource<NetworkTraceHandler, NetworkTraceTraits> {107 ::perfetto::protos::pbzero::NetworkPacketEvent* event);110 ::perfetto::protos::pbzero::NetworkPacketBundle* FillWithInterning(112 ::perfetto::protos::pbzero::TracePacket* dst);
61 void PollAndSchedule(perfetto::base::TaskRunner* runner, uint32_t poll_ms);91 std::unique_ptr<perfetto::base::TaskRunner> mTaskRunner GUARDED_BY(mMutex);
30 import perfetto.protos.DataSourceDescriptorOuterClass.DataSourceDescriptor;31 import perfetto.protos.FtraceDescriptorOuterClass.FtraceDescriptor.AtraceCategory;32 import perfetto.protos.TraceConfigOuterClass.TraceConfig;33 import perfetto.protos.TracingServiceStateOuterClass.TracingServiceState;34 import perfetto.protos.TracingServiceStateOuterClass.TracingServiceState.DataSource;270 Process perfetto = TraceUtils.exec(cmd, null, false); in perfettoListCategories() local272 TracingServiceState.parseFrom(perfetto.getInputStream()); in perfettoListCategories()275 if (!perfetto.waitFor(LIST_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in perfettoListCategories()277 perfetto.destroyForcibly(); in perfettoListCategories()282 if (perfetto.exitValue() != 0) { in perfettoListCategories()[all …]
50 import perfetto.protos.TraceConfigOuterClass.TraceConfig;
1 $ANDROID_BUILD_TOP/external/perfetto/tools/record_android_trace \3 -o /tmp/perfetto-traces/$(date +"%d-%m-%Y_%H-%M-%S").perfetto-trace
14 # See: https://perfetto.dev/docs/data-sources/atrace#traceconfig
1 $ANDROID_BUILD_TOP/external/perfetto/tools/record_android_trace \3 -o /tmp/perfetto-traces/docsui-$(date +"%d-%m-%Y_%H-%M-%S").perfetto-trace
16 # See: https://perfetto.dev/docs/data-sources/atrace#traceconfig93 # See https://perfetto.dev/docs/data-sources/frametimeline#traceconfig101 # See https://perfetto.dev/docs/data-sources/memory-counters
24 import perfetto.protos.DataSourceConfigOuterClass.DataSourceConfig;25 import perfetto.protos.FtraceConfigOuterClass.FtraceConfig;26 import perfetto.protos.HeapprofdConfigOuterClass.HeapprofdConfig;27 import perfetto.protos.JavaHprofConfigOuterClass.JavaHprofConfig;28 import perfetto.protos.PackagesListConfigOuterClass.PackagesListConfig;29 import perfetto.protos.PerfEventConfigOuterClass.PerfEventConfig;30 import perfetto.protos.PerfEventsOuterClass.PerfEvents;31 import perfetto.protos.ProcessStatsConfigOuterClass.ProcessStatsConfig;32 import perfetto.protos.TraceConfigOuterClass.TraceConfig;
18 +perfetto::internal::TrackRegistry *perfetto::internal::TrackRegistry::instance_ = nullptr;
540 // perfetto.protos.TraceConfig defined in541 // //external/perfetto/protos/perfetto/config/. On device,543 // passed binary-encoded to the perfetto cmdline client.
61 import perfetto.protos.PerfettoConfig.DataSourceConfig;62 import perfetto.protos.PerfettoConfig.FtraceConfig;63 import perfetto.protos.PerfettoConfig.TraceConfig;
26 from perfetto.trace_processor import TraceProcessor
110 "perfetto",
1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...