/external/oprofile/daemon/liblegacy/ |
opd_proc.h | 33 /** thread id for this process, always equal to tgid for 2.2 kernel */ 36 pid_t tgid; member in struct:opd_proc 87 * @param tgid tgid for this process 91 void opd_handle_exec(pid_t tid, pid_t tgid); 108 * @param tgid tgid for this process 114 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid); 119 * @param tgid tgid for this proces [all...] |
opd_image.c | 52 "tid %d, tgid %d ref count %u\n", 54 image->tid, image->tgid, (int)image->ref_count); 58 "kernel %d, tid %d, tgid %d ref count %u\n", 60 image->tid, image->tgid, image->ref_count); 99 * @param tgid thread group id 103 static size_t opd_hash_image(char const * name, pid_t tid, pid_t tgid) 107 hash += tid + tgid; 118 * @param tgid thread group id 130 pid_t tid, pid_t tgid) 136 "tgid %d\n", name, app_name, kernel, tid, tgid) [all...] |
opd_image.h | 39 /** thread id, on 2.2 kernel always == to tgid */ 42 pid_t tgid; member in struct:opd_image 81 * @param tgid thread group id 88 char const * app_name, pid_t tid, pid_t tgid); 96 * @param tgid thread group id 104 int kernel, pid_t tid, pid_t tgid);
|
opd_parse_proc.c | 75 image = opd_get_image(cp, image_name, 0, proc->tid, proc->tgid); 117 verbprintf(vmisc, "image name %s for pid %u %u\n", image_name, proc->tid, proc->tgid); 153 image_name, 0, proc->tid, proc->tgid); 170 u32 tgid; local 185 if (sscanf(line, "Tgid: %u", &tgid) == 1) { 188 return tgid; 213 u32 tgid = read_tgid(pid); local 214 verbprintf(vmisc, "ASCII added %u %u\n", pid, tgid); 215 proc = opd_get_proc(pid, tgid); [all...] |
opd_proc.c | 63 /* FIXME: hash tgid too! */ 68 struct opd_proc * opd_new_proc(pid_t tid, pid_t tgid) 77 proc->tgid = tgid; 85 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid) 95 if (tid == proc->tid && tgid == proc->tgid) { 197 verbprintf(vsamples, "DO_PUT_SAMPLE: c%d, EIP 0x%.8lx, tgid %.6d pid %.6d\n", 198 sample->counter, sample->eip, sample->tgid, sample->pid); 205 if (!(proc = opd_get_proc(sample->pid, sample->tgid))) { [all...] |
opd_mapping.c | 146 proc = opd_get_proc(note->pid, note->tgid); 150 proc = opd_new_proc(note->pid, note->tgid); 166 image = opd_get_image(name, proc->name, 0, note->pid, note->tgid);
|
/external/oprofile/libop/ |
op_interface.h | 37 u32 tgid; /**< always equal to pid for kernel < 2.4.0 */ member in struct:op_sample 69 unsigned int tgid; member in struct:op_note
|
op_mangle.h | 46 pid_t tgid; member in struct:mangle_values
|
/external/oprofile/daemon/ |
opd_anon.c | 5 * Our caching of maps has some problems: if we get tgid reuse, 36 * anon cache, we'll tear down all the mappings for that tgid. Thus, LRU 71 static unsigned long hash_anon(pid_t tgid, cookie_t app) 73 return ((app >> DCOOKIE_SHIFT) ^ (tgid >> 2)) & (HASH_SIZE - 1); 79 unsigned long hash = hash_anon(trans->tgid, trans->app_cookie); 80 pid_t tgid = trans->tgid; local 90 if (entry->tgid == tgid && entry->app_cookie == app) { 103 printf("Cleared anon maps for tgid %u (%s).\n", tgid, name) [all...] |
opd_anon.h | 36 /** tgid of the app */ 37 pid_t tgid; member in struct:anon_mapping 48 * Try to find an anonymous mapping for the given pc/tgid pair.
|
opd_spu.c | 24 pid_t tgid; member in struct:spu_context_info 69 trans->tgid = pop_buffer_value(trans); 74 printf("SPU_CTX_SWITCH to tid %lu, tgid %lu, cookie %llx(%s)\n", 75 (unsigned long)trans->tid, (unsigned long)trans->tgid, 95 spu_context_cache[i].tgid = trans->tgid; 105 trans->tgid = spu_context_cache[i].tgid;
|
opd_sfile.h | 47 pid_t tgid; member in struct:sfile
|
opd_mangling.c | 61 snprintf(name, 1024, "%u.0x%llx.0x%llx", (unsigned int)anon->tgid, 99 values.tgid = sf->tgid;
|
/external/oprofile/libpp/ |
filename_spec.cpp | 39 !tgid.match(rhs.tgid) || count != rhs.count || 70 tgid.set(parsed.tgid);
|
filename_spec.h | 78 generic_spec<pid_t> tgid; member in class:filename_spec
|
parse_filename.h | 31 std::string tgid; member in struct:parsed_filename
|
/external/qemu/ |
android-trace.h | 59 extern void trace_fork(int tgid, int pid); 60 extern void trace_clone(int tgid, int pid);
|
/external/qemu/memcheck/ |
memcheck.h | 118 * tgid - TODO: Clarify that! 121 void memcheck_fork(uint32_t tgid, uint32_t new_pid); 127 * tgid - TODO: Clarify that! 130 void memcheck_clone(uint32_t tgid, uint32_t new_tid);
|
memcheck_proc_management.c | 466 memcheck_fork(uint32_t tgid, uint32_t new_pid) 471 /* tgid may match new_pid, in which case current process is the 472 * one that's being forked, otherwise tgid identifies process 474 if (new_pid == tgid) { 477 parent_proc = get_process_from_tid(tgid); 482 tgid, new_pid, current_tid); 488 tgid, new_pid, parent_proc->image_path, parent_proc->pid, 501 T(PROC_FORK, "memcheck: FORK(tgid=%u, new_pid=%u) by %s[pid=%u] (tid=%u)\n", 502 tgid, new_pid, parent_proc->image_path, parent_proc->pid, current_tid); 506 memcheck_clone(uint32_t tgid, uint32_t new_tid [all...] |
/bionic/libc/bionic/ |
pthread_kill.cpp | 35 extern "C" int tgkill(int tgid, int tid, int sig);
|
/external/qemu/hw/ |
goldfish_trace.h | 107 extern void trace_fork(int tgid, int pid); 108 extern void trace_clone(int tgid, int pid); 116 extern void trace_init_name(int tgid, int pid, const char *name);
|
goldfish_trace.c | 57 static unsigned tgid; // thread group id (really process id) variable 86 case TRACE_DEV_REG_TGID: // save the tgid for the following fork/clone 87 DPID("QEMU.trace: tgid=%u\n", value); 88 tgid = value; 90 D("QEMU.trace: kernel, tgid %u\n", value); 94 DPID("QEMU.trace: fork (pid=%d tgid=%d value=%d)\n", pid, tgid, value); 96 trace_fork(tgid, value); 101 memcheck_fork(tgid, value); 106 DPID("QEMU.trace: clone (pid=%d tgid=%d value=%d)\n", pid, tgid, value) [all...] |
/sdk/emulator/qtools/ |
read_pid.cpp | 22 printf("t%lld fork tgid %d pid %d\n", event.time, event.tgid, event.pid); 25 printf("t%lld clone tgid %d pid %d\n", event.time, event.tgid, event.pid); 59 printf("t%lld kthread tgid %d pid %d %s\n", 60 event.time, event.tgid, event.pid, event.path);
|
/external/oprofile/module/x86/ |
op_syscalls.c | 57 note.tgid = op_get_tgid(); 214 note.tgid = old_tgid; 223 u32 tgid = op_get_tgid(); local 230 oprof_report_fork(pid, ret, tgid, ret); 238 u32 tgid = op_get_tgid(); local 244 oprof_report_fork(pid, ret, tgid, ret); 252 u32 tgid = op_get_tgid(); local 263 oprof_report_fork(pid, ret, tgid, tgid); 266 oprof_report_fork(pid, ret, tgid, ret) [all...] |
/external/oprofile/module/ia64/ |
op_syscalls.c | 97 note.tgid = op_get_tgid(); 242 note.tgid = old_tgid; 252 u32 tgid = op_get_tgid(); local 261 oprof_report_fork(pid, ret, pid, tgid); 268 u32 tgid = op_get_tgid(); local 276 oprof_report_fork(pid, ret, tgid, tgid); 278 oprof_report_fork(pid, ret, tgid, ret); 311 note.tgid = op_get_tgid();
|