Home
last modified time | relevance | path

Searched refs:upid (Results 1 – 24 of 24) sorted by relevance

/external/perfetto/test/trace_processor/
Dmm_event.out2 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 …]
Dmemory_counters_counter_args_join.out2 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
Doom_query.sql5 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);
Dthread_cpu_time.sql4 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
Dcounters_order_ref_counters_order_ref.out2 1010,0,"upid"
3 1000,2,"upid"
4 1005,2,"upid"
5 1000,3,"upid"
Dlmk.sql4 on instants.ref = process.upid;
Dprocess_tracking.sql3 left join process using(upid)
Dindex52 # args for memory counters (because they are keyed by upid).
Dthread_cpu_time_example_android_trace_30s.out1 "utid","tid","upid","pid","threadName","processName","totalDur"
/external/perfetto/src/trace_processor/
Dprocess_tracker.cc82 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 …]
Dprocess_tracker_unittest.cc55 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()
Devent_tracker.cc215 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()
Dthread_table.cc115 if (thread.upid.has_value()) { in Column()
116 sqlite3_result_int64(context, thread.upid.value()); in Column()
Dtrace_storage.h106 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()
Draw_table.cc233 if (thread.upid.has_value()) { in ToSystrace()
234 tgid = storage_->GetProcess(thread.upid.value()).pid; in ToSystrace()
Dproto_trace_parser.cc490 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/
Dandroid_mem_lmk.sql18 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/
Dtrace_controller.ts363 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/
Dtrace-processor.md84 `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/
Dcontroller.ts44 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})
Dcommon.ts48 upid: null|number; property
/external/perfetto/ui/src/tracks/process_summary/
Dcontroller.ts50 if (this.config.upid) {
52 `select utid from thread where upid=${this.config.upid}`);
Dcommon.ts28 upid: number|null; property
/external/perfetto/ui/src/tracks/chrome_slices/
Dcommon.ts19 upid: number; property