Home
last modified time | relevance | path

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

/external/oprofile/daemon/
Dopd_anon.c71 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 …]
Dopd_spu.c24 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()
Dopd_sfile.c48 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()
Dopd_mangling.c61 snprintf(name, 1024, "%u.0x%llx.0x%llx", (unsigned int)anon->tgid, in mangle_anon()
99 values.tgid = sf->tgid; in mangle_filename()
Dopd_trans.c158 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()
Dopd_anon.h37 pid_t tgid; member
Dopd_sfile.h47 pid_t tgid; member
Dopd_trans.h55 pid_t tgid; member
Dopd_ibs.c183 (long)trans->tgid, in code_ibs_fetch_sample()
239 trans->tgid, in code_ibs_op_sample()
/external/qemu/hw/
Dgoldfish_trace.c33 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()
Dgoldfish_trace.h68 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/
Dop_interface.h37 u32 tgid; /**< always equal to pid for kernel < 2.4.0 */ member
69 unsigned int tgid; member
Dop_mangle.h46 pid_t tgid; member
Dop_mangle.c86 sprintf(mangled + strlen(mangled), "%d.", values->tgid); in op_mangle_filename()
/external/qemu/
Dtrace.c1438 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()