Searched refs:taskname (Results 1 – 4 of 4) sorted by relevance
/system/memory/lmkd/ |
D | statslog.cpp | 51 char taskname[MAX_TASKNAME_LEN]; member 205 void stats_store_taskname(int pid, const char* taskname) { in stats_store_taskname() argument 206 if (!enable_stats_log || !taskname) { in stats_store_taskname() 212 if (strcmp(procp->taskname, taskname) == 0) { in stats_store_taskname() 219 strncpy(procp->taskname, taskname, MAX_TASKNAME_LEN - 1); in stats_store_taskname() 220 procp->taskname[MAX_TASKNAME_LEN - 1] = '\0'; in stats_store_taskname() 245 return proc ? proc->taskname : NULL; in stats_get_task_name() 335 index = pack_string(packet, index, kill_stat->taskname); in lmkd_pack_set_kill_occurred()
|
D | statslog.h | 73 const char *taskname; member 124 void stats_store_taskname(int pid, const char* taskname); 158 static inline void stats_store_taskname(int pid __unused, const char* taskname __unused) {} in stats_store_taskname()
|
D | lmkd.cpp | 807 kill_st->taskname = stats_get_task_name(pid); in stats_write_lmk_kill_occurred_pid() 808 if (kill_st->taskname != NULL) { in stats_write_lmk_kill_occurred_pid() 849 char* taskname = 0; in poll_kernel() local 856 &rss_in_pages, &oom_score_adj, &min_score_adj, &starttime, &taskname); in poll_kernel() 875 free(taskname); in poll_kernel() 1240 char *taskname = proc_get_name(cred->pid, buf, sizeof(buf)); in cmd_procprio() local 1243 taskname ? taskname : "A process ", cred->uid, cred->pid); in cmd_procprio() 1278 char *taskname = proc_get_name(cred->pid, buf, sizeof(buf)); in cmd_procremove() local 1281 taskname ? taskname : "A process ", cred->uid, cred->pid); in cmd_procremove() 2310 char *taskname; in kill_one_process() local [all …]
|
/system/nfc/src/gki/ulinux/ |
D | gki_ulinux.cc | 179 uint8_t GKI_create_task(TASKPTR task_entry, uint8_t task_id, int8_t* taskname, in GKI_create_task() argument 191 task_entry, task_id, taskname, stack, stacksize); in GKI_create_task() 200 gki_cb.com.OSTName[task_id] = taskname; in GKI_create_task() 237 << StringPrintf("pthread_create failed(%d), %s!", ret, taskname); in GKI_create_task() 259 gki_cb.os.thread_id[task_id], taskname, stack, stacksize); in GKI_create_task()
|