Searched defs:tgid (Results 1 - 12 of 12) sorted by relevance

/external/oprofile/daemon/
H A Dopd_anon.h36 /** 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.
H A Dopd_sfile.h47 pid_t tgid; member in struct:sfile
H A Dopd_spu.c24 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;
H A Dopd_anon.c5 * 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) argument
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
[all...]
H A Dopd_trans.h55 pid_t tgid; member in struct:transient
H A Dopd_sfile.c48 val ^= trans->tgid << 2;
70 val ^= trans->tgid << 2;
84 pid_t tgid, pid_t tid, unsigned int cpu)
94 if (sf->tid != tid || sf->tgid != tgid)
126 trans->anon, trans->tgid, trans->tid, trans->cpu);
134 sf2->anon, sf2->tgid, sf2->tid, sf2->cpu);
179 sf->tgid = (pid_t)-1;
198 sf->tgid = trans->tgid;
82 do_match(struct sfile const * sf, cookie_t cookie, cookie_t app_cookie, struct kernel_image const * ki, struct anon_mapping const * anon, pid_t tgid, pid_t tid, unsigned int cpu) argument
[all...]
/external/oprofile/libop/
H A Dop_mangle.h46 pid_t tgid; member in struct:mangle_values
H A Dop_interface.h37 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
/external/qemu/hw/
H A Dgoldfish_trace.c37 static unsigned tgid; // thread group id (really process id) variable
63 case TRACE_DEV_REG_TGID: // save the tgid for the following fork/clone
64 tgid = value;
67 printf("QEMU.trace: kernel, tgid %u\n", value);
73 trace_fork(tgid, value);
80 memcheck_fork(tgid, value);
86 trace_clone(tgid, value);
93 memcheck_clone(tgid, value);
210 trace_init_name(tgid, pid, path);
/external/qemu/memcheck/
H A Dmemcheck_proc_management.c471 memcheck_fork(uint32_t tgid, uint32_t new_pid) argument
476 /* tgid may match new_pid, in which case current process is the
477 * one that's being forked, otherwise tgid identifies process
479 if (new_pid == tgid) {
482 parent_proc = get_process_from_tid(tgid);
487 tgid, new_pid, current_tid);
493 tgid, new_pid, parent_proc->image_path, parent_proc->pid,
506 T(PROC_FORK, "memcheck: FORK(tgid=%u, new_pid=%u) by %s[pid=%u] (tid=%u)\n",
507 tgid, new_pid, parent_proc->image_path, parent_proc->pid, current_tid);
511 memcheck_clone(uint32_t tgid, uint32_ argument
[all...]
/external/qemu/
H A Dtrace.c1438 void trace_pid_2arg(int tgid, int pid, int rec_type) argument
1453 comp_ptr = varint_encode(tgid, comp_ptr);
1468 void trace_fork(int tgid, int pid) argument
1474 trace_pid_2arg(tgid, pid, kPidFork);
1477 void trace_clone(int tgid, int pid) argument
1483 trace_pid_2arg(tgid, pid, kPidClone);
1689 void trace_init_name(int tgid, int pid, const char *name) argument
1710 comp_ptr = varint_encode(tgid, comp_ptr);
/external/kernel-headers/original/linux/
H A Dsched.h821 pid_t tgid; member in struct:task_struct

Completed in 190 milliseconds