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

1 2 3 4

  /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_trans.c 153 /* must be ESCAPE_CODE, CTX_TGID_CODE, tgid. Like this
154 * because tgid was added later in a compatible manner.
158 trans->tgid = pop_buffer_value(trans);
162 printf("CTX_SWITCH to tid %lu, tgid %lu, cookie %llx(%s)\n",
163 (unsigned long)trans->tid, (unsigned long)trans->tgid,
272 /* tgid handled differently */
309 .tgid = -1,
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/daemon/liblegacy/
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_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.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_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_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_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);
  /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/libpp/
filename_spec.cpp 39 !tgid.match(rhs.tgid) || count != rhs.count ||
70 tgid.set(parsed.tgid);
parse_filename.cpp 26 // PP:3.19 event_name.count.unitmask.tgid.tid.cpu
52 result.tgid = parts[i++];
98 string ret = name +" (tgid:";
238 tgid == parsed.tgid &&
248 << data.unitmask << " " << data.tgid << " "
arrange_profiles.cpp 75 comp = numeric_compare(lt.tgid, rt.tgid);
108 { "tgid", "specify tgid: or --merge tgid" },
213 * allowed if they are TGID,TID and for each class,
214 * tid == tgid
232 if (it->ptemplate.tgid != it->ptemplate.tid)
341 it->name += it->ptemplate.tgid;
343 it->longname += it->ptemplate.tgid;
    [all...]
  /external/qemu/hw/
goldfish_trace.c 56 static unsigned tgid; // thread group id (really process id) variable
85 case TRACE_DEV_REG_TGID: // save the tgid for the following fork/clone
86 DPID("QEMU.trace: tgid=%u\n", value);
87 tgid = value;
89 D("QEMU.trace: kernel, tgid %u\n", value);
93 DPID("QEMU.trace: fork (pid=%d tgid=%d value=%d)\n", pid, tgid, value);
95 trace_fork(tgid, value);
100 memcheck_fork(tgid, value);
105 DPID("QEMU.trace: clone (pid=%d tgid=%d value=%d)\n", pid, tgid, value)
    [all...]
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);
  /external/valgrind/main/docs/internals/
howto_oprofile.txt 14 opreport --merge=tgid -x \
19 opreport --merge=tgid --symbols -x \
24 opreport --merge=tgid --callgraph -x \
29 opannotate --merge=tgid --source --include-file=libhb_core.c | less
  /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/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.c 62 /* provision for tgid, tid, unit_mask, cpu and some {root}, {dep},
86 sprintf(mangled + strlen(mangled), "%d.", values->tgid);
  /external/qemu/
android-trace.h 59 extern void trace_fork(int tgid, int pid);
60 extern void trace_clone(int tgid, int pid);
  /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/oprofile/pp/
common_option.cpp 245 merge_by.tgid = false;
261 } else if (*cit == "tgid") {
262 // PP:5.21 tgid merge imply tid merging.
263 merge_by.tgid = true;
273 merge_by.tgid = true;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
cn_proc.h 39 * parent process ID = parent->tgid
41 * child process ID = child->tgid

Completed in 607 milliseconds

1 2 3 4