/external/oprofile/daemon/ |
D | opd_anon.c | 71 static unsigned long hash_anon(pid_t tgid, cookie_t app) in hash_anon() argument 73 return ((app >> DCOOKIE_SHIFT) ^ (tgid >> 2)) & (HASH_SIZE - 1); in hash_anon() 79 unsigned long hash = hash_anon(trans->tgid, trans->app_cookie); in clear_anon_maps() 80 pid_t tgid = trans->tgid; in clear_anon_maps() local 90 if (entry->tgid == tgid && entry->app_cookie == app) { in clear_anon_maps() 103 printf("Cleared anon maps for tgid %u (%s).\n", tgid, name); in clear_anon_maps() 111 unsigned long hash = hash_anon(trans->tgid, trans->app_cookie); in add_anon_mapping() 113 m->tgid = trans->tgid; in add_anon_mapping() 125 start, end, m->tgid, name); in add_anon_mapping() 138 snprintf(buf, PATH_MAX, "/proc/%d/maps", trans->tgid); in get_anon_maps() [all …]
|
D | opd_spu.c | 24 pid_t tgid; member 69 trans->tgid = pop_buffer_value(trans); in code_spu_ctx_switch() 75 (unsigned long)trans->tid, (unsigned long)trans->tgid, in code_spu_ctx_switch() 95 spu_context_cache[i].tgid = trans->tgid; in cache_spu_context_info() 105 trans->tgid = spu_context_cache[i].tgid; in update_trans_for_spu()
|
D | opd_sfile.c | 48 val ^= trans->tgid << 2; in sfile_hash() 70 val ^= trans->tgid << 2; in sfile_hash() 84 pid_t tgid, pid_t tid, unsigned int cpu) in do_match() argument 94 if (sf->tid != tid || sf->tgid != tgid) in do_match() 126 trans->anon, trans->tgid, trans->tid, trans->cpu); in trans_match() 134 sf2->anon, sf2->tgid, sf2->tid, sf2->cpu); in sfile_equal() 179 sf->tgid = (pid_t)-1; in create_sfile() 198 sf->tgid = trans->tgid; in create_sfile() 356 (unsigned int)sf->anon->tgid, in verbose_print_sample()
|
D | opd_mangling.c | 61 snprintf(name, 1024, "%u.0x%llx.0x%llx", (unsigned int)anon->tgid, in mangle_anon() 99 values.tgid = sf->tgid; in mangle_filename()
|
D | opd_trans.c | 158 trans->tgid = pop_buffer_value(trans); in code_ctx_switch() 163 (unsigned long)trans->tid, (unsigned long)trans->tgid, in code_ctx_switch() 309 .tgid = -1, in opd_process_samples()
|
D | opd_anon.h | 37 pid_t tgid; member
|
D | opd_sfile.h | 47 pid_t tgid; member
|
D | opd_trans.h | 55 pid_t tgid; member
|
D | opd_ibs.c | 183 (long)trans->tgid, in code_ibs_fetch_sample() 239 trans->tgid, in code_ibs_op_sample()
|
/external/qemu/hw/ |
D | goldfish_trace.c | 33 static unsigned tgid; // thread group id (really process id) variable 53 tgid = value; in trace_dev_write() 59 trace_fork(tgid, value); in trace_dev_write() 65 trace_clone(tgid, value); in trace_dev_write() 136 trace_init_name(tgid, pid, path); in trace_dev_write()
|
D | goldfish_trace.h | 68 extern void trace_fork(int tgid, int pid); 69 extern void trace_clone(int tgid, int pid); 77 extern void trace_init_name(int tgid, int pid, const char *name);
|
/external/oprofile/libop/ |
D | op_interface.h | 37 u32 tgid; /**< always equal to pid for kernel < 2.4.0 */ member 69 unsigned int tgid; member
|
D | op_mangle.h | 46 pid_t tgid; member
|
D | op_mangle.c | 86 sprintf(mangled + strlen(mangled), "%d.", values->tgid); in op_mangle_filename()
|
/external/qemu/ |
D | trace.c | 1438 void trace_pid_2arg(int tgid, int pid, int rec_type) in trace_pid_2arg() argument 1453 comp_ptr = varint_encode(tgid, comp_ptr); in trace_pid_2arg() 1468 void trace_fork(int tgid, int pid) in trace_fork() argument 1474 trace_pid_2arg(tgid, pid, kPidFork); in trace_fork() 1477 void trace_clone(int tgid, int pid) in trace_clone() argument 1483 trace_pid_2arg(tgid, pid, kPidClone); in trace_clone() 1689 void trace_init_name(int tgid, int pid, const char *name) in trace_init_name() argument 1710 comp_ptr = varint_encode(tgid, comp_ptr); in trace_init_name()
|