/third_party/mesa3d/src/tool/pps/ |
D | pps_datasource.cc | 61 perfetto::protos::pbzero::GpuCounterConfig::Decoder config(config_raw); in OnSetup() 114 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in close_callback() 115 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in close_callback() 147 static perfetto::DataSourceDescriptor dsd; in register_data_source() 152 void add_group(perfetto::protos::pbzero::GpuCounterDescriptor *desc, in add_group() 176 void add_descriptors(perfetto::protos::pbzero::GpuCounterEvent *event, in add_descriptors() 195 auto units = perfetto::protos::pbzero::GpuCounterDescriptor::NONE; in add_descriptors() 198 units = perfetto::protos::pbzero::GpuCounterDescriptor::PERCENT; in add_descriptors() 201 units = perfetto::protos::pbzero::GpuCounterDescriptor::BYTE; in add_descriptors() 204 units = perfetto::protos::pbzero::GpuCounterDescriptor::HERTZ; in add_descriptors() [all …]
|
D | pps_producer.cc | 19 perfetto::TracingInitArgs args; in main() 20 args.backends = perfetto::kSystemBackend; in main() 21 perfetto::Tracing::Initialize(args); in main()
|
D | pps_datasource.h | 21 struct GpuDataSourceTraits : public perfetto::DefaultDataSourceTraits { 31 class GpuDataSource : public perfetto::DataSource<GpuDataSource, GpuDataSourceTraits>
|
/third_party/mesa3d/docs/ |
D | perfetto.rst | 4 Mesa has experimental support for `Perfetto <https://perfetto.dev>`__ for 6 `producers <https://perfetto.dev/docs/concepts/service-model>`__ each with 17 The mesa perfetto support adds additional producers, to allow for visualizing 50 To capture a trace with perfetto you need to take the following steps: 52 1. Build perfetto from sources available at ``subprojects/perfetto`` following 53 `this guide <https://perfetto.dev/docs/quickstart/linux-tracing>`__. 55 2. Create a `trace config <https://perfetto.dev/#/trace-config.md>`__, which is 58 can be found in ``subprojects/perfetto/test/configs``. 60 3. Change directory to ``subprojects/perfetto`` and run a 61 `convenience script <https://perfetto.dev/#/running.md>`__ to start the [all …]
|
D | gpu-perf-tracing.rst | 10 perfetto
|
D | u_trace.rst | 6 :doc:`Perfetto Tracing <perfetto>` is based on u_trace.
|
/third_party/mesa3d/src/intel/ds/ |
D | intel_driver_ds.cc | 99 struct IntelRenderpassTraits : public perfetto::DefaultDataSourceTraits { 103 class IntelRenderpassDataSource : public perfetto::DataSource<IntelRenderpassDataSource, 140 using perfetto::protos::pbzero::InternedGpuRenderStageSpecification_RenderStageCategory; 158 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in sync_timestamp() 172 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp() 179 clock->set_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp() 208 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in send_descriptors() 209 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in send_descriptors() 210 … packet->set_sequence_flags(perfetto::protos::pbzero::TracePacket::SEQ_INCREMENTAL_STATE_CLEARED); in send_descriptors() 220 desc->set_api(perfetto::protos::pbzero::InternedGraphicsContext_Api_OPEN_GL); in send_descriptors() [all …]
|
D | meson.build | 16 '--perfetto-hdr', '@OUTPUT1@',
|
/third_party/mesa3d/src/util/ |
D | u_perfetto.cc | 33 perfetto::Tracing::Shutdown(); in util_perfetto_fini() 40 perfetto::TracingInitArgs args; in util_perfetto_init_once() 41 args.backends = perfetto::kSystemBackend; in util_perfetto_init_once() 42 perfetto::Tracing::Initialize(args); in util_perfetto_init_once()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_perfetto.cc | 46 struct FdRenderpassTraits : public perfetto::DefaultDataSourceTraits { 50 class FdRenderpassDataSource : public perfetto::DataSource<FdRenderpassDataSource, FdRenderpassTrai… 129 struct fd_perfetto_state *p = &ctx->perfetto; in stage_start() 138 struct fd_perfetto_state *p = &ctx->perfetto; in stage_end() 248 perfetto::DataSourceDescriptor dsd; in fd_perfetto_init() 256 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in sync_timestamp() 280 clock->set_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp() 302 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in emit_submit_id() 330 struct fd_perfetto_state *p = &fd_context(pctx)->perfetto; in fd_start_render_pass() 375 fd_context(pctx)->perfetto.nbins ? GMEM_STAGE_ID : BYPASS_STAGE_ID); in fd_start_draw_ib() [all …]
|
D | freedreno_context.h | 444 struct fd_perfetto_state perfetto; member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_perfetto.cc | 37 struct TuRenderpassTraits : public perfetto::DefaultDataSourceTraits { 41 class TuRenderpassDataSource : public perfetto::DataSource<TuRenderpassDataSource, TuRenderpassTrai… 126 typedef void (*trace_payload_as_extra_func)(perfetto::protos::pbzero::GpuRenderStageEvent *, const … 178 perfetto::DataSourceDescriptor dsd; in tu_perfetto_init() 186 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in sync_timestamp() 240 clock->set_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp() 262 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in emit_submit_id()
|
D | tu_perfetto_util.c | 16 return &dev->perfetto; in tu_device_get_perfetto_state()
|
D | meson.build | 88 '--perfetto-hdr', '@OUTPUT2@',
|
D | tu_device.h | 320 struct tu_perfetto_state perfetto; member
|
/third_party/skia/platform_tools/android/apps/skottie/ |
D | collect.sh | 6 cat ./perfetto_config.pb | adb shell perfetto -c - -o /data/misc/perfetto-traces/trace.pb 7 adb pull /data/misc/perfetto-traces/trace.pb trace
|
D | skottie_metric.proto | 3 package perfetto.protos; 5 import "protos/perfetto/metrics/metrics.proto"; 6 import "protos/perfetto/metrics/android/hwui_metric.proto"; 13 // original HWUI metric as defined by built-in perfetto proto.
|
D | run_perf.sh | 11 wget https://get.perfetto.dev/trace_processor
|
/third_party/mesa3d/subprojects/ |
D | perfetto.wrap | 2 directory = perfetto 4 url = https://android.googlesource.com/platform/external/perfetto
|
/third_party/mesa3d/src/panfrost/ds/ |
D | pan_pps_driver.cc | 132 last_dump_ts = perfetto::base::GetBootTimeNs().count(); in dump_perfcnt() 162 return perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME; in gpu_clock_id() 167 return perfetto::base::GetBootTimeNs().count(); in gpu_timestamp()
|
/third_party/mesa3d/src/tool/pps/cfg/ |
D | system.cfg | 92 name: "perfetto.metatrace" 98 producer_name: "perfetto.traced_probes"
|
/third_party/mesa3d/src/util/perf/ |
D | u_trace_priv.h | 52 void (*perfetto)(void *pctx, uint64_t ts_ns, const void *flush_data, const void *payload); member
|
D | u_trace.c | 528 if (evt->tp->perfetto) { in process_chunk() 529 evt->tp->perfetto(utctx->pctx, ns, chunk->flush_data, evt->payload); in process_chunk()
|
/third_party/mesa3d/src/freedreno/ds/ |
D | fd_pps_driver.cc | 429 last_dump_ts = perfetto::base::GetBootTimeNs().count(); in collect_countables() 702 return perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME; in gpu_clock_id() 708 return perfetto::base::GetBootTimeNs().count(); in gpu_timestamp()
|
/third_party/node/tools/v8_gypfiles/ |
D | features.gypi | 167 # Use Perfetto (https://perfetto.dev) as the default TracingController. Not
|