HomeSort by relevance Sort by last modified time
    Searched refs:tgid (Results 1 - 25 of 68) sorted by null

1 2 3

  /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);
  /system/core/libbacktrace/
thread_utils.h 24 int tgkill(int tgid, int tid, int sig);
thread_utils.c 38 int tgkill(int tgid, int tid, int sig) {
39 return syscall(__NR_tgkill, tgid, tid, sig);
  /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;
opd_sfile.c 48 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;
    [all...]
  /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
arrange_profiles.h 30 bool tgid; member in struct:merge_option
43 std::string tgid; member in struct:profile_template
139 * It's only used when classifying by CPU, tgid etc. so the
204 * tgid:404, tgid:301, etc.
  /bionic/libc/bionic/
pthread_kill.cpp 35 extern "C" int tgkill(int tgid, int tid, int sig);
  /external/qemu/include/hw/android/goldfish/
trace.h 108 extern void trace_fork(int tgid, int pid);
109 extern void trace_clone(int tgid, int pid);
117 extern void trace_init_name(int tgid, int pid, const char *name);
  /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();
  /external/qemu/hw/android/goldfish/
trace.c 54 static unsigned tgid; // thread group id (really process id) variable
77 case TRACE_DEV_REG_TGID: // save the tgid for the following fork/clone
78 DPID("QEMU.trace: tgid=%u\n", value);
79 tgid = value;
81 D("QEMU.trace: kernel, tgid %u\n", value);
85 DPID("QEMU.trace: fork (pid=%d tgid=%d value=%d)\n", pid, tgid, value);
91 DPID("QEMU.trace: clone (pid=%d tgid=%d value=%d)\n", pid, tgid, value);
165 DPID("QEMU.trace: tgid=%d pid=%d name=%s\n", tgid, pid, exec_path)
    [all...]

Completed in 347 milliseconds

1 2 3