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

12

/external/oprofile/daemon/liblegacy/
H A Dopd_proc.h33 /** 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 fo
[all...]
H A Dopd_image.h39 /** 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);
H A Dopd_image.c52 "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) argument
107 hash += tid + tgid;
118 * @param tgid thread group id
130 pid_t tid, pid_t tgid)
136 "tgid
129 opd_new_image(char const * name, char const * app_name, int kernel, pid_t tid, pid_t tgid) argument
177 is_same_image(struct opd_image const * image, char const * app_name, pid_t tid, pid_t tgid) argument
221 opd_find_image(char const * name, char const * app_name, pid_t tid, pid_t tgid) argument
249 opd_get_image(char const * name, char const * app_name, int kernel, pid_t tid, pid_t tgid) argument
260 opd_get_kernel_image(char const * name, char const * app_name, pid_t tid, pid_t tgid) argument
[all...]
H A Dopd_parse_proc.c75 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);
217 proc = opd_new_proc(pid, tgid);
[all...]
H A Dopd_proc.c63 /* FIXME: hash tgid too! */
68 struct opd_proc * opd_new_proc(pid_t tid, pid_t tgid) argument
77 proc->tgid = tgid;
85 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid) argument
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))) {
286 opd_handle_exec(pid_t tid, pid_t tgid) argument
[all...]
/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/libpp/
H A Dfilename_spec.h78 generic_spec<pid_t> tgid; member in class:filename_spec
H A Dparse_filename.h31 std::string tgid; member in struct:parsed_filename
H A Dprofile_spec.h133 comma_list<pid_t> tgid; member in class:profile_spec
H A Darrange_profiles.h30 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.
/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/android/goldfish/
H A Dtrace.c54 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
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dauto_fs4.h138 __u32 tgid; member in struct:autofs_v5_packet
/external/oprofile/module/x86/
H A Dop_syscalls.c57 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, re
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Devent.c54 pid_t tgid = -1; local
64 while (!comm[0] || (tgid < 0)) {
85 tgid = atoi(tgids);
91 return tgid;
104 pid_t tgid; local
108 tgid = perf_event__get_comm_tgid(pid, event->comm.comm,
110 if (tgid < 0)
113 event->comm.pid = tgid;
145 /* already have tgid; jut want to update the comm */
159 tgid
169 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine) argument
309 pid_t tgid = perf_event__synthesize_comm(tool, comm_event, pid, full, local
[all...]
/external/oprofile/module/ia64/
H A Dop_syscalls.c97 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/ltrace/
H A Dproc.c690 pid_t tgid = process_leader(proc->pid); local
691 if (tgid == 0)
695 if (tgid == proc->pid) {
698 struct process *leader = pid2proc(tgid);
/external/ltrace/sysdeps/linux-gnu/
H A Dproc.c136 pid_t tgid = 0; local
139 each_line_starting(file, "Tgid:\t", &process_leader_cb, &tgid);
143 return tgid;
/external/oprofile/module/
H A Doprofile.c109 fill_op_entry(struct op_sample * ops, long eip, pid_t pid, pid_t tgid, int ctr) argument
113 ops->tgid = tgid;
121 pid_t const tgid = op_get_tgid(); local
126 fill_op_entry(samples, eip, pid, tgid, ctr);

Completed in 157 milliseconds

12