Home
last modified time | relevance | path

Searched refs:tgid (Results 1 – 12 of 12) 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.cpp162 bool TaskstatsSocket::GetTgidStats(int tgid, TaskStatistics& stats) { in GetTgidStats() argument
163 bool ret = GetStats(tgid, TASKSTATS_CMD_ATTR_TGID, stats); in GetTgidStats()
165 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/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.cpp939 int64_t tgid = -1; in proc_get_tgid() local
969 parse_int64(pos, &tgid); in proc_get_tgid()
973 return (int)tgid; in proc_get_tgid()
1037 int tgid; in cmd_procprio() local
1053 tgid = proc_get_tgid(params.pid); in cmd_procprio()
1054 if (tgid >= 0 && tgid != params.pid) { in cmd_procprio()
1056 params.pid, tgid); in cmd_procprio()
2050 int tgid; in kill_one_process() local
2058 tgid = proc_get_tgid(pid); in kill_one_process()
2059 if (tgid >= 0 && 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/private/
Dgenfs_contexts212 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
213 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
262 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
263 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/30.0/private/
Dgenfs_contexts211 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
212 genfscon tracefs /options/record-tgid u:object_r:debugfs_tracing…
256 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
257 genfscon debugfs /tracing/options/record-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/28.0/private/
Dgenfs_contexts179 genfscon tracefs /options/print-tgid u:object_r:debugfs_tracing…
207 genfscon debugfs /tracing/options/print-tgid u:object_r:debugfs…
/system/sepolicy/prebuilts/api/26.0/private/
Dfile_contexts498 /sys/kernel(/debug)?/tracing/options/print-tgid u:object_r:trac…