1select count(*) as count, 'BothProcesses' as description from experimental_flamegraph 2where upid_group = "30,41" 3 and profile_type = 'perf' 4 and ts <= 7689491063351 5 and size > 0 6union all 7select count(*) as count, 'FirstProcess' as description from experimental_flamegraph 8where upid = 30 9 and profile_type = 'perf' 10 and ts <= 7689491063351 11 and size > 0 12union all 13select count(*) as count, 'SecondProcess' as description from experimental_flamegraph 14where upid = 41 15 and profile_type = 'perf' 16 and ts <= 7689491063351 17 and size > 0; 18