Home
last modified time | relevance | path

Searched refs:tgid (Results 1 – 20 of 20) sorted by relevance

/system/extras/iotop/
Dtasklist.cpp51 return ScanPidsInDir("/proc", [&tgid_map](pid_t tgid) { in Scan() argument
53 if (ScanPid(tgid, pid_list)) { in Scan()
54 tgid_map.insert({tgid, pid_list}); in Scan()
59 bool TaskList::ScanPid(pid_t tgid, std::vector<pid_t>& pid_list) { in ScanPid() argument
60 std::string filename = android::base::StringPrintf("/proc/%d/task", tgid); in ScanPid()
Diotop.cpp184 pid_t tgid = tgid_it.first; in main() local
194 if (!taskstats_socket.GetTgidStats(tgid, tgid_stats_new)) { in main()
197 tgid_stats_delta = tgid_stats[tgid].Update(tgid_stats_new); in main()
Dtaskstats.cpp155 bool TaskstatsSocket::GetTgidStats(int tgid, TaskStatistics& stats) { in GetTgidStats() argument
156 bool ret = GetStats(tgid, TASKSTATS_CMD_ATTR_TGID, stats); in GetTgidStats()
158 stats.set_pid(tgid); in GetTgidStats()
/system/libbase/
Dthreads.cpp51 int tgkill(int tgid, int tid, int sig) { in tgkill() argument
52 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
/system/libbase/include/android-base/
Dthreads.h29 extern "C" int tgkill(int tgid, int tid, int sig);
/system/bpfprogs/
DtimeInState.c181 const pid_t tgid = bpf_get_current_pid_tgid() >> 32; variable
196 if (tracked_pid->state == TRACKED_PID_STATE_ACTIVE && tracked_pid->pid == tgid) {
207 .tgid = tgid,
/system/bpf/progs/include/
Dbpf_timeinstate.h71 pid_t tgid; member
/system/extras/taskstats/
Dtaskstats.c41 int tgid; member
59 stats->tgid = nla_get_u32(attr); in parse_aggregate_task_stats()
115 return stats->pid || stats->tgid; in query_task_stats()
/system/memory/lmkd/
Dlmkd.cpp1232 int64_t tgid; in apply_proc_prio() local
1247 if (parse_status_tag(buf, PROC_STATUS_TGID_FIELD, &tgid) && tgid != params.pid) { in apply_proc_prio()
1250 params.pid, tgid); in apply_proc_prio()
1498 int64_t tgid; in handle_io_uring_procs_prio() local
1570 if (parse_status_tag(buffers[procs_idx], PROC_STATUS_TGID_FIELD, &tgid) && in handle_io_uring_procs_prio()
1571 tgid != params.procs[procs_idx].pid) { in handle_io_uring_procs_prio()
1574 params.procs[procs_idx].pid, tgid); in handle_io_uring_procs_prio()
2597 int64_t tgid; in kill_one_process() local
2606 if (!parse_status_tag(buf, PROC_STATUS_TGID_FIELD, &tgid)) { in kill_one_process()
2610 if (tgid != pid) { in kill_one_process()
[all …]
/system/sepolicy/prebuilts/api/29.0/private/
Dgenfs_contexts202 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
203 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
247 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
248 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/30.0/private/
Dgenfs_contexts212 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
213 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
258 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
259 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/33.0/private/
Dgenfs_contexts247 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
248 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
312 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
313 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/32.0/private/
Dgenfs_contexts233 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
234 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
297 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
298 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/31.0/private/
Dgenfs_contexts233 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
234 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
297 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
298 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/microdroid/system/private/
Dgenfs_contexts236 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
237 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
300 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
301 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/34.0/private/
Dgenfs_contexts253 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
254 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
318 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
319 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/202404/private/
Dgenfs_contexts257 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
258 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
324 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
325 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/private/
Dgenfs_contexts237 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
238 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
/system/sepolicy/prebuilts/api/202404/
D202404_general_sepolicy.conf82898 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
82899 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
82965 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
82966 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
D202404_plat_sepolicy.cil180 (genfscon debugfs "/tracing/options/record-tgid" (u object_r debugfs_tracing ((s0) (s0))))
183 (genfscon debugfs "/tracing/options/print-tgid" (u object_r debugfs_tracing ((s0) (s0))))
464 (genfscon tracefs "/options/record-tgid" (u object_r debugfs_tracing ((s0) (s0))))
467 (genfscon tracefs "/options/print-tgid" (u object_r debugfs_tracing ((s0) (s0))))