/external/perfetto/test/trace_processor/ |
D | mm_event.out | 2 4294967296,1409847208580693,"mem.mm.min_flt.count",1.000000,0,"upid",0 3 4294967297,1409847208580693,"mem.mm.min_flt.max_lat",9.000000,0,"upid",0 4 4294967298,1409847208580693,"mem.mm.min_flt.avg_lat",9.000000,0,"upid",0 5 4294967299,1409847209537724,"mem.mm.min_flt.count",1.000000,0,"upid",0 6 4294967300,1409847209537724,"mem.mm.min_flt.max_lat",759.000000,0,"upid",0 7 4294967301,1409847209537724,"mem.mm.min_flt.avg_lat",759.000000,0,"upid",0 8 4294967302,1409847213761006,"mem.mm.min_flt.count",1.000000,0,"upid",0 9 4294967303,1409847213761006,"mem.mm.min_flt.max_lat",10.000000,0,"upid",0 10 4294967304,1409847213761006,"mem.mm.min_flt.avg_lat",10.000000,0,"upid",0 11 4294967305,1409847214052256,"mem.mm.min_flt.count",1.000000,0,"upid",0 [all …]
|
D | memory_counters_counter_args_join.out | 2 22240238407793,97669645,"mem.virt",36487168.000000,1,"upid",4294967296,"utid",7 3 22240238407793,97669645,"mem.rss",6008832.000000,1,"upid",4294967297,"utid",7 4 22240238407793,97669645,"mem.rss.anon",2281472.000000,1,"upid",4294967298,"utid",7 5 22240238407793,97669645,"mem.rss.file",3047424.000000,1,"upid",4294967299,"utid",7 6 22240238407793,97669645,"mem.rss.shmem",679936.000000,1,"upid",4294967300,"utid",7 7 22240238407793,97669645,"mem.swap",0.000000,1,"upid",4294967301,"utid",7 8 22240238407793,97669645,"mem.locked",0.000000,1,"upid",4294967302,"utid",7 9 22240238407793,97669645,"mem.rss.watermark",6008832.000000,1,"upid",4294967303,"utid",7 10 22240336077438,75130528,"mem.virt",36487168.000000,1,"upid",4294968284,"utid",7 11 22240336077438,75130528,"mem.rss",6008832.000000,1,"upid",4294968285,"utid",7
|
D | oom_query.sql | 5 ref AS upid, 14 ref as upid, 23 ref as upid, 29 CREATE VIRTUAL TABLE anon_file USING span_join(anon_rss PARTITIONED upid, file_rss PARTITIONED upid… 31 … VIRTUAL TABLE anon_file_oom USING span_join(anon_file PARTITIONED upid, oom_adj PARTITIONED upid); 37 upid, 50 upid, 58 WINDOW win AS (PARTITION BY upid ORDER BY ts);
|
D | thread_cpu_time.sql | 4 upid, 11 left join process using(upid) 12 left join (select upid, sum(dur) as total_dur 14 group by upid 15 ) using(upid) group by utid, upid 16 order by total_dur desc, upid, utid
|
D | counters_order_ref_counters_order_ref.out | 2 1010,0,"upid" 3 1000,2,"upid" 4 1005,2,"upid" 5 1000,3,"upid"
|
D | lmk.sql | 4 on instants.ref = process.upid;
|
D | process_tracking.sql | 3 left join process using(upid)
|
D | index | 52 # args for memory counters (because they are keyed by upid).
|
D | thread_cpu_time_example_android_trace_30s.out | 1 "utid","tid","upid","pid","threadName","processName","totalDur"
|
/external/perfetto/src/trace_processor/ |
D | process_tracker.cc | 82 if (!iter_thread->upid.has_value()) { in UpdateThread() 90 context_->storage->GetProcess(iter_thread->upid.value()); in UpdateThread() 107 if (!thread->upid.has_value()) { in UpdateThread() 108 thread->upid = GetOrCreateProcess(pid); in UpdateThread() 111 ResolvePendingAssociations(utid, *thread->upid); in UpdateThread() 138 UniquePid upid; in UpdateProcess() local 140 std::tie(upid, process) = GetOrCreateProcessPtr(pid); in UpdateProcess() 143 return upid; in UpdateProcess() 152 UniquePid upid; in GetOrCreateProcessPtr() local 155 upid = it->second; in GetOrCreateProcessPtr() [all …]
|
D | process_tracker_unittest.cc | 55 auto upid = context.process_tracker->GetOrCreateProcess(123); in TEST_F() local 56 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid); in TEST_F() 61 auto upid = context.process_tracker->StartNewProcess(1000, 123); in TEST_F() local 62 ASSERT_EQ(context.process_tracker->GetOrCreateProcess(123), upid); in TEST_F() 63 ASSERT_EQ(context.storage->GetProcess(upid).start_ns, 1000); in TEST_F() 111 ASSERT_EQ(thread.upid.value(), 1); in TEST_F() 126 ASSERT_EQ(thread.upid.value(), 1); in TEST_F()
|
D | event_tracker.cc | 215 UniquePid upid = thread.upid.value_or(0); in FlushPendingEvents() local 218 pending_counter.name_id, upid, RefType::kRefUpid); in FlushPendingEvents() 227 UniquePid upid = thread.upid.value_or(0); in FlushPendingEvents() local 228 context_->storage->mutable_instants()->set_ref(pending_instant.row, upid); in FlushPendingEvents()
|
D | thread_table.cc | 115 if (thread.upid.has_value()) { in Column() 116 sqlite3_result_int64(context, thread.upid.value()); in Column()
|
D | trace_storage.h | 106 base::Optional<UniquePid> upid; member 745 Process* GetMutableProcess(UniquePid upid) { in GetMutableProcess() argument 746 PERFETTO_DCHECK(upid < unique_processes_.size()); in GetMutableProcess() 747 return &unique_processes_[upid]; in GetMutableProcess() 827 const Process& GetProcess(UniquePid upid) const { in GetProcess() argument 828 PERFETTO_DCHECK(upid < unique_processes_.size()); in GetProcess() 829 return unique_processes_[upid]; in GetProcess()
|
D | raw_table.cc | 233 if (thread.upid.has_value()) { in ToSystrace() 234 tgid = storage_->GetProcess(thread.upid.value()).pid; in ToSystrace()
|
D | proto_trace_parser.cc | 490 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); in ParseProcessStats() local 491 context_->event_tracker->PushCounter(ts, value, name, upid, in ParseProcessStats() 836 UniquePid upid = in ParsePrint() local 839 context_->event_tracker->PushCounter(ts, point.value, name_id, upid, in ParsePrint() 910 UniquePid upid = context_->process_tracker->GetOrCreateProcess(pid); in ParseOOMScoreAdjUpdate() local 911 context_->event_tracker->PushCounter(ts, oom_adj, oom_score_adj_id_, upid, in ParseOOMScoreAdjUpdate()
|
/external/perfetto/src/trace_processor/metrics/android/ |
D | android_mem_lmk.sql | 18 CREATE TABLE last_oom_adj(upid BIG INT PRIMARY KEY, ts BIG INT, score INT); field 21 SELECT upid, ts, score 23 SELECT ref AS upid, 33 SELECT ref AS upid 40 LEFT JOIN process ON lmk_events.upid = process.upid 41 LEFT JOIN last_oom_adj ON lmk_events.upid = last_oom_adj.upid 42 ORDER BY lmk_events.upid;
|
/external/perfetto/ui/src/controller/ |
D | trace_controller.ts | 363 upid: NUM_NULL, 372 const upid = row.upid; constant 383 (upid === null || !counterUpids.has(upid)) && 389 let pUuid = upid === null ? utidToUuid.get(utid) : upidToUuid.get(upid); 393 if (upid === null) { 396 upidToUuid.set(upid, pUuid); 399 const pidForColor = pid || tid || upid || utid || 0; 406 name: `${upid === null ? tid : pid} summary`, 407 config: {pidForColor, upid, utid}, 413 name: upid === null ? `${threadName} ${tid}` : [all …]
|
/external/perfetto/docs/ |
D | trace-processor.md | 84 `upid` (same for process table), `cpu` (the cpu the event occurred on), `irq` 115 `upid` (same for process table), `cpu` (the cpu the event occurred on), `irq` 159 `upid` 175 | upid | name | pid | 190 `upid` 203 | utid | upid | name | tid | 279 …proc_name, pid, thread.name as thread_name, tid from thread left join process using(upid) limit 100 289 …order by dur desc limit 100) left outer join thread using(utid) left outer join process using(upid) 294 select process.name, tot_proc/1e9 as cpu_sec from (select upid, sum(tot_thd) as 296 thread using(utid) group by upid) join process using(upid) order by cpu_sec desc [all …]
|
/external/perfetto/ui/src/tracks/process_scheduling/ |
D | controller.ts | 44 if (!this.config.upid) { 58 where utid != 0 and upid = ${this.config.upid}) using(utid);`); 104 where upid = ${this.config.upid} 137 (select utid from thread where upid = ${this.config.upid})
|
D | common.ts | 48 upid: null|number; property
|
/external/perfetto/ui/src/tracks/process_summary/ |
D | controller.ts | 50 if (this.config.upid) { 52 `select utid from thread where upid=${this.config.upid}`);
|
D | common.ts | 28 upid: number|null; property
|
/external/perfetto/ui/src/tracks/chrome_slices/ |
D | common.ts | 19 upid: number; property
|