• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Smoke tests
2../data/sfgate.json smoke.sql sfgate_smoke.out
3../data/sfgate.json smoke_slices.sql sfgate_smoke_slices.out
4../data/android_sched_and_ps.pb smoke.sql android_sched_and_ps_smoke.out
5../data/compressed.pb smoke.sql compressed_smoke.out
6synth_1.py smoke.sql synth_1_smoke.out
7../data/fuchsia_trace.fxt smoke.sql fuchsia_smoke.out
8../data/fuchsia_trace.fxt smoke_slices.sql fuchsia_smoke_slices.out
9../data/fuchsia_trace.fxt smoke_instants.sql fuchsia_smoke_instants.out
10../data/fuchsia_trace.fxt smoke_counters.sql fuchsia_smoke_counters.out
11../data/fuchsia_workstation.fxt smoke_slices.sql fuchsia_workstation_smoke_slices.out
12
13# Test for the process<>thread tracking logic.
14synth_process_tracking.py process_tracking.sql process_tracking.out
15synth_process_tracking.py process_tracking_uid.sql process_tracking_uid.out
16process_tracking_short_lived_1.py process_tracking.sql process_tracking_process_tracking_short_lived_1.out
17process_tracking_short_lived_2.py process_tracking.sql process_tracking_process_tracking_short_lived_2.out
18process_tracking_exec.py process_tracking.sql process_tracking_process_tracking_exec.out
19process_parent_pid_tracking_1.py process_parent_pid.sql process_parent_pid_process_parent_pid_tracking_1.out
20process_parent_pid_tracking_2.py process_parent_pid.sql process_parent_pid_process_parent_pid_tracking_2.out
21reused_thread_print.py process_tracking.sql process_tracking_reused_thread_print.out
22sde_tracing_mark_write.textproto slice_with_pid.sql slice_with_pid_sde_tracing_mark_write.out
23
24# Test for computing CPU time from sched events for threads.
25../data/example_android_trace_30s.pb thread_cpu_time.sql thread_cpu_time_example_android_trace_30s.out
26
27
28# The below tests check the storage backed tables in the trace processor.
29# Sched
30../data/android_sched_and_ps.pb ts_desc_filter.sql ts_desc_filter_android_sched_and_ps.out
31
32# Sched reason
33../data/android_sched_and_ps.pb end_reason_eq.sql android_sched_and_ps_end_reason_eq.out
34../data/android_sched_and_ps.pb end_reason_neq.sql android_sched_and_ps_end_reason_neq.out
35
36# Sched wakeup
37../data/android_sched_and_ps.pb sched_wakeup.sql sched_wakeup_android_sched_and_ps.out
38
39# CPU Frequency
40../data/cpu_counters.pb b120487929.sql cpu_counters_b120487929.out
41
42# Logcat
43../data/android_log.pb android_log_counts.sql android_log_counts.out
44../data/android_log.pb android_log_msgs.sql android_log_msgs.out
45../data/android_log_ring_buffer_mode.pb android_log_ring_buffer_mode.sql android_log_ring_buffer_mode.out
46
47# Mm Event
48../data/mm_event.pb mm_event.sql mm_event.out
49
50# Oom Score
51synth_oom.py oom_query.sql synth_oom_oom_query.out
52../data/process_stats_poll.pb oom_score_poll.sql process_stats_poll_oom_score.out
53
54# LMK handling
55kernel_lmk.py lmk.sql lmk_kernel_lmk.out
56../data/lmk_userspace.pb lmk.sql lmk_userspace_lmk.out
57oom_kill.textproto oom_kill.sql oom_kill.out
58
59# Rss stats
60rss_stat_mm_id.py rss_stat.sql rss_stat_mm_id.out
61rss_stat_mm_id_clone.py rss_stat.sql rss_stat_mm_id_clone.out
62rss_stat_mm_id_reuse.py rss_stat.sql rss_stat_mm_id_reuse.out
63rss_stat_legacy.py rss_stat.sql rss_stat_legacy.out
64rss_stat_after_free.py rss_stat_after_free.sql rss_stat_after_free.out
65
66# Memory counters
67../data/memory_counters.pb args_string_filter_null.sql memory_counters_args_string_filter_null.out
68../data/memory_counters.pb args_string_is_null.sql memory_counters_args_string_is_null.out
69../data/memory_counters.pb args_string_is_not_null.sql memory_counters_args_string_is_not_null.out
70../data/memory_counters.pb b120605557.sql memory_counters_b120605557.out
71../data/memory_counters.pb global_memory_counter.sql global_memory_counter_memory_counters.out
72ion_stat.textproto ion_stat.sql ion_stat.out
73
74# Stats
75../data/android_sched_and_ps.pb stats.sql android_sched_and_ps_stats.out
76
77# Syscalls
78syscall.py sys.sql sys_syscall.out
79
80# Power rails
81../data/power_rails.pb power_rails.sql power_rails_power_rails.out
82power_rails_custom_clock.textproto power_rails_event.sql power_rails_event_power_rails_custom_clock.out
83power_rails.textproto power_rails_timestamp_sort.sql power_rails_timestamp_sort.out
84
85
86# Android userspace async slices
87android_async_slice.textproto process_track_slices.sql process_track_slices_android_async_slice.out
88
89
90# The below tests check the autogenerated tables.
91# Span join
92../data/android_sched_and_ps.pb slice_span_join_b118665515.sql android_sched_and_ps_slice_span_join_b118665515.out
93synth_1.py span_join_unordered_cols.sql span_join_unordered_cols_synth_1.out
94synth_1.py span_join_unordered_cols_reverse.sql span_join_unordered_cols_synth_1.out
95../data/android_sched_and_ps.pb span_left_join.sql span_left_join.out
96../data/android_sched_and_ps.pb span_left_join_unpartitioned.sql span_left_join_unpartitioned.out
97../data/android_sched_and_ps.pb span_left_join_left_unpartitioned.sql span_left_join_left_unpartitioned.out
98../data/android_sched_and_ps.pb span_left_join_left_partitioned.sql span_left_join_left_partitioned.out
99../data/android_sched_and_ps.pb span_outer_join.sql span_outer_join.out
100../data/android_sched_and_ps.pb span_left_join_empty_right.sql span_left_join_empty_right.out
101../data/android_sched_and_ps.pb span_join_zero_negative_dur.sql span_join_zero_negative_dur.out
102../data/android_sched_and_ps.pb span_outer_join_empty.sql span_outer_join_empty_android_sched_and_ps.out
103../data/android_sched_and_ps.pb span_left_join_unordered.sql span_left_join_unordered_android_sched_and_ps.out
104../data/android_sched_and_ps.pb span_join_unpartitioned_empty.sql span_join_unpartitioned_empty.out
105
106# Window table
107../data/android_sched_and_ps.pb smoke_window.sql android_sched_and_ps_smoke_window.out
108
109
110# The below tests check the lower level layers of the trace processor (i.e.
111# fitering and printing code).
112# Sched table
113synth_1.py filter_sched.sql synth_1_filter_sched.out
114../data/android_sched_and_ps.pb b119496959.sql android_sched_and_ps_b119496959.out
115../data/android_sched_and_ps.pb b119301023.sql android_sched_and_ps_b119301023.out
116
117# Counters table
118synth_1.py filter_counter.sql synth_1_filter_counter.out
119../data/memory_counters.pb b120278869_neg_ts_end.sql memory_counters_b120278869_neg_ts_end.out
120counters_where_cpu.py counters_where_cpu.sql counters_where_cpu_counters_where_cpu.out
121counters_group_by_freq.py counters_group_by_freq.sql counters_group_by_freq_counters_group_by_freq.out
122../data/example_android_trace_30s.pb filter_row_vector.sql filter_row_vector_example_android_trace_30s.out
123../data/example_android_trace_30s.pb counter_dur.sql counter_dur_example_android_trace_30s.out
124
125# Null printing
126synth_1.py nulls.sql nulls.out
127
128
129# The below tests check the systrace conversion code in the raw table.
130# Print events
131../data/lmk_userspace.pb print_systrace.sql print_systrace_lmk_userspace.out
132# Unsigned integers
133print_systrace_unsigned.py print_systrace.sql print_systrace_unsigned.out
134
135# GPU trace tests.
136gpu_counters.py gpu_counters.sql gpu_counters.out
137gpu_counter_specs.textproto gpu_counter_specs.sql gpu_counter_specs.out
138gpu_render_stages.py gpu_render_stages.sql gpu_render_stages.out
139vulkan_api_events.py vulkan_api_events.sql vulkan_api_events.out
140gpu_log.py gpu_log.sql gpu_log.out
141
142# Clock sync
143clock_sync.py clock_sync.sql clock_sync.out
144
145# Graphics frame event trace tests.
146graphics_frame_events.py graphics_frame_events.sql graphics_frame_events.out
147
148# Scheduling slices from sched_switch events. There are two tests, one for the
149# typical encoding of sched_switch events, and one for the same trace
150# re-encoded in the compact format. The output should be identical apart from
151# the latter having one slice fewer for each cpu (the first compact
152# sched_switch event doesn't start a slice). Six slices in this case.
153../data/sched_switch_original.pb sched_slices.sql sched_slices_sched_switch_original.out
154../data/sched_switch_compact.pb sched_slices.sql sched_slices_sched_switch_compact.out
155
156heap_profile_jit.textproto heap_profile_frames.sql heap_profile_jit.out
157
158profiler_smaps.textproto profiler_smaps.sql profiler_smaps.out
159
160heap_graph_baseapk.textproto heap_graph_flamegraph.sql heap_graph_flamegraph.out
161heap_graph_baseapk.textproto heap_graph_object.sql heap_graph_object.out
162heap_graph_baseapk.textproto heap_graph_reference.sql heap_graph_reference.out
163
164heap_graph.textproto heap_graph_flamegraph.sql heap_graph_flamegraph.out
165heap_graph.textproto heap_graph_object.sql heap_graph_object.out
166heap_graph.textproto heap_graph_reference.sql heap_graph_reference.out
167heap_graph_two_locations.textproto heap_graph_object.sql heap_graph_two_locations.out
168# TODO(b/153552977): Stop supporting legacy heap graphs. These never made
169#                    it into a public release, so we should eventually stop
170#                    supporting workarounds for them.
171heap_graph_legacy.textproto heap_graph_flamegraph.sql heap_graph_flamegraph.out
172heap_graph_legacy.textproto heap_graph_object.sql heap_graph_object.out
173heap_graph_legacy.textproto heap_graph_reference.sql heap_graph_reference.out
174heap_graph_interleaved.textproto heap_graph_object.sql heap_graph_interleaved_object.out
175heap_graph_interleaved.textproto heap_graph_reference.sql heap_graph_interleaved_reference.out
176../data/system-server-heap-graph.pftrace heap_graph_flamegraph.sql heap_graph_flamegraph_system-server-heap-graph.out
177../data/system-server-native-profile heap_profile_flamegraph.sql heap_profile_flamegraph_system-server-native-profile.out
178heap_profile_tracker_new_stack.textproto heap_profile_tracker_new_stack.sql heap_profile_tracker_new_stack.out
179heap_graph_branching.textproto heap_graph_flamegraph_focused.sql heap_graph_flamegraph_focused.out
180
181stack_profile_tracker_empty_callstack.textproto stack_profile_tracker_empty_callstack.sql stack_profile_tracker_empty_callstack.out
182
183# TrackEvent tests.
184track_event_same_tids.textproto process_tracking.sql track_event_same_tids_threads.out
185track_event_same_tids.textproto track_event_slices.sql track_event_same_tids_slices.out
186track_event_typed_args.textproto track_event_slices.sql track_event_typed_args_slices.out
187track_event_typed_args.textproto track_event_args.sql track_event_typed_args_args.out
188track_event_tracks.textproto track_event_slices.sql track_event_tracks_slices.out
189track_event_with_atrace.textproto track_event_slices.sql track_event_with_atrace.out
190track_event_merged_debug_annotations.textproto track_event_args.sql track_event_merged_debug_annotations_args.out
191track_event_counters.textproto track_event_slices.sql track_event_counters_slices.out
192track_event_counters.textproto track_event_counters.sql track_event_counters_counters.out
193track_event_monotonic_trace_clock.textproto track_event_slices.sql track_event_monotonic_trace_clock_slices.out
194
195# Parsing systrace files
196../data/systrace.html systrace_html.sql systrace_html.out
197../data/trailing_empty.systrace sched_smoke.sql sched_smoke_trailing_empty.out
198
199# Config & metadata
200config_metadata.textproto metadata.sql config_metadata.out
201trigger_packet_trace.textproto triggers_packets.sql triggers_packets_trigger_packet_trace.out
202
203# Decoding of sched_waking events from a trace with compact scheduling events.
204# Verifies the contents of raw & instants tables.
205../data/compact_sched.pb sched_waking_raw.sql sched_waking_raw_compact_sched.out
206../data/compact_sched.pb sched_waking_instants.sql sched_waking_instants_compact_sched.out
207
208# Ensures process -> package matching works as expected.
209process_metadata_matching.textproto process_metadata_matching.sql process_metadata_matching.out
210
211# Trace size
212../data/android_sched_and_ps.pb trace_size.sql android_sched_and_ps_trace_size.out
213
214# Thread time_in_state
215thread_time_in_state.textproto thread_time_in_state.sql thread_time_in_state.out
216thread_time_in_state_annotations.py thread_time_in_state_annotations.sql thread_time_in_state_annotations.out
217
218# Initial display state
219initial_display_state.textproto initial_display_state.sql initial_display_state.out
220
221# CPU info
222cpu_info.textproto cpu.sql cpu.out
223cpu_info.textproto cpu_freq.sql cpu_freq.out
224
225# Thread table
226thread_main_thread.textproto thread_main_thread.sql thread_main_thread.out
227