micromegas 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- micromegas/__init__.py +2 -0
- micromegas/client.py +40 -4
- micromegas/perfetto.py +64 -0
- micromegas/request.py +0 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/android_energy_consumer_descriptor_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/android_log_constants_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/builtin_clock_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/descriptor_pb2.py +62 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/gpu_counter_descriptor_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/perf_events_pb2.py +46 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/protolog_common_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/sys_stats_counters_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/common/trace_stats_pb2.py +48 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/android_game_intervention_list_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/android_input_event_config_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/android_log_config_pb2.py +37 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/android_polled_state_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/android_sdk_sysprop_guard_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/android_system_property_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/network_trace_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/packages_list_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/pixel_modem_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/protolog_config_pb2.py +41 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/surfaceflinger_layers_config_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/android/surfaceflinger_transactions_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/chrome/chrome_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/chrome/v8_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/data_source_config_pb2.py +120 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/etw/etw_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/ftrace/ftrace_config_pb2.py +48 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/gpu/gpu_counter_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/gpu/vulkan_memory_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/inode_file/inode_file_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/interceptor_config_pb2.py +37 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/interceptors/console_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/power/android_power_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/process_stats/process_stats_config_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/profiling/heapprofd_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/profiling/java_hprof_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/profiling/perf_event_config_pb2.py +43 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/statsd/atom_ids_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/statsd/statsd_tracing_config_pb2.py +39 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/sys_stats/sys_stats_config_pb2.py +39 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/system_info/system_info_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/test_config_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/trace_config_pb2.py +90 -0
- micromegas/thirdparty/perfetto/protos/perfetto/config/track_event/track_event_config_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/android_game_intervention_list_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/android_log_pb2.py +43 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/android_system_property_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/camera_event_pb2.py +48 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/frame_timeline_event_pb2.py +54 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/gpu_mem_event_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/graphics/rect_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/graphics_frame_event_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/initial_display_state_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/network_trace_pb2.py +46 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/packages_list_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/pixel_modem_events_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/protolog_pb2.py +43 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/shell_transition_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/surfaceflinger_common_pb2.py +59 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/surfaceflinger_layers_pb2.py +72 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/surfaceflinger_transactions_pb2.py +76 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/android/winscope_extensions_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/chrome/chrome_metadata_pb2.py +50 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/chrome/chrome_trace_event_pb2.py +56 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/chrome/chrome_trigger_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/chrome/v8_pb2.py +70 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/clock_snapshot_pb2.py +41 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/etw/etw_event_bundle_pb2.py +37 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/etw/etw_event_pb2.py +37 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/etw/etw_pb2.py +48 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/extension_descriptor_pb2.py +37 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/filesystem/inode_file_map_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/android_fs_pb2.py +46 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/binder_pb2.py +52 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/block_pb2.py +72 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/cgroup_pb2.py +52 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/clk_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/cma_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/compaction_pb2.py +62 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/cpuhp_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/cros_ec_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/dcvsh_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/dma_fence_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/dmabuf_heap_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/dpu_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/drm_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ext4_pb2.py +224 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/f2fs_pb2.py +106 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/fastrpc_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/fence_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/filemap_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle_pb2.py +66 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ftrace_event_pb2.py +105 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ftrace_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ftrace_stats_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/g2d_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/generic_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/google_icc_trace_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/google_irm_trace_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/gpu_mem_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/gpu_scheduler_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/hyp_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/i2c_pb2.py +50 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ion_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ipi_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/irq_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/kgsl_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/kmem_pb2.py +122 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/kvm_pb2.py +106 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/lwis_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/mali_pb2.py +98 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/mdss_pb2.py +76 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/mm_event_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/net_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/oom_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/panel_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/perf_trace_counters_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/power_pb2.py +60 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/printk_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/raw_syscalls_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/regulator_pb2.py +48 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/rpm_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/samsung_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/sched_pb2.py +64 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/scm_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/sde_pb2.py +46 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/signal_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/skb_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/sock_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/sync_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/synthetic_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/systrace_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/task_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/tcp_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/thermal_exynos_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/thermal_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/trusty_pb2.py +70 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/ufs_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/v4l2_pb2.py +46 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/virtio_gpu_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/virtio_video_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/vmscan_pb2.py +46 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ftrace/workqueue_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/gpu/gpu_counter_event_pb2.py +39 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/gpu/gpu_log_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event_pb2.py +58 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/gpu/vulkan_api_event_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/interned_data/interned_data_pb2.py +45 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/memory_graph_pb2.py +48 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/perfetto/tracing_service_event_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/power/android_energy_estimation_breakdown_pb2.py +39 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/power/android_entity_state_residency_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/power/battery_counters_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/power/power_rails_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/profiling/deobfuscation_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/profiling/heap_graph_pb2.py +57 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/profiling/profile_common_pb2.py +50 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/profiling/profile_packet_pb2.py +72 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/profiling/smaps_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ps/process_stats_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ps/process_tree_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/remote_clock_sync_pb2.py +39 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/statsd/statsd_atom_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/sys_stats/sys_stats_pb2.py +55 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/system_info/cpu_info_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/system_info_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/test_event_pb2.py +39 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/trace_packet_defaults_pb2.py +39 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/trace_packet_pb2.py +107 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/trace_pb2.py +37 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/trace_uuid_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_active_processes_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_application_state_info_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state_pb2.py +75 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_content_settings_event_info_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_frame_reporter_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_latency_info_pb2.py +42 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_message_pump_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_mojo_event_info_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_renderer_scheduler_state_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_thread_descriptor_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_user_event_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/chrome_window_handle_event_info_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/counter_descriptor_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/debug_annotation_pb2.py +44 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/log_message_pb2.py +40 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/pixel_modem_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/process_descriptor_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/range_of_interest_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/screenshot_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/source_location_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/task_execution_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/thread_descriptor_pb2.py +38 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/track_descriptor_pb2.py +41 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/track_event/track_event_pb2.py +74 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/translation/translation_table_pb2.py +70 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/trigger_pb2.py +36 -0
- micromegas/thirdparty/perfetto/protos/perfetto/trace/ui_state_pb2.py +38 -0
- {micromegas-0.1.1.dist-info → micromegas-0.1.3.dist-info}/METADATA +3 -1
- micromegas-0.1.3.dist-info/RECORD +212 -0
- micromegas-0.1.1.dist-info/RECORD +0 -6
- {micromegas-0.1.1.dist-info → micromegas-0.1.3.dist-info}/WHEEL +0 -0
micromegas/__init__.py
CHANGED
micromegas/client.py
CHANGED
@@ -13,16 +13,15 @@ class Client:
|
|
13
13
|
headers=self.headers,
|
14
14
|
)
|
15
15
|
|
16
|
-
def query_streams(self, begin, end, limit, tag_filter=None):
|
16
|
+
def query_streams(self, begin, end, limit, process_id=None, tag_filter=None):
|
17
17
|
args = {
|
18
18
|
"begin": begin.isoformat(),
|
19
19
|
"end": end.isoformat(),
|
20
20
|
"limit": limit,
|
21
|
+
"process_id": process_id,
|
22
|
+
"tag_filter": tag_filter,
|
21
23
|
}
|
22
24
|
|
23
|
-
if tag_filter is not None:
|
24
|
-
args["tag_filter"] = tag_filter
|
25
|
-
|
26
25
|
return request.request(
|
27
26
|
self.analytics_base_url + "query_streams",
|
28
27
|
args,
|
@@ -54,3 +53,40 @@ class Client:
|
|
54
53
|
},
|
55
54
|
headers=self.headers,
|
56
55
|
)
|
56
|
+
|
57
|
+
def query_thread_events(self, begin, end, limit, stream_id):
|
58
|
+
return request.request(
|
59
|
+
self.analytics_base_url + "query_thread_events",
|
60
|
+
{
|
61
|
+
"begin": begin.isoformat(),
|
62
|
+
"end": end.isoformat(),
|
63
|
+
"limit": limit,
|
64
|
+
"stream_id": stream_id,
|
65
|
+
},
|
66
|
+
headers=self.headers,
|
67
|
+
)
|
68
|
+
|
69
|
+
def query_log_entries(self, begin, end, limit, stream_id):
|
70
|
+
return request.request(
|
71
|
+
self.analytics_base_url + "query_log_entries",
|
72
|
+
{
|
73
|
+
"begin": begin.isoformat(),
|
74
|
+
"end": end.isoformat(),
|
75
|
+
"limit": limit,
|
76
|
+
"stream_id": stream_id,
|
77
|
+
},
|
78
|
+
headers=self.headers,
|
79
|
+
)
|
80
|
+
|
81
|
+
def query_metrics(self, begin, end, limit, stream_id):
|
82
|
+
return request.request(
|
83
|
+
self.analytics_base_url + "query_metrics",
|
84
|
+
{
|
85
|
+
"begin": begin.isoformat(),
|
86
|
+
"end": end.isoformat(),
|
87
|
+
"limit": limit,
|
88
|
+
"stream_id": stream_id,
|
89
|
+
},
|
90
|
+
headers=self.headers,
|
91
|
+
)
|
92
|
+
|
micromegas/perfetto.py
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
import crc
|
2
|
+
|
3
|
+
# hack to allow perfetto proto imports
|
4
|
+
# you can then import the protos like this: from protos.perfetto.trace import trace_pb2
|
5
|
+
def load_perfetto_protos():
|
6
|
+
import sys
|
7
|
+
import pathlib
|
8
|
+
perfetto_folder = pathlib.Path(__file__).parent.absolute() / "thirdparty/perfetto"
|
9
|
+
sys.path.append(str(perfetto_folder))
|
10
|
+
|
11
|
+
def crc64_str(s):
|
12
|
+
calculator = crc.Calculator(crc.Crc64.CRC64)
|
13
|
+
return calculator.checksum(str.encode(s))
|
14
|
+
|
15
|
+
class Writer:
|
16
|
+
def __init__( self, client, process_id, exe ):
|
17
|
+
load_perfetto_protos()
|
18
|
+
from protos.perfetto.trace import trace_pb2, trace_packet_pb2
|
19
|
+
self.client = client
|
20
|
+
self.trace = trace_pb2.Trace()
|
21
|
+
self.packets = self.trace.packet
|
22
|
+
self.process_uuid = crc64_str(process_id)
|
23
|
+
|
24
|
+
packet = trace_packet_pb2.TracePacket()
|
25
|
+
packet.track_descriptor.uuid = self.process_uuid
|
26
|
+
packet.track_descriptor.process.pid = 1
|
27
|
+
packet.track_descriptor.process.process_name = exe
|
28
|
+
self.packets.append(packet)
|
29
|
+
|
30
|
+
def append_thread( self, begin, end, stream_id, thread_name, thread_id ):
|
31
|
+
from protos.perfetto.trace import trace_pb2, trace_packet_pb2, track_event
|
32
|
+
packet = trace_packet_pb2.TracePacket()
|
33
|
+
thread_uuid = crc64_str(stream_id)
|
34
|
+
packet.track_descriptor.uuid = thread_uuid
|
35
|
+
packet.track_descriptor.parent_uuid = self.process_uuid
|
36
|
+
packet.track_descriptor.thread.pid = 1
|
37
|
+
packet.track_descriptor.thread.tid = thread_id
|
38
|
+
packet.track_descriptor.thread.thread_name = thread_name
|
39
|
+
self.packets.append(packet)
|
40
|
+
trusted_packet_sequence_id = 1
|
41
|
+
|
42
|
+
df_events = self.client.query_thread_events(begin, end, limit=1024*1024, stream_id = stream_id)
|
43
|
+
df_events["ns"] = df_events["timestamp"].astype('int64')
|
44
|
+
for index, event in df_events.iterrows():
|
45
|
+
packet = trace_packet_pb2.TracePacket()
|
46
|
+
packet.timestamp = event["ns"]
|
47
|
+
if event["event_type"] == "begin":
|
48
|
+
packet.track_event.type = track_event.track_event_pb2.TrackEvent.Type.TYPE_SLICE_BEGIN
|
49
|
+
elif event["event_type"] == "end":
|
50
|
+
packet.track_event.type = track_event.track_event_pb2.TrackEvent.Type.TYPE_SLICE_END
|
51
|
+
else:
|
52
|
+
raise Exception("unknown event type")
|
53
|
+
packet.track_event.track_uuid = thread_uuid
|
54
|
+
packet.track_event.name = event["name"]
|
55
|
+
packet.trusted_packet_sequence_id = trusted_packet_sequence_id
|
56
|
+
self.packets.append(packet)
|
57
|
+
|
58
|
+
def write_file( self, filename ):
|
59
|
+
with open(filename, "wb") as f:
|
60
|
+
f.write(self.trace.SerializeToString())
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
micromegas/request.py
CHANGED
File without changes
|
micromegas/thirdparty/perfetto/protos/perfetto/common/android_energy_consumer_descriptor_pb2.py
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/android_energy_consumer_descriptor.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/android_energy_consumer_descriptor.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?protos/perfetto/common/android_energy_consumer_descriptor.proto\x12\x0fperfetto.protos\"`\n\x15\x41ndroidEnergyConsumer\x12\x1a\n\x12\x65nergy_consumer_id\x18\x01 \x01(\x05\x12\x0f\n\x07ordinal\x18\x02 \x01(\x05\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\"c\n\x1f\x41ndroidEnergyConsumerDescriptor\x12@\n\x10\x65nergy_consumers\x18\x01 \x03(\x0b\x32&.perfetto.protos.AndroidEnergyConsumer')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.android_energy_consumer_descriptor_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_ANDROIDENERGYCONSUMER']._serialized_start=84
|
35
|
+
_globals['_ANDROIDENERGYCONSUMER']._serialized_end=180
|
36
|
+
_globals['_ANDROIDENERGYCONSUMERDESCRIPTOR']._serialized_start=182
|
37
|
+
_globals['_ANDROIDENERGYCONSUMERDESCRIPTOR']._serialized_end=281
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/android_log_constants.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/android_log_constants.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2protos/perfetto/common/android_log_constants.proto\x12\x0fperfetto.protos*\x8e\x01\n\x0c\x41ndroidLogId\x12\x0f\n\x0bLID_DEFAULT\x10\x00\x12\r\n\tLID_RADIO\x10\x01\x12\x0e\n\nLID_EVENTS\x10\x02\x12\x0e\n\nLID_SYSTEM\x10\x03\x12\r\n\tLID_CRASH\x10\x04\x12\r\n\tLID_STATS\x10\x05\x12\x10\n\x0cLID_SECURITY\x10\x06\x12\x0e\n\nLID_KERNEL\x10\x07*\x9b\x01\n\x12\x41ndroidLogPriority\x12\x14\n\x10PRIO_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPRIO_UNUSED\x10\x01\x12\x10\n\x0cPRIO_VERBOSE\x10\x02\x12\x0e\n\nPRIO_DEBUG\x10\x03\x12\r\n\tPRIO_INFO\x10\x04\x12\r\n\tPRIO_WARN\x10\x05\x12\x0e\n\nPRIO_ERROR\x10\x06\x12\x0e\n\nPRIO_FATAL\x10\x07')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.android_log_constants_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_ANDROIDLOGID']._serialized_start=72
|
35
|
+
_globals['_ANDROIDLOGID']._serialized_end=214
|
36
|
+
_globals['_ANDROIDLOGPRIORITY']._serialized_start=217
|
37
|
+
_globals['_ANDROIDLOGPRIORITY']._serialized_end=372
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/builtin_clock.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/builtin_clock.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*protos/perfetto/common/builtin_clock.proto\x12\x0fperfetto.protos*\xa3\x02\n\x0c\x42uiltinClock\x12\x19\n\x15\x42UILTIN_CLOCK_UNKNOWN\x10\x00\x12\x1a\n\x16\x42UILTIN_CLOCK_REALTIME\x10\x01\x12!\n\x1d\x42UILTIN_CLOCK_REALTIME_COARSE\x10\x02\x12\x1b\n\x17\x42UILTIN_CLOCK_MONOTONIC\x10\x03\x12\"\n\x1e\x42UILTIN_CLOCK_MONOTONIC_COARSE\x10\x04\x12\x1f\n\x1b\x42UILTIN_CLOCK_MONOTONIC_RAW\x10\x05\x12\x1a\n\x16\x42UILTIN_CLOCK_BOOTTIME\x10\x06\x12\x15\n\x11\x42UILTIN_CLOCK_TSC\x10\t\x12\x18\n\x14\x42UILTIN_CLOCK_MAX_ID\x10?\"\x04\x08\x07\x10\x07\"\x04\x08\x08\x10\x08')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.builtin_clock_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_BUILTINCLOCK']._serialized_start=64
|
35
|
+
_globals['_BUILTINCLOCK']._serialized_end=355
|
36
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/descriptor.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/descriptor.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'protos/perfetto/common/descriptor.proto\x12\x0fperfetto.protos\"G\n\x11\x46ileDescriptorSet\x12\x32\n\x04\x66ile\x18\x01 \x03(\x0b\x32$.perfetto.protos.FileDescriptorProto\"\xbf\x02\n\x13\x46ileDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07package\x18\x02 \x01(\t\x12\x12\n\ndependency\x18\x03 \x03(\t\x12\x19\n\x11public_dependency\x18\n \x03(\x05\x12\x17\n\x0fweak_dependency\x18\x0b \x03(\x05\x12\x36\n\x0cmessage_type\x18\x04 \x03(\x0b\x32 .perfetto.protos.DescriptorProto\x12\x37\n\tenum_type\x18\x05 \x03(\x0b\x32$.perfetto.protos.EnumDescriptorProto\x12\x38\n\textension\x18\x07 \x03(\x0b\x32%.perfetto.protos.FieldDescriptorProtoJ\x04\x08\x06\x10\x07J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\x0c\x10\r\"\xd2\x03\n\x0f\x44\x65scriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05\x66ield\x18\x02 \x03(\x0b\x32%.perfetto.protos.FieldDescriptorProto\x12\x38\n\textension\x18\x06 \x03(\x0b\x32%.perfetto.protos.FieldDescriptorProto\x12\x35\n\x0bnested_type\x18\x03 \x03(\x0b\x32 .perfetto.protos.DescriptorProto\x12\x37\n\tenum_type\x18\x04 \x03(\x0b\x32$.perfetto.protos.EnumDescriptorProto\x12\x39\n\noneof_decl\x18\x08 \x03(\x0b\x32%.perfetto.protos.OneofDescriptorProto\x12\x46\n\x0ereserved_range\x18\t \x03(\x0b\x32..perfetto.protos.DescriptorProto.ReservedRange\x12\x15\n\rreserved_name\x18\n \x03(\t\x1a+\n\rReservedRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08\"\x9e\x02\n\x13UninterpretedOption\x12;\n\x04name\x18\x02 \x03(\x0b\x32-.perfetto.protos.UninterpretedOption.NamePart\x12\x18\n\x10identifier_value\x18\x03 \x01(\t\x12\x1a\n\x12positive_int_value\x18\x04 \x01(\x04\x12\x1a\n\x12negative_int_value\x18\x05 \x01(\x03\x12\x14\n\x0c\x64ouble_value\x18\x06 \x01(\x01\x12\x14\n\x0cstring_value\x18\x07 \x01(\x0c\x12\x17\n\x0f\x61ggregate_value\x18\x08 \x01(\t\x1a\x33\n\x08NamePart\x12\x11\n\tname_part\x18\x01 \x01(\t\x12\x14\n\x0cis_extension\x18\x02 \x01(\x08\"c\n\x0c\x46ieldOptions\x12\x0e\n\x06packed\x18\x02 \x01(\x08\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.perfetto.protos.UninterpretedOption\"\xaf\x05\n\x14\x46ieldDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x03 \x01(\x05\x12:\n\x05label\x18\x04 \x01(\x0e\x32+.perfetto.protos.FieldDescriptorProto.Label\x12\x38\n\x04type\x18\x05 \x01(\x0e\x32*.perfetto.protos.FieldDescriptorProto.Type\x12\x11\n\ttype_name\x18\x06 \x01(\t\x12\x10\n\x08\x65xtendee\x18\x02 \x01(\t\x12\x15\n\rdefault_value\x18\x07 \x01(\t\x12.\n\x07options\x18\x08 \x01(\x0b\x32\x1d.perfetto.protos.FieldOptions\x12\x13\n\x0boneof_index\x18\t \x01(\x05\"\xb6\x02\n\x04Type\x12\x0f\n\x0bTYPE_DOUBLE\x10\x01\x12\x0e\n\nTYPE_FLOAT\x10\x02\x12\x0e\n\nTYPE_INT64\x10\x03\x12\x0f\n\x0bTYPE_UINT64\x10\x04\x12\x0e\n\nTYPE_INT32\x10\x05\x12\x10\n\x0cTYPE_FIXED64\x10\x06\x12\x10\n\x0cTYPE_FIXED32\x10\x07\x12\r\n\tTYPE_BOOL\x10\x08\x12\x0f\n\x0bTYPE_STRING\x10\t\x12\x0e\n\nTYPE_GROUP\x10\n\x12\x10\n\x0cTYPE_MESSAGE\x10\x0b\x12\x0e\n\nTYPE_BYTES\x10\x0c\x12\x0f\n\x0bTYPE_UINT32\x10\r\x12\r\n\tTYPE_ENUM\x10\x0e\x12\x11\n\rTYPE_SFIXED32\x10\x0f\x12\x11\n\rTYPE_SFIXED64\x10\x10\x12\x0f\n\x0bTYPE_SINT32\x10\x11\x12\x0f\n\x0bTYPE_SINT64\x10\x12\"C\n\x05Label\x12\x12\n\x0eLABEL_OPTIONAL\x10\x01\x12\x12\n\x0eLABEL_REQUIRED\x10\x02\x12\x12\n\x0eLABEL_REPEATED\x10\x03J\x04\x08\n\x10\x0b\"T\n\x14OneofDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\x07options\x18\x02 \x01(\x0b\x32\x1d.perfetto.protos.OneofOptions\"\x80\x01\n\x13\x45numDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x03(\x0b\x32).perfetto.protos.EnumValueDescriptorProto\x12\x15\n\rreserved_name\x18\x05 \x03(\tJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\">\n\x18\x45numValueDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\x05J\x04\x08\x03\x10\x04\"!\n\x0cOneofOptions*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02J\x06\x08\xe7\x07\x10\xe8\x07')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.descriptor_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_FILEDESCRIPTORSET']._serialized_start=60
|
35
|
+
_globals['_FILEDESCRIPTORSET']._serialized_end=131
|
36
|
+
_globals['_FILEDESCRIPTORPROTO']._serialized_start=134
|
37
|
+
_globals['_FILEDESCRIPTORPROTO']._serialized_end=453
|
38
|
+
_globals['_DESCRIPTORPROTO']._serialized_start=456
|
39
|
+
_globals['_DESCRIPTORPROTO']._serialized_end=922
|
40
|
+
_globals['_DESCRIPTORPROTO_RESERVEDRANGE']._serialized_start=867
|
41
|
+
_globals['_DESCRIPTORPROTO_RESERVEDRANGE']._serialized_end=910
|
42
|
+
_globals['_UNINTERPRETEDOPTION']._serialized_start=925
|
43
|
+
_globals['_UNINTERPRETEDOPTION']._serialized_end=1211
|
44
|
+
_globals['_UNINTERPRETEDOPTION_NAMEPART']._serialized_start=1160
|
45
|
+
_globals['_UNINTERPRETEDOPTION_NAMEPART']._serialized_end=1211
|
46
|
+
_globals['_FIELDOPTIONS']._serialized_start=1213
|
47
|
+
_globals['_FIELDOPTIONS']._serialized_end=1312
|
48
|
+
_globals['_FIELDDESCRIPTORPROTO']._serialized_start=1315
|
49
|
+
_globals['_FIELDDESCRIPTORPROTO']._serialized_end=2002
|
50
|
+
_globals['_FIELDDESCRIPTORPROTO_TYPE']._serialized_start=1617
|
51
|
+
_globals['_FIELDDESCRIPTORPROTO_TYPE']._serialized_end=1927
|
52
|
+
_globals['_FIELDDESCRIPTORPROTO_LABEL']._serialized_start=1929
|
53
|
+
_globals['_FIELDDESCRIPTORPROTO_LABEL']._serialized_end=1996
|
54
|
+
_globals['_ONEOFDESCRIPTORPROTO']._serialized_start=2004
|
55
|
+
_globals['_ONEOFDESCRIPTORPROTO']._serialized_end=2088
|
56
|
+
_globals['_ENUMDESCRIPTORPROTO']._serialized_start=2091
|
57
|
+
_globals['_ENUMDESCRIPTORPROTO']._serialized_end=2219
|
58
|
+
_globals['_ENUMVALUEDESCRIPTORPROTO']._serialized_start=2221
|
59
|
+
_globals['_ENUMVALUEDESCRIPTORPROTO']._serialized_end=2283
|
60
|
+
_globals['_ONEOFOPTIONS']._serialized_start=2285
|
61
|
+
_globals['_ONEOFOPTIONS']._serialized_end=2318
|
62
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/gpu_counter_descriptor.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/gpu_counter_descriptor.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3protos/perfetto/common/gpu_counter_descriptor.proto\x12\x0fperfetto.protos\"\xb6\x0b\n\x14GpuCounterDescriptor\x12\x43\n\x05specs\x18\x01 \x03(\x0b\x32\x34.perfetto.protos.GpuCounterDescriptor.GpuCounterSpec\x12\x45\n\x06\x62locks\x18\x02 \x03(\x0b\x32\x35.perfetto.protos.GpuCounterDescriptor.GpuCounterBlock\x12\x1e\n\x16min_sampling_period_ns\x18\x03 \x01(\x04\x12\x1e\n\x16max_sampling_period_ns\x18\x04 \x01(\x04\x12&\n\x1esupports_instrumented_sampling\x18\x05 \x01(\x08\x1a\x8e\x03\n\x0eGpuCounterSpec\x12\x12\n\ncounter_id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x18\n\x0eint_peak_value\x18\x05 \x01(\x03H\x00\x12\x1b\n\x11\x64ouble_peak_value\x18\x06 \x01(\x01H\x00\x12J\n\x0fnumerator_units\x18\x07 \x03(\x0e\x32\x31.perfetto.protos.GpuCounterDescriptor.MeasureUnit\x12L\n\x11\x64\x65nominator_units\x18\x08 \x03(\x0e\x32\x31.perfetto.protos.GpuCounterDescriptor.MeasureUnit\x12\x19\n\x11select_by_default\x18\t \x01(\x08\x12\x45\n\x06groups\x18\n \x03(\x0e\x32\x35.perfetto.protos.GpuCounterDescriptor.GpuCounterGroupB\x0c\n\npeak_valueJ\x04\x08\x04\x10\x05\x1as\n\x0fGpuCounterBlock\x12\x10\n\x08\x62lock_id\x18\x01 \x01(\r\x12\x16\n\x0e\x62lock_capacity\x18\x02 \x01(\r\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x13\n\x0b\x63ounter_ids\x18\x05 \x03(\r\"u\n\x0fGpuCounterGroup\x12\x10\n\x0cUNCLASSIFIED\x10\x00\x12\n\n\x06SYSTEM\x10\x01\x12\x0c\n\x08VERTICES\x10\x02\x12\r\n\tFRAGMENTS\x10\x03\x12\x0e\n\nPRIMITIVES\x10\x04\x12\n\n\x06MEMORY\x10\x05\x12\x0b\n\x07\x43OMPUTE\x10\x06\"\xac\x04\n\x0bMeasureUnit\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03\x42IT\x10\x01\x12\x0b\n\x07KILOBIT\x10\x02\x12\x0b\n\x07MEGABIT\x10\x03\x12\x0b\n\x07GIGABIT\x10\x04\x12\x0b\n\x07TERABIT\x10\x05\x12\x0b\n\x07PETABIT\x10\x06\x12\x08\n\x04\x42YTE\x10\x07\x12\x0c\n\x08KILOBYTE\x10\x08\x12\x0c\n\x08MEGABYTE\x10\t\x12\x0c\n\x08GIGABYTE\x10\n\x12\x0c\n\x08TERABYTE\x10\x0b\x12\x0c\n\x08PETABYTE\x10\x0c\x12\t\n\x05HERTZ\x10\r\x12\r\n\tKILOHERTZ\x10\x0e\x12\r\n\tMEGAHERTZ\x10\x0f\x12\r\n\tGIGAHERTZ\x10\x10\x12\r\n\tTERAHERTZ\x10\x11\x12\r\n\tPETAHERTZ\x10\x12\x12\x0e\n\nNANOSECOND\x10\x13\x12\x0f\n\x0bMICROSECOND\x10\x14\x12\x0f\n\x0bMILLISECOND\x10\x15\x12\n\n\x06SECOND\x10\x16\x12\n\n\x06MINUTE\x10\x17\x12\x08\n\x04HOUR\x10\x18\x12\n\n\x06VERTEX\x10\x19\x12\t\n\x05PIXEL\x10\x1a\x12\x0c\n\x08TRIANGLE\x10\x1b\x12\r\n\tPRIMITIVE\x10&\x12\x0c\n\x08\x46RAGMENT\x10\'\x12\r\n\tMILLIWATT\x10\x1c\x12\x08\n\x04WATT\x10\x1d\x12\x0c\n\x08KILOWATT\x10\x1e\x12\t\n\x05JOULE\x10\x1f\x12\x08\n\x04VOLT\x10 \x12\n\n\x06\x41MPERE\x10!\x12\x0b\n\x07\x43\x45LSIUS\x10\"\x12\x0e\n\nFAHRENHEIT\x10#\x12\n\n\x06KELVIN\x10$\x12\x0b\n\x07PERCENT\x10%\x12\x0f\n\x0bINSTRUCTION\x10(')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.gpu_counter_descriptor_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_GPUCOUNTERDESCRIPTOR']._serialized_start=73
|
35
|
+
_globals['_GPUCOUNTERDESCRIPTOR']._serialized_end=1535
|
36
|
+
_globals['_GPUCOUNTERDESCRIPTOR_GPUCOUNTERSPEC']._serialized_start=342
|
37
|
+
_globals['_GPUCOUNTERDESCRIPTOR_GPUCOUNTERSPEC']._serialized_end=740
|
38
|
+
_globals['_GPUCOUNTERDESCRIPTOR_GPUCOUNTERBLOCK']._serialized_start=742
|
39
|
+
_globals['_GPUCOUNTERDESCRIPTOR_GPUCOUNTERBLOCK']._serialized_end=857
|
40
|
+
_globals['_GPUCOUNTERDESCRIPTOR_GPUCOUNTERGROUP']._serialized_start=859
|
41
|
+
_globals['_GPUCOUNTERDESCRIPTOR_GPUCOUNTERGROUP']._serialized_end=976
|
42
|
+
_globals['_GPUCOUNTERDESCRIPTOR_MEASUREUNIT']._serialized_start=979
|
43
|
+
_globals['_GPUCOUNTERDESCRIPTOR_MEASUREUNIT']._serialized_end=1535
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/perf_events.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/perf_events.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(protos/perfetto/common/perf_events.proto\x12\x0fperfetto.protos\"\xc7\x08\n\nPerfEvents\x1a\xc5\x02\n\x08Timebase\x12\x13\n\tfrequency\x18\x02 \x01(\x04H\x00\x12\x10\n\x06period\x18\x01 \x01(\x04H\x00\x12\x36\n\x07\x63ounter\x18\x04 \x01(\x0e\x32#.perfetto.protos.PerfEvents.CounterH\x01\x12<\n\ntracepoint\x18\x03 \x01(\x0b\x32&.perfetto.protos.PerfEvents.TracepointH\x01\x12\x39\n\traw_event\x18\x05 \x01(\x0b\x32$.perfetto.protos.PerfEvents.RawEventH\x01\x12>\n\x0ftimestamp_clock\x18\x0b \x01(\x0e\x32%.perfetto.protos.PerfEvents.PerfClock\x12\x0c\n\x04name\x18\n \x01(\tB\n\n\x08intervalB\x07\n\x05\x65vent\x1a*\n\nTracepoint\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x1aJ\n\x08RawEvent\x12\x0c\n\x04type\x18\x01 \x01(\r\x12\x0e\n\x06\x63onfig\x18\x02 \x01(\x04\x12\x0f\n\x07\x63onfig1\x18\x03 \x01(\x04\x12\x0f\n\x07\x63onfig2\x18\x04 \x01(\x04\"\xe8\x03\n\x07\x43ounter\x12\x13\n\x0fUNKNOWN_COUNTER\x10\x00\x12\x10\n\x0cSW_CPU_CLOCK\x10\x01\x12\x12\n\x0eSW_PAGE_FAULTS\x10\x02\x12\x11\n\rSW_TASK_CLOCK\x10\x03\x12\x17\n\x13SW_CONTEXT_SWITCHES\x10\x04\x12\x15\n\x11SW_CPU_MIGRATIONS\x10\x05\x12\x16\n\x12SW_PAGE_FAULTS_MIN\x10\x06\x12\x16\n\x12SW_PAGE_FAULTS_MAJ\x10\x07\x12\x17\n\x13SW_ALIGNMENT_FAULTS\x10\x08\x12\x17\n\x13SW_EMULATION_FAULTS\x10\t\x12\x0c\n\x08SW_DUMMY\x10\x14\x12\x11\n\rHW_CPU_CYCLES\x10\n\x12\x13\n\x0fHW_INSTRUCTIONS\x10\x0b\x12\x17\n\x13HW_CACHE_REFERENCES\x10\x0c\x12\x13\n\x0fHW_CACHE_MISSES\x10\r\x12\x1a\n\x16HW_BRANCH_INSTRUCTIONS\x10\x0e\x12\x14\n\x10HW_BRANCH_MISSES\x10\x0f\x12\x11\n\rHW_BUS_CYCLES\x10\x10\x12\x1e\n\x1aHW_STALLED_CYCLES_FRONTEND\x10\x11\x12\x1d\n\x19HW_STALLED_CYCLES_BACKEND\x10\x12\x12\x15\n\x11HW_REF_CPU_CYCLES\x10\x13\"\x8d\x01\n\tPerfClock\x12\x16\n\x12UNKNOWN_PERF_CLOCK\x10\x00\x12\x17\n\x13PERF_CLOCK_REALTIME\x10\x01\x12\x18\n\x14PERF_CLOCK_MONOTONIC\x10\x02\x12\x1c\n\x18PERF_CLOCK_MONOTONIC_RAW\x10\x03\x12\x17\n\x13PERF_CLOCK_BOOTTIME\x10\x04')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.perf_events_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_PERFEVENTS']._serialized_start=62
|
35
|
+
_globals['_PERFEVENTS']._serialized_end=1157
|
36
|
+
_globals['_PERFEVENTS_TIMEBASE']._serialized_start=77
|
37
|
+
_globals['_PERFEVENTS_TIMEBASE']._serialized_end=402
|
38
|
+
_globals['_PERFEVENTS_TRACEPOINT']._serialized_start=404
|
39
|
+
_globals['_PERFEVENTS_TRACEPOINT']._serialized_end=446
|
40
|
+
_globals['_PERFEVENTS_RAWEVENT']._serialized_start=448
|
41
|
+
_globals['_PERFEVENTS_RAWEVENT']._serialized_end=522
|
42
|
+
_globals['_PERFEVENTS_COUNTER']._serialized_start=525
|
43
|
+
_globals['_PERFEVENTS_COUNTER']._serialized_end=1013
|
44
|
+
_globals['_PERFEVENTS_PERFCLOCK']._serialized_start=1016
|
45
|
+
_globals['_PERFEVENTS_PERFCLOCK']._serialized_end=1157
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/protolog_common.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/protolog_common.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,protos/perfetto/common/protolog_common.proto\x12\x0fperfetto.protos*\xc7\x01\n\rProtoLogLevel\x12\x1c\n\x18PROTOLOG_LEVEL_UNDEFINED\x10\x00\x12\x18\n\x14PROTOLOG_LEVEL_DEBUG\x10\x01\x12\x1a\n\x16PROTOLOG_LEVEL_VERBOSE\x10\x02\x12\x17\n\x13PROTOLOG_LEVEL_INFO\x10\x03\x12\x17\n\x13PROTOLOG_LEVEL_WARN\x10\x04\x12\x18\n\x14PROTOLOG_LEVEL_ERROR\x10\x05\x12\x16\n\x12PROTOLOG_LEVEL_WTF\x10\x06')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.protolog_common_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_PROTOLOGLEVEL']._serialized_start=66
|
35
|
+
_globals['_PROTOLOGLEVEL']._serialized_end=265
|
36
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/sys_stats_counters.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/sys_stats_counters.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/protos/perfetto/common/sys_stats_counters.proto\x12\x0fperfetto.protos*\xbf\x06\n\x0fMeminfoCounters\x12\x17\n\x13MEMINFO_UNSPECIFIED\x10\x00\x12\x15\n\x11MEMINFO_MEM_TOTAL\x10\x01\x12\x14\n\x10MEMINFO_MEM_FREE\x10\x02\x12\x19\n\x15MEMINFO_MEM_AVAILABLE\x10\x03\x12\x13\n\x0fMEMINFO_BUFFERS\x10\x04\x12\x12\n\x0eMEMINFO_CACHED\x10\x05\x12\x17\n\x13MEMINFO_SWAP_CACHED\x10\x06\x12\x12\n\x0eMEMINFO_ACTIVE\x10\x07\x12\x14\n\x10MEMINFO_INACTIVE\x10\x08\x12\x17\n\x13MEMINFO_ACTIVE_ANON\x10\t\x12\x19\n\x15MEMINFO_INACTIVE_ANON\x10\n\x12\x17\n\x13MEMINFO_ACTIVE_FILE\x10\x0b\x12\x19\n\x15MEMINFO_INACTIVE_FILE\x10\x0c\x12\x17\n\x13MEMINFO_UNEVICTABLE\x10\r\x12\x13\n\x0fMEMINFO_MLOCKED\x10\x0e\x12\x16\n\x12MEMINFO_SWAP_TOTAL\x10\x0f\x12\x15\n\x11MEMINFO_SWAP_FREE\x10\x10\x12\x11\n\rMEMINFO_DIRTY\x10\x11\x12\x15\n\x11MEMINFO_WRITEBACK\x10\x12\x12\x16\n\x12MEMINFO_ANON_PAGES\x10\x13\x12\x12\n\x0eMEMINFO_MAPPED\x10\x14\x12\x11\n\rMEMINFO_SHMEM\x10\x15\x12\x10\n\x0cMEMINFO_SLAB\x10\x16\x12\x1c\n\x18MEMINFO_SLAB_RECLAIMABLE\x10\x17\x12\x1e\n\x1aMEMINFO_SLAB_UNRECLAIMABLE\x10\x18\x12\x18\n\x14MEMINFO_KERNEL_STACK\x10\x19\x12\x17\n\x13MEMINFO_PAGE_TABLES\x10\x1a\x12\x18\n\x14MEMINFO_COMMIT_LIMIT\x10\x1b\x12\x17\n\x13MEMINFO_COMMITED_AS\x10\x1c\x12\x19\n\x15MEMINFO_VMALLOC_TOTAL\x10\x1d\x12\x18\n\x14MEMINFO_VMALLOC_USED\x10\x1e\x12\x19\n\x15MEMINFO_VMALLOC_CHUNK\x10\x1f\x12\x15\n\x11MEMINFO_CMA_TOTAL\x10 \x12\x14\n\x10MEMINFO_CMA_FREE\x10!*\x81,\n\x0eVmstatCounters\x12\x16\n\x12VMSTAT_UNSPECIFIED\x10\x00\x12\x18\n\x14VMSTAT_NR_FREE_PAGES\x10\x01\x12\x19\n\x15VMSTAT_NR_ALLOC_BATCH\x10\x02\x12\x1b\n\x17VMSTAT_NR_INACTIVE_ANON\x10\x03\x12\x19\n\x15VMSTAT_NR_ACTIVE_ANON\x10\x04\x12\x1b\n\x17VMSTAT_NR_INACTIVE_FILE\x10\x05\x12\x19\n\x15VMSTAT_NR_ACTIVE_FILE\x10\x06\x12\x19\n\x15VMSTAT_NR_UNEVICTABLE\x10\x07\x12\x13\n\x0fVMSTAT_NR_MLOCK\x10\x08\x12\x18\n\x14VMSTAT_NR_ANON_PAGES\x10\t\x12\x14\n\x10VMSTAT_NR_MAPPED\x10\n\x12\x18\n\x14VMSTAT_NR_FILE_PAGES\x10\x0b\x12\x13\n\x0fVMSTAT_NR_DIRTY\x10\x0c\x12\x17\n\x13VMSTAT_NR_WRITEBACK\x10\r\x12\x1e\n\x1aVMSTAT_NR_SLAB_RECLAIMABLE\x10\x0e\x12 \n\x1cVMSTAT_NR_SLAB_UNRECLAIMABLE\x10\x0f\x12\x1e\n\x1aVMSTAT_NR_PAGE_TABLE_PAGES\x10\x10\x12\x1a\n\x16VMSTAT_NR_KERNEL_STACK\x10\x11\x12\x16\n\x12VMSTAT_NR_OVERHEAD\x10\x12\x12\x16\n\x12VMSTAT_NR_UNSTABLE\x10\x13\x12\x14\n\x10VMSTAT_NR_BOUNCE\x10\x14\x12\x1a\n\x16VMSTAT_NR_VMSCAN_WRITE\x10\x15\x12&\n\"VMSTAT_NR_VMSCAN_IMMEDIATE_RECLAIM\x10\x16\x12\x1c\n\x18VMSTAT_NR_WRITEBACK_TEMP\x10\x17\x12\x1b\n\x17VMSTAT_NR_ISOLATED_ANON\x10\x18\x12\x1b\n\x17VMSTAT_NR_ISOLATED_FILE\x10\x19\x12\x13\n\x0fVMSTAT_NR_SHMEM\x10\x1a\x12\x15\n\x11VMSTAT_NR_DIRTIED\x10\x1b\x12\x15\n\x11VMSTAT_NR_WRITTEN\x10\x1c\x12\x1b\n\x17VMSTAT_NR_PAGES_SCANNED\x10\x1d\x12\x1d\n\x19VMSTAT_WORKINGSET_REFAULT\x10\x1e\x12\x1e\n\x1aVMSTAT_WORKINGSET_ACTIVATE\x10\x1f\x12!\n\x1dVMSTAT_WORKINGSET_NODERECLAIM\x10 \x12(\n$VMSTAT_NR_ANON_TRANSPARENT_HUGEPAGES\x10!\x12\x16\n\x12VMSTAT_NR_FREE_CMA\x10\"\x12\x17\n\x13VMSTAT_NR_SWAPCACHE\x10#\x12\x1d\n\x19VMSTAT_NR_DIRTY_THRESHOLD\x10$\x12(\n$VMSTAT_NR_DIRTY_BACKGROUND_THRESHOLD\x10%\x12\x11\n\rVMSTAT_PGPGIN\x10&\x12\x12\n\x0eVMSTAT_PGPGOUT\x10\'\x12\x17\n\x13VMSTAT_PGPGOUTCLEAN\x10(\x12\x11\n\rVMSTAT_PSWPIN\x10)\x12\x12\n\x0eVMSTAT_PSWPOUT\x10*\x12\x16\n\x12VMSTAT_PGALLOC_DMA\x10+\x12\x19\n\x15VMSTAT_PGALLOC_NORMAL\x10,\x12\x1a\n\x16VMSTAT_PGALLOC_MOVABLE\x10-\x12\x11\n\rVMSTAT_PGFREE\x10.\x12\x15\n\x11VMSTAT_PGACTIVATE\x10/\x12\x17\n\x13VMSTAT_PGDEACTIVATE\x10\x30\x12\x12\n\x0eVMSTAT_PGFAULT\x10\x31\x12\x15\n\x11VMSTAT_PGMAJFAULT\x10\x32\x12\x17\n\x13VMSTAT_PGREFILL_DMA\x10\x33\x12\x1a\n\x16VMSTAT_PGREFILL_NORMAL\x10\x34\x12\x1b\n\x17VMSTAT_PGREFILL_MOVABLE\x10\x35\x12\x1d\n\x19VMSTAT_PGSTEAL_KSWAPD_DMA\x10\x36\x12 \n\x1cVMSTAT_PGSTEAL_KSWAPD_NORMAL\x10\x37\x12!\n\x1dVMSTAT_PGSTEAL_KSWAPD_MOVABLE\x10\x38\x12\x1d\n\x19VMSTAT_PGSTEAL_DIRECT_DMA\x10\x39\x12 \n\x1cVMSTAT_PGSTEAL_DIRECT_NORMAL\x10:\x12!\n\x1dVMSTAT_PGSTEAL_DIRECT_MOVABLE\x10;\x12\x1c\n\x18VMSTAT_PGSCAN_KSWAPD_DMA\x10<\x12\x1f\n\x1bVMSTAT_PGSCAN_KSWAPD_NORMAL\x10=\x12 \n\x1cVMSTAT_PGSCAN_KSWAPD_MOVABLE\x10>\x12\x1c\n\x18VMSTAT_PGSCAN_DIRECT_DMA\x10?\x12\x1f\n\x1bVMSTAT_PGSCAN_DIRECT_NORMAL\x10@\x12 \n\x1cVMSTAT_PGSCAN_DIRECT_MOVABLE\x10\x41\x12!\n\x1dVMSTAT_PGSCAN_DIRECT_THROTTLE\x10\x42\x12\x17\n\x13VMSTAT_PGINODESTEAL\x10\x43\x12\x18\n\x14VMSTAT_SLABS_SCANNED\x10\x44\x12\x1c\n\x18VMSTAT_KSWAPD_INODESTEAL\x10\x45\x12\'\n#VMSTAT_KSWAPD_LOW_WMARK_HIT_QUICKLY\x10\x46\x12(\n$VMSTAT_KSWAPD_HIGH_WMARK_HIT_QUICKLY\x10G\x12\x15\n\x11VMSTAT_PAGEOUTRUN\x10H\x12\x15\n\x11VMSTAT_ALLOCSTALL\x10I\x12\x14\n\x10VMSTAT_PGROTATED\x10J\x12\x19\n\x15VMSTAT_DROP_PAGECACHE\x10K\x12\x14\n\x10VMSTAT_DROP_SLAB\x10L\x12\x1c\n\x18VMSTAT_PGMIGRATE_SUCCESS\x10M\x12\x19\n\x15VMSTAT_PGMIGRATE_FAIL\x10N\x12\"\n\x1eVMSTAT_COMPACT_MIGRATE_SCANNED\x10O\x12\x1f\n\x1bVMSTAT_COMPACT_FREE_SCANNED\x10P\x12\x1b\n\x17VMSTAT_COMPACT_ISOLATED\x10Q\x12\x18\n\x14VMSTAT_COMPACT_STALL\x10R\x12\x17\n\x13VMSTAT_COMPACT_FAIL\x10S\x12\x1a\n\x16VMSTAT_COMPACT_SUCCESS\x10T\x12\x1e\n\x1aVMSTAT_COMPACT_DAEMON_WAKE\x10U\x12!\n\x1dVMSTAT_UNEVICTABLE_PGS_CULLED\x10V\x12\"\n\x1eVMSTAT_UNEVICTABLE_PGS_SCANNED\x10W\x12\"\n\x1eVMSTAT_UNEVICTABLE_PGS_RESCUED\x10X\x12\"\n\x1eVMSTAT_UNEVICTABLE_PGS_MLOCKED\x10Y\x12$\n VMSTAT_UNEVICTABLE_PGS_MUNLOCKED\x10Z\x12\"\n\x1eVMSTAT_UNEVICTABLE_PGS_CLEARED\x10[\x12#\n\x1fVMSTAT_UNEVICTABLE_PGS_STRANDED\x10\\\x12\x15\n\x11VMSTAT_NR_ZSPAGES\x10]\x12\x16\n\x12VMSTAT_NR_ION_HEAP\x10^\x12\x16\n\x12VMSTAT_NR_GPU_HEAP\x10_\x12\x19\n\x15VMSTAT_ALLOCSTALL_DMA\x10`\x12\x1d\n\x19VMSTAT_ALLOCSTALL_MOVABLE\x10\x61\x12\x1c\n\x18VMSTAT_ALLOCSTALL_NORMAL\x10\x62\x12&\n\"VMSTAT_COMPACT_DAEMON_FREE_SCANNED\x10\x63\x12)\n%VMSTAT_COMPACT_DAEMON_MIGRATE_SCANNED\x10\x64\x12\x15\n\x11VMSTAT_NR_FASTRPC\x10\x65\x12$\n VMSTAT_NR_INDIRECTLY_RECLAIMABLE\x10\x66\x12\x1b\n\x17VMSTAT_NR_ION_HEAP_POOL\x10g\x12%\n!VMSTAT_NR_KERNEL_MISC_RECLAIMABLE\x10h\x12%\n!VMSTAT_NR_SHADOW_CALL_STACK_BYTES\x10i\x12\x1d\n\x19VMSTAT_NR_SHMEM_HUGEPAGES\x10j\x12\x1d\n\x19VMSTAT_NR_SHMEM_PMDMAPPED\x10k\x12!\n\x1dVMSTAT_NR_UNRECLAIMABLE_PAGES\x10l\x12\x1e\n\x1aVMSTAT_NR_ZONE_ACTIVE_ANON\x10m\x12\x1e\n\x1aVMSTAT_NR_ZONE_ACTIVE_FILE\x10n\x12 \n\x1cVMSTAT_NR_ZONE_INACTIVE_ANON\x10o\x12 \n\x1cVMSTAT_NR_ZONE_INACTIVE_FILE\x10p\x12\x1e\n\x1aVMSTAT_NR_ZONE_UNEVICTABLE\x10q\x12 \n\x1cVMSTAT_NR_ZONE_WRITE_PENDING\x10r\x12\x13\n\x0fVMSTAT_OOM_KILL\x10s\x12\x15\n\x11VMSTAT_PGLAZYFREE\x10t\x12\x16\n\x12VMSTAT_PGLAZYFREED\x10u\x12\x13\n\x0fVMSTAT_PGREFILL\x10v\x12\x18\n\x14VMSTAT_PGSCAN_DIRECT\x10w\x12\x18\n\x14VMSTAT_PGSCAN_KSWAPD\x10x\x12\x15\n\x11VMSTAT_PGSKIP_DMA\x10y\x12\x19\n\x15VMSTAT_PGSKIP_MOVABLE\x10z\x12\x18\n\x14VMSTAT_PGSKIP_NORMAL\x10{\x12\x19\n\x15VMSTAT_PGSTEAL_DIRECT\x10|\x12\x19\n\x15VMSTAT_PGSTEAL_KSWAPD\x10}\x12\x12\n\x0eVMSTAT_SWAP_RA\x10~\x12\x16\n\x12VMSTAT_SWAP_RA_HIT\x10\x7f\x12\x1e\n\x19VMSTAT_WORKINGSET_RESTORE\x10\x80\x01\x12\x1d\n\x18VMSTAT_ALLOCSTALL_DEVICE\x10\x81\x01\x12\x1c\n\x17VMSTAT_ALLOCSTALL_DMA32\x10\x82\x01\x12\x1b\n\x16VMSTAT_BALLOON_DEFLATE\x10\x83\x01\x12\x1b\n\x16VMSTAT_BALLOON_INFLATE\x10\x84\x01\x12\x1b\n\x16VMSTAT_BALLOON_MIGRATE\x10\x85\x01\x12\x1a\n\x15VMSTAT_CMA_ALLOC_FAIL\x10\x86\x01\x12\x1d\n\x18VMSTAT_CMA_ALLOC_SUCCESS\x10\x87\x01\x12\x1d\n\x18VMSTAT_NR_FILE_HUGEPAGES\x10\x88\x01\x12\x1d\n\x18VMSTAT_NR_FILE_PMDMAPPED\x10\x89\x01\x12 \n\x1bVMSTAT_NR_FOLL_PIN_ACQUIRED\x10\x8a\x01\x12 \n\x1bVMSTAT_NR_FOLL_PIN_RELEASED\x10\x8b\x01\x12#\n\x1eVMSTAT_NR_SEC_PAGE_TABLE_PAGES\x10\x8c\x01\x12 \n\x1bVMSTAT_NR_SHADOW_CALL_STACK\x10\x8d\x01\x12\x19\n\x14VMSTAT_NR_SWAPCACHED\x10\x8e\x01\x12 \n\x1bVMSTAT_NR_THROTTLED_WRITTEN\x10\x8f\x01\x12\x1a\n\x15VMSTAT_PGALLOC_DEVICE\x10\x90\x01\x12\x19\n\x14VMSTAT_PGALLOC_DMA32\x10\x91\x01\x12\x1b\n\x16VMSTAT_PGDEMOTE_DIRECT\x10\x92\x01\x12\x1b\n\x16VMSTAT_PGDEMOTE_KSWAPD\x10\x93\x01\x12\x13\n\x0eVMSTAT_PGREUSE\x10\x94\x01\x12\x17\n\x12VMSTAT_PGSCAN_ANON\x10\x95\x01\x12\x17\n\x12VMSTAT_PGSCAN_FILE\x10\x96\x01\x12\x19\n\x14VMSTAT_PGSKIP_DEVICE\x10\x97\x01\x12\x18\n\x13VMSTAT_PGSKIP_DMA32\x10\x98\x01\x12\x18\n\x13VMSTAT_PGSTEAL_ANON\x10\x99\x01\x12\x18\n\x13VMSTAT_PGSTEAL_FILE\x10\x9a\x01\x12\x1e\n\x19VMSTAT_THP_COLLAPSE_ALLOC\x10\x9b\x01\x12%\n VMSTAT_THP_COLLAPSE_ALLOC_FAILED\x10\x9c\x01\x12#\n\x1eVMSTAT_THP_DEFERRED_SPLIT_PAGE\x10\x9d\x01\x12\x1b\n\x16VMSTAT_THP_FAULT_ALLOC\x10\x9e\x01\x12\x1e\n\x19VMSTAT_THP_FAULT_FALLBACK\x10\x9f\x01\x12%\n VMSTAT_THP_FAULT_FALLBACK_CHARGE\x10\xa0\x01\x12\x1a\n\x15VMSTAT_THP_FILE_ALLOC\x10\xa1\x01\x12\x1d\n\x18VMSTAT_THP_FILE_FALLBACK\x10\xa2\x01\x12$\n\x1fVMSTAT_THP_FILE_FALLBACK_CHARGE\x10\xa3\x01\x12\x1b\n\x16VMSTAT_THP_FILE_MAPPED\x10\xa4\x01\x12\x1e\n\x19VMSTAT_THP_MIGRATION_FAIL\x10\xa5\x01\x12\x1f\n\x1aVMSTAT_THP_MIGRATION_SPLIT\x10\xa6\x01\x12!\n\x1cVMSTAT_THP_MIGRATION_SUCCESS\x10\xa7\x01\x12$\n\x1fVMSTAT_THP_SCAN_EXCEED_NONE_PTE\x10\xa8\x01\x12%\n VMSTAT_THP_SCAN_EXCEED_SHARE_PTE\x10\xa9\x01\x12$\n\x1fVMSTAT_THP_SCAN_EXCEED_SWAP_PTE\x10\xaa\x01\x12\x1a\n\x15VMSTAT_THP_SPLIT_PAGE\x10\xab\x01\x12!\n\x1cVMSTAT_THP_SPLIT_PAGE_FAILED\x10\xac\x01\x12\x19\n\x14VMSTAT_THP_SPLIT_PMD\x10\xad\x01\x12\x16\n\x11VMSTAT_THP_SWPOUT\x10\xae\x01\x12\x1f\n\x1aVMSTAT_THP_SWPOUT_FALLBACK\x10\xaf\x01\x12\x1f\n\x1aVMSTAT_THP_ZERO_PAGE_ALLOC\x10\xb0\x01\x12&\n!VMSTAT_THP_ZERO_PAGE_ALLOC_FAILED\x10\xb1\x01\x12\x1a\n\x15VMSTAT_VMA_LOCK_ABORT\x10\xb2\x01\x12\x19\n\x14VMSTAT_VMA_LOCK_MISS\x10\xb3\x01\x12\x1a\n\x15VMSTAT_VMA_LOCK_RETRY\x10\xb4\x01\x12\x1c\n\x17VMSTAT_VMA_LOCK_SUCCESS\x10\xb5\x01\x12$\n\x1fVMSTAT_WORKINGSET_ACTIVATE_ANON\x10\xb6\x01\x12$\n\x1fVMSTAT_WORKINGSET_ACTIVATE_FILE\x10\xb7\x01\x12\x1c\n\x17VMSTAT_WORKINGSET_NODES\x10\xb8\x01\x12#\n\x1eVMSTAT_WORKINGSET_REFAULT_ANON\x10\xb9\x01\x12#\n\x1eVMSTAT_WORKINGSET_REFAULT_FILE\x10\xba\x01\x12#\n\x1eVMSTAT_WORKINGSET_RESTORE_ANON\x10\xbb\x01\x12#\n\x1eVMSTAT_WORKINGSET_RESTORE_FILE\x10\xbc\x01')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.sys_stats_counters_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_MEMINFOCOUNTERS']._serialized_start=69
|
35
|
+
_globals['_MEMINFOCOUNTERS']._serialized_end=900
|
36
|
+
_globals['_VMSTATCOUNTERS']._serialized_start=903
|
37
|
+
_globals['_VMSTATCOUNTERS']._serialized_end=6536
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/common/trace_stats.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/common/trace_stats.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(protos/perfetto/common/trace_stats.proto\x12\x0fperfetto.protos\"\x91\x0c\n\nTraceStats\x12=\n\x0c\x62uffer_stats\x18\x01 \x03(\x0b\x32\'.perfetto.protos.TraceStats.BufferStats\x12#\n\x1b\x63hunk_payload_histogram_def\x18\x11 \x03(\x03\x12=\n\x0cwriter_stats\x18\x12 \x03(\x0b\x32\'.perfetto.protos.TraceStats.WriterStats\x12\x1b\n\x13producers_connected\x18\x02 \x01(\r\x12\x16\n\x0eproducers_seen\x18\x03 \x01(\x04\x12\x1f\n\x17\x64\x61ta_sources_registered\x18\x04 \x01(\r\x12\x19\n\x11\x64\x61ta_sources_seen\x18\x05 \x01(\x04\x12\x18\n\x10tracing_sessions\x18\x06 \x01(\r\x12\x15\n\rtotal_buffers\x18\x07 \x01(\r\x12\x18\n\x10\x63hunks_discarded\x18\x08 \x01(\x04\x12\x19\n\x11patches_discarded\x18\t \x01(\x04\x12\x17\n\x0finvalid_packets\x18\n \x01(\x04\x12=\n\x0c\x66ilter_stats\x18\x0b \x01(\x0b\x32\'.perfetto.protos.TraceStats.FilterStats\x12\x19\n\x11\x66lushes_requested\x18\x0c \x01(\x04\x12\x19\n\x11\x66lushes_succeeded\x18\r \x01(\x04\x12\x16\n\x0e\x66lushes_failed\x18\x0e \x01(\x04\x12J\n\x13\x66inal_flush_outcome\x18\x0f \x01(\x0e\x32-.perfetto.protos.TraceStats.FinalFlushOutcome\x1a\x8a\x04\n\x0b\x42ufferStats\x12\x13\n\x0b\x62uffer_size\x18\x0c \x01(\x04\x12\x15\n\rbytes_written\x18\x01 \x01(\x04\x12\x19\n\x11\x62ytes_overwritten\x18\r \x01(\x04\x12\x12\n\nbytes_read\x18\x0e \x01(\x04\x12\x1d\n\x15padding_bytes_written\x18\x0f \x01(\x04\x12\x1d\n\x15padding_bytes_cleared\x18\x10 \x01(\x04\x12\x16\n\x0e\x63hunks_written\x18\x02 \x01(\x04\x12\x18\n\x10\x63hunks_rewritten\x18\n \x01(\x04\x12\x1a\n\x12\x63hunks_overwritten\x18\x03 \x01(\x04\x12\x18\n\x10\x63hunks_discarded\x18\x12 \x01(\x04\x12\x13\n\x0b\x63hunks_read\x18\x11 \x01(\x04\x12%\n\x1d\x63hunks_committed_out_of_order\x18\x0b \x01(\x04\x12\x18\n\x10write_wrap_count\x18\x04 \x01(\x04\x12\x19\n\x11patches_succeeded\x18\x05 \x01(\x04\x12\x16\n\x0epatches_failed\x18\x06 \x01(\x04\x12\x1c\n\x14readaheads_succeeded\x18\x07 \x01(\x04\x12\x19\n\x11readaheads_failed\x18\x08 \x01(\x04\x12\x16\n\x0e\x61\x62i_violations\x18\t \x01(\x04\x12 \n\x18trace_writer_packet_loss\x18\x13 \x01(\x04\x1a\x87\x01\n\x0bWriterStats\x12\x13\n\x0bsequence_id\x18\x01 \x01(\x04\x12\x0e\n\x06\x62uffer\x18\x04 \x01(\r\x12*\n\x1e\x63hunk_payload_histogram_counts\x18\x02 \x03(\x04\x42\x02\x10\x01\x12\'\n\x1b\x63hunk_payload_histogram_sum\x18\x03 \x03(\x03\x42\x02\x10\x01\x1a\x9a\x01\n\x0b\x46ilterStats\x12\x15\n\rinput_packets\x18\x01 \x01(\x04\x12\x13\n\x0binput_bytes\x18\x02 \x01(\x04\x12\x14\n\x0coutput_bytes\x18\x03 \x01(\x04\x12\x0e\n\x06\x65rrors\x18\x04 \x01(\x04\x12\x15\n\rtime_taken_ns\x18\x05 \x01(\x04\x12\"\n\x1a\x62ytes_discarded_per_buffer\x18\x14 \x03(\x04\"c\n\x11\x46inalFlushOutcome\x12\x1b\n\x17\x46INAL_FLUSH_UNSPECIFIED\x10\x00\x12\x19\n\x15\x46INAL_FLUSH_SUCCEEDED\x10\x01\x12\x16\n\x12\x46INAL_FLUSH_FAILED\x10\x02')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.common.trace_stats_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_TRACESTATS_WRITERSTATS'].fields_by_name['chunk_payload_histogram_counts']._loaded_options = None
|
35
|
+
_globals['_TRACESTATS_WRITERSTATS'].fields_by_name['chunk_payload_histogram_counts']._serialized_options = b'\020\001'
|
36
|
+
_globals['_TRACESTATS_WRITERSTATS'].fields_by_name['chunk_payload_histogram_sum']._loaded_options = None
|
37
|
+
_globals['_TRACESTATS_WRITERSTATS'].fields_by_name['chunk_payload_histogram_sum']._serialized_options = b'\020\001'
|
38
|
+
_globals['_TRACESTATS']._serialized_start=62
|
39
|
+
_globals['_TRACESTATS']._serialized_end=1615
|
40
|
+
_globals['_TRACESTATS_BUFFERSTATS']._serialized_start=697
|
41
|
+
_globals['_TRACESTATS_BUFFERSTATS']._serialized_end=1219
|
42
|
+
_globals['_TRACESTATS_WRITERSTATS']._serialized_start=1222
|
43
|
+
_globals['_TRACESTATS_WRITERSTATS']._serialized_end=1357
|
44
|
+
_globals['_TRACESTATS_FILTERSTATS']._serialized_start=1360
|
45
|
+
_globals['_TRACESTATS_FILTERSTATS']._serialized_end=1514
|
46
|
+
_globals['_TRACESTATS_FINALFLUSHOUTCOME']._serialized_start=1516
|
47
|
+
_globals['_TRACESTATS_FINALFLUSHOUTCOME']._serialized_end=1615
|
48
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/config/android/android_game_intervention_list_config.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/config/android/android_game_intervention_list_config.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nJprotos/perfetto/config/android/android_game_intervention_list_config.proto\x12\x0fperfetto.protos\"@\n!AndroidGameInterventionListConfig\x12\x1b\n\x13package_name_filter\x18\x01 \x03(\t')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.config.android.android_game_intervention_list_config_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_ANDROIDGAMEINTERVENTIONLISTCONFIG']._serialized_start=95
|
35
|
+
_globals['_ANDROIDGAMEINTERVENTIONLISTCONFIG']._serialized_end=159
|
36
|
+
# @@protoc_insertion_point(module_scope)
|
micromegas/thirdparty/perfetto/protos/perfetto/config/android/android_input_event_config_pb2.py
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: protos/perfetto/config/android/android_input_event_config.proto
|
5
|
+
# Protobuf Python Version: 5.27.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
27,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'protos/perfetto/config/android/android_input_event_config.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?protos/perfetto/config/android/android_input_event_config.proto\x12\x0fperfetto.protos\"\xd3\x04\n\x17\x41ndroidInputEventConfig\x12@\n\x04mode\x18\x01 \x01(\x0e\x32\x32.perfetto.protos.AndroidInputEventConfig.TraceMode\x12\x41\n\x05rules\x18\x02 \x03(\x0b\x32\x32.perfetto.protos.AndroidInputEventConfig.TraceRule\x12%\n\x1dtrace_dispatcher_input_events\x18\x03 \x01(\x08\x12(\n trace_dispatcher_window_dispatch\x18\x04 \x01(\x08\x1a\xc8\x01\n\tTraceRule\x12H\n\x0btrace_level\x18\x01 \x01(\x0e\x32\x33.perfetto.protos.AndroidInputEventConfig.TraceLevel\x12\x1a\n\x12match_all_packages\x18\x02 \x03(\t\x12\x1a\n\x12match_any_packages\x18\x03 \x03(\t\x12\x14\n\x0cmatch_secure\x18\x04 \x01(\x08\x12#\n\x1bmatch_ime_connection_active\x18\x05 \x01(\x08\"?\n\tTraceMode\x12\x18\n\x14TRACE_MODE_TRACE_ALL\x10\x00\x12\x18\n\x14TRACE_MODE_USE_RULES\x10\x01\"V\n\nTraceLevel\x12\x14\n\x10TRACE_LEVEL_NONE\x10\x00\x12\x18\n\x14TRACE_LEVEL_REDACTED\x10\x01\x12\x18\n\x14TRACE_LEVEL_COMPLETE\x10\x02')
|
28
|
+
|
29
|
+
_globals = globals()
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.perfetto.config.android.android_input_event_config_pb2', _globals)
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
33
|
+
DESCRIPTOR._loaded_options = None
|
34
|
+
_globals['_ANDROIDINPUTEVENTCONFIG']._serialized_start=85
|
35
|
+
_globals['_ANDROIDINPUTEVENTCONFIG']._serialized_end=680
|
36
|
+
_globals['_ANDROIDINPUTEVENTCONFIG_TRACERULE']._serialized_start=327
|
37
|
+
_globals['_ANDROIDINPUTEVENTCONFIG_TRACERULE']._serialized_end=527
|
38
|
+
_globals['_ANDROIDINPUTEVENTCONFIG_TRACEMODE']._serialized_start=529
|
39
|
+
_globals['_ANDROIDINPUTEVENTCONFIG_TRACEMODE']._serialized_end=592
|
40
|
+
_globals['_ANDROIDINPUTEVENTCONFIG_TRACELEVEL']._serialized_start=594
|
41
|
+
_globals['_ANDROIDINPUTEVENTCONFIG_TRACELEVEL']._serialized_end=680
|
42
|
+
# @@protoc_insertion_point(module_scope)
|