Trace Processor Stats

NameCardinalityType ScopeDescription
android_br_parse_errors kSinglekErrorkTrace
android_log_num_failed kSinglekErrorkTrace
android_log_format_invalid kSinglekErrorkTrace
android_log_num_skipped kSinglekInfokTrace
android_log_num_total kSinglekInfokTrace
deobfuscate_location_parse_error kSinglekErrorkTrace
energy_breakdown_missing_values kSinglekErrorkAnalysis
energy_descriptor_invalid kSinglekErrorkAnalysis
entity_state_descriptor_invalid kSinglekErrorkAnalysis
entity_state_residency_invalid kSinglekErrorkAnalysis
entity_state_residency_lookup_failed kSinglekErrorkAnalysis
energy_uid_breakdown_missing_values kSinglekErrorkAnalysis
frame_timeline_event_parser_errors kSinglekInfokAnalysis
frame_timeline_unpaired_end_event kSinglekInfokAnalysis
ftrace_bundle_tokenizer_errors kSinglekErrorkAnalysis
ftrace_cpu_bytes_begin kIndexedkInfokTrace
ftrace_cpu_bytes_end kIndexedkInfokTrace
ftrace_cpu_bytes_delta kIndexedkInfokTrace
ftrace_cpu_commit_overrun_begin kIndexedkInfokTrace
ftrace_cpu_commit_overrun_end kIndexedkInfokTrace
ftrace_cpu_commit_overrun_delta kIndexedkErrorkTrace
ftrace_cpu_dropped_events_begin kIndexedkInfokTrace
ftrace_cpu_dropped_events_end kIndexedkInfokTrace
ftrace_cpu_dropped_events_delta kIndexedkErrorkTrace
ftrace_cpu_entries_begin kIndexedkInfokTrace
ftrace_cpu_entries_end kIndexedkInfokTrace
ftrace_cpu_entries_delta kIndexedkInfokTrace
ftrace_cpu_now_ts_begin kIndexedkInfokTrace
ftrace_cpu_now_ts_end kIndexedkInfokTrace
ftrace_cpu_oldest_event_ts_begin kIndexedkInfokTrace
ftrace_cpu_oldest_event_ts_end kIndexedkInfokTrace
ftrace_cpu_overrun_begin kIndexedkInfokTrace
ftrace_cpu_overrun_end kIndexedkInfokTrace
ftrace_cpu_overrun_delta kIndexedkInfokTrace
ftrace_cpu_read_events_begin kIndexedkInfokTrace
ftrace_cpu_read_events_end kIndexedkInfokTrace
ftrace_cpu_read_events_delta kIndexedkInfokTrace
ftrace_cpu_has_data_loss kIndexedkDataLosskTrace Ftrace data for the given cpu has data losses and is therefore unreliable. The kernel buffer overwrote events between our reads in userspace. Try re-recording the trace with a bigger buffer
ftrace_kprobe_hits_begin kSinglekInfokTrace The number of kretprobe hits at the beginning of the trace.
ftrace_kprobe_hits_end kSinglekInfokTrace The number of kretprobe hits at the end of the trace.
ftrace_kprobe_hits_delta kSinglekInfokTrace The number of kprobe hits encountered during the collection of the trace.
ftrace_kprobe_misses_begin kSinglekInfokTrace The number of kretprobe missed events at the beginning of the trace.
ftrace_kprobe_misses_end kSinglekInfokTrace The number of kretprobe missed events at the end of the trace.
ftrace_kprobe_misses_delta kSinglekDataLosskTrace The number of kretprobe missed events encountered during the collection of the trace. A value greater than zero is due to the maxactive parameter for the kretprobe being too small
ftrace_setup_errors kSinglekInfokTrace One or more atrace/ftrace categories were not found or failed to enable. See ftrace_setup_errors in the metadata table for details.
ftrace_abi_errors_skipped_zero_data_length \ kSinglekInfokAnalysis
ftrace_thermal_exynos_acpm_unknown_tz_id \ kSinglekErrorkAnalysis
fuchsia_non_numeric_counters kSinglekErrorkAnalysis
fuchsia_timestamp_overflow kSinglekErrorkAnalysis
fuchsia_invalid_event kSinglekErrorkAnalysis
gpu_counters_invalid_spec kSinglekErrorkAnalysis
gpu_counters_missing_spec kSinglekErrorkAnalysis
gpu_render_stage_parser_errors kSinglekErrorkAnalysis
graphics_frame_event_parser_errors kSinglekInfokAnalysis
guess_trace_type_duration_ns kSinglekInfokAnalysis
interned_data_tokenizer_errors kSinglekInfokAnalysis
invalid_clock_snapshots kSinglekErrorkAnalysis
invalid_cpu_times kSinglekErrorkAnalysis
meminfo_unknown_keys kSinglekErrorkAnalysis
mismatched_sched_switch_tids kSinglekErrorkAnalysis
mm_unknown_type kSinglekErrorkAnalysis
parse_trace_duration_ns kSinglekInfokAnalysis
power_rail_unknown_index kSinglekErrorkTrace
proc_stat_unknown_counters kSinglekErrorkAnalysis
rss_stat_unknown_keys kSinglekErrorkAnalysis
rss_stat_negative_size kSinglekInfokAnalysis
rss_stat_unknown_thread_for_mm_id kSinglekInfokAnalysis
filter_input_bytes kSinglekInfokTrace Number of bytes pre-TraceFilter. The trace file would have been this many bytes big if the TraceConfig didn't specify any TraceFilter.
filter_input_packets kSinglekInfokTrace Number of packets pre-TraceFilter. The trace file would have had so many packets if the TraceConfig didn't specify any TraceFilter.
filter_output_bytes kSinglekInfokTrace
filter_time_taken_ns kSinglekInfokTrace Time cumulatively spent running the TraceFilter throughout the tracing session by MaybeFilterPackets().
filter_errors kSinglekErrorkTrace
flow_duplicate_id kSinglekErrorkTrace
flow_no_enclosing_slice kSinglekErrorkTrace
flow_step_without_start kSinglekInfokTrace
flow_end_without_start kSinglekInfokTrace
flow_invalid_id kSinglekErrorkTrace
flow_without_direction kSinglekErrorkTrace
stackprofile_empty_callstack kSinglekErrorkTrace Callstack had no frames. Ignored
stackprofile_invalid_string_id kSinglekErrorkTrace
stackprofile_invalid_mapping_id kSinglekErrorkTrace
stackprofile_invalid_frame_id kSinglekErrorkTrace
stackprofile_invalid_callstack_id kSinglekErrorkTrace
stackprofile_parser_error kSinglekErrorkTrace
systrace_parse_failure kSinglekErrorkAnalysis
task_state_invalid kSinglekErrorkAnalysis
traced_buf_abi_violations kIndexedkDataLosskTrace
traced_buf_buffer_size kIndexedkInfokTrace
traced_buf_bytes_overwritten kIndexedkInfokTrace
traced_buf_bytes_read kIndexedkInfokTrace
traced_buf_bytes_filtered_out kIndexedkInfokTrace Number of bytes discarded (input - output) by the TraceFilter for
traced_buf_bytes_written kIndexedkInfokTrace
traced_buf_clone_done_timestamp_ns kIndexedkInfokTrace The timestamp when the clone snapshot operation for this buffer finished
traced_buf_chunks_discarded kIndexedkInfokTrace
traced_buf_chunks_overwritten kIndexedkInfokTrace
traced_buf_chunks_read kIndexedkInfokTrace
traced_buf_chunks_rewritten kIndexedkInfokTrace
traced_buf_chunks_written kIndexedkInfokTrace
traced_buf_chunks_committed_out_of_order \ kIndexedkInfokTrace
traced_buf_padding_bytes_cleared kIndexedkInfokTrace
traced_buf_padding_bytes_written kIndexedkInfokTrace
traced_buf_patches_failed kIndexedkDataLosskTrace The tracing service potentially lost data from one of the data sources writing into the given target_buffer. This entry can be ignored if you're using DISCARD buffers and traced_buf_chunks_discarded is
traced_buf_patches_succeeded kIndexedkInfokTrace
traced_buf_readaheads_failed kIndexedkInfokTrace
traced_buf_readaheads_succeeded kIndexedkInfokTrace
traced_buf_trace_writer_packet_loss kIndexedkDataLosskTrace The tracing service observed packet loss for this buffer during this tracing session. This also counts packet loss that happened before the RING_BUFFER start or after the DISCARD buffer end.
traced_buf_sequence_packet_loss kIndexedkDataLosskAnalysis The number of groups of consecutive packets lost in each sequence for this buffer
traced_buf_incremental_sequences_dropped kIndexedkDataLosskAnalysis
traced_buf_write_wrap_count kIndexedkInfokTrace
traced_clone_started_timestamp_ns kSinglekInfokTrace The timestamp when the clone snapshot operation for this trace started
traced_chunks_discarded kSinglekInfokTrace
traced_data_sources_registered kSinglekInfokTrace
traced_data_sources_seen kSinglekInfokTrace
traced_final_flush_failed kSinglekDataLosskTrace
traced_final_flush_succeeded kSinglekInfokTrace
traced_flushes_failed kSinglekDataLosskTrace
traced_flushes_requested kSinglekInfokTrace
traced_flushes_succeeded kSinglekInfokTrace
traced_patches_discarded kSinglekInfokTrace
traced_producers_connected kSinglekInfokTrace
traced_producers_seen kSinglekInfokTrace
traced_total_buffers kSinglekInfokTrace
traced_tracing_sessions kSinglekInfokTrace
track_event_parser_errors kSinglekInfokAnalysis
track_event_dropped_packets_outside_of_range_of_interest \ kSinglekInfokAnalysis The number of TrackEvent packets dropped by trace processor due to being outside of the range of interest. This happens if a trace has a
track_event_tokenizer_errors kSinglekInfokAnalysis
track_event_thread_invalid_end kSinglekErrorkTrace The end event for a thread track does not match a track event begin event. This can happen on mixed atrace/track_event traces and is usually caused by data loss or bugs when the events are emitted. The outcome of this is that slices can appear to be closed before they were closed in reality
tokenizer_skipped_packets kSinglekInfokAnalysis
vmstat_unknown_keys kSinglekErrorkAnalysis
psi_unknown_resource kSinglekErrorkAnalysis
vulkan_allocations_invalid_string_id \ kSinglekErrorkTrace
clock_sync_failure kSinglekErrorkAnalysis
clock_sync_cache_miss kSinglekInfokAnalysis
process_tracker_errors kSinglekErrorkAnalysis
json_tokenizer_failure kSinglekErrorkTrace
json_parser_failure kSinglekErrorkTrace
json_display_time_unit kSinglekInfokTrace The displayTimeUnit key was set in the JSON trace. In some prior versions of trace processor this key could effect how the trace processor parsed timestamps and durations. In this version the key is ignored which more closely matches the bavahiour of catapult.
heap_graph_invalid_string_id kIndexedkErrorkTrace
heap_graph_non_finalized_graph kSinglekErrorkTrace
heap_graph_malformed_packet kIndexedkErrorkTrace
heap_graph_missing_packet kIndexedkErrorkTrace
heapprofd_buffer_corrupted kIndexedkErrorkTrace Shared memory buffer corrupted. This is a bug or memory corruption in the target. Indexed by target upid.
heapprofd_hit_guardrail kIndexedkErrorkTrace HeapprofdConfig specified a CPU or Memory Guardrail that was hit. Indexed by target upid.
heapprofd_buffer_overran kIndexedkDataLosskTrace The shared memory buffer between the target and heapprofd overran. The profile was truncated early. Indexed by target upid.
heapprofd_client_error kIndexedkErrorkTrace The heapprofd client ran into a problem and disconnected. See profile_packet.proto for error codes.
heapprofd_client_disconnected kIndexedkInfokTrace
heapprofd_malformed_packet kIndexedkErrorkTrace
heapprofd_missing_packet kSinglekErrorkTrace
heapprofd_rejected_concurrent kIndexedkErrorkTrace
heapprofd_non_finalized_profile kSinglekErrorkTrace
heapprofd_sampling_interval_adjusted \ kIndexedkInfokTrace By how many byes the interval for PID was increased by adaptive sampling.
heapprofd_unwind_time_us kIndexedkInfokTrace Time spent unwinding callstacks.
heapprofd_unwind_samples kIndexedkInfokTrace Number of samples unwound.
heapprofd_client_spinlock_blocked kIndexedkInfokTrace Time (us) the heapprofd client was blocked on the spinlock.
heapprofd_last_profile_timestamp kIndexedkInfokTrace The timestamp (in trace time) for the last dump for a process
symbolization_tmp_build_id_not_found kSinglekErrorkAnalysis Number of file mappings in /data/local/tmp without a build id. Symbolization doesn't work for executables in /data/local/tmp because of SELinux. Please use /data/local/tests
metatrace_overruns kSinglekErrorkTrace
packages_list_has_parse_errors kSinglekErrorkTrace
packages_list_has_read_errors kSinglekErrorkTrace
game_intervention_has_parse_errors kSinglekErrorkTrace One or more parsing errors occurred. This could result from unknown game more or intervention added to the file to be parsed.
game_intervention_has_read_errors kSinglekErrorkTrace The file to be parsed can't be opened. This can happend when the file name is not found or no permission to access the file
compact_sched_has_parse_errors kSinglekErrorkTrace
misplaced_end_event kSinglekDataLosskAnalysis
truncated_sys_write_duration kSinglekInfokAnalysis Count of sys_write slices that have a truncated duration to resolve nesting incompatibilities with atrace slices. Real durations can be recovered via the |raw| table.
compact_sched_switch_skipped kSinglekInfokAnalysis
compact_sched_waking_skipped kSinglekInfokAnalysis
empty_chrome_metadata kSinglekErrorkTrace
ninja_parse_errors kSinglekErrorkTrace
perf_cpu_lost_records kIndexedkDataLosskTrace Count of perf samples lost due to kernel buffer overruns. The trace
perf_process_shard_count kIndexedkInfokTrace
perf_chosen_process_shard kIndexedkInfokTrace
perf_guardrail_stop_ts kIndexedkDataLosskTrace
perf_unknown_record_type kIndexedkInfokAnalysis
perf_record_skipped kIndexedkErrorkAnalysis
perf_samples_skipped kSinglekErrorkAnalysis Count of skipped perf samples that otherwise matched the tracing config. This will cause a process to be completely absent from the
perf_counter_skipped_because_no_cpu kSinglekErrorkAnalysis
perf_features_skipped kIndexedkInfokAnalysis
perf_samples_cpu_mode_unknown kSinglekErrorkAnalysis
perf_samples_skipped_dataloss kSinglekDataLosskTrace
perf_dummy_mapping_used kSinglekInfokAnalysis
perf_aux_missing kSinglekDataLosskTrace Number of bytes missing in AUX data streams due to missing PREF_RECORD_AUX messages.
perf_aux_ignored kSinglekInfokTrace AUX data was ignored because the proper parser is not implemented.
perf_aux_lost kSinglekDataLosskTrace Gaps in the AUX data stream pased to the tokenizer.
perf_aux_truncated kSinglekDataLosskTrace Data was truncated when being written to the AUX stream at the source.
perf_aux_partial kSinglekDataLosskTrace The PERF_RECORD_AUX contained partial data.
perf_aux_collision kSinglekDataLosskTrace The collection of a sample colliden with another. You should reduce the rate at which samples are collected.
perf_auxtrace_missing kSinglekDataLosskTrace Number of bytes missing in AUX data streams due to missing PREF_RECORD_AUXTRACE messages.
perf_unknown_aux_data kIndexedkDataLosskTrace AUX data type encountered for which there is no known parser.
perf_no_tsc_data kSinglekInfokTrace TSC data unavailable. Will be unable to translate HW clocks.
spe_no_timestamp kSinglekInfokTrace SPE record with no timestamp. Will try our best to assign a timestamp.
spe_record_dropped kSinglekDataLosskTrace SPE record dropped. E.g. Unable to assign it a timestamp.
etm_no_importer kSinglekErrorkAnalysis Unable to parse ETM data because TraceProcessor was not compiled to support it. Make sure you enable the `enable_perfetto_etm_importer` GN flag.
memory_snapshot_parser_failure kSinglekErrorkAnalysis
thread_time_in_state_unknown_cpu_freq \ kSinglekErrorkAnalysis
ftrace_packet_before_tracing_start kSinglekInfokAnalysis An ftrace packet was seen before the tracing start timestamp from the tracing service. This happens if the ftrace buffers were not cleared properly. These packets are silently dropped by trace processor.
sorter_push_event_out_of_order kSinglekErrorkTrace Trace events are out of order event after sorting. This can happen
unknown_extension_fields kSinglekErrorkTrace
network_trace_intern_errors kSinglekInfokAnalysis
network_trace_parse_errors kSinglekInfokAnalysis
atom_timestamp_missing kSinglekErrorkTrace The corresponding timestamp_nanos entry for a StatsdAtom was missing. Defaulted to inaccurate packet timestamp.
atom_unknown kSinglekInfokAnalysis Unknown statsd atom. Atom descriptor may need to be updated
v8_intern_errors \ kSinglekDataLosskAnalysis Failed to resolve V8 interned data.
v8_isolate_has_no_code_range \ kSinglekErrorkAnalysis V8 isolate had no code range. THis is currently no supported and means we will be unable to parse JS code events for this isolate.
v8_no_defaults \ kSinglekDataLosskAnalysis Failed to resolve V8 default data.
v8_no_code_range \ kSinglekErrorkAnalysis V8 isolate had no code range.
v8_unknown_code_type kSinglekErrorkAnalysis
v8_code_load_missing_code_range kSinglekErrorkAnalysis V8 load had no code range or an empty one. Event ignored.
winscope_inputmethod_clients_parse_errors \ kSinglekInfokAnalysis
winscope_inputmethod_manager_service_parse_errors \ kSinglekInfokAnalysis
winscope_inputmethod_service_parse_errors \ kSinglekInfokAnalysis
winscope_sf_layers_parse_errors kSinglekInfokAnalysis
winscope_sf_transactions_parse_errors \ kSinglekInfokAnalysis
winscope_shell_transitions_parse_errors \ kSinglekInfokAnalysis
winscope_protolog_invalid_interpolation_parse_errors \ kSinglekInfokAnalysis ProtoLog message string has invalid interplation parameter.
winscope_protolog_missing_interned_arg_parse_errors \ kSinglekInfokAnalysis Failed to find interned ProtoLog argument.
winscope_protolog_missing_interned_stacktrace_parse_errors \ kSinglekInfokAnalysis Failed to find interned ProtoLog stacktrace.
winscope_protolog_message_decoding_failed \ kSinglekInfokAnalysis Failed to decode ProtoLog message.
winscope_protolog_view_config_collision \ kSinglekInfokAnalysis Got a viewer config collision!
winscope_viewcapture_parse_errors \ kSinglekInfokAnalysis
winscope_viewcapture_missing_interned_string_parse_errors \ kSinglekInfokAnalysis Failed to find interned ViewCapture string.
winscope_windowmanager_parse_errors kSinglekInfokAnalysis
jit_unknown_frame kSinglekDataLosskTrace Indicates that we were unable to determine the function for a frame in a jitted memory region
ftrace_missing_event_id kSinglekInfokAnalysis Indicates that the ftrace event was dropped because the event id was missing. This is an 'info' stat rather than an error stat because this can be legitimately missing due to proto filtering.
android_input_event_parse_errors kSinglekInfokAnalysis
mali_unknown_mcu_state_id kSinglekErrorkAnalysis An invalid Mali GPU MCU state ID was detected.
pixel_modem_negative_timestamp kSinglekErrorkAnalysis A negative timestamp was received from a Pixel modem event.
legacy_v8_cpu_profile_invalid_callsite kSinglekInfokAnalysis Indicates a callsite in legacy v8 CPU profiling is invalid.
legacy_v8_cpu_profile_invalid_sample kSinglekErrorkAnalysis Indicates a sample in legacy v8 CPU profile is invalid. This will cause CPU samples to be missing in the UI.
config_write_into_file_no_flush kSinglekErrorkTrace The trace was collected with the `write_into_file` option set but *without* `flush_period_ms` being set. This will cause the trace to be fully loaded into memory and use significantly more memory than necessary.