Lines Matching refs:proc_id
145 char const * proc_id) in find_anon_dir_match() argument
149 snprintf(match_filter, 10, "*/%s.*", proc_id); in find_anon_dir_match()
260 char * proc_id = NULL; in process_jit_dumpfile() local
291 proc_id = xmalloc(proc_id_length + 1); in process_jit_dumpfile()
292 memcpy(proc_id, dumpfilename, proc_id_length); in process_jit_dumpfile()
293 proc_id[proc_id_length] = '\0'; in process_jit_dumpfile()
295 proc_id); in process_jit_dumpfile()
304 if (!proc_id) { in process_jit_dumpfile()
309 if (!(anon_dir = find_anon_dir_match(anon_sample_dirs, proc_id))) { in process_jit_dumpfile()
330 strlen(proc_id) + strlen(".jo") + 1); in process_jit_dumpfile()
333 strcat(elf_file, proc_id); in process_jit_dumpfile()
337 strlen(proc_id) + strlen(".jo") + 1); in process_jit_dumpfile()
341 strcat(tmp_elffile, proc_id); in process_jit_dumpfile()
407 free(proc_id); in process_jit_dumpfile()
418 char * proc_id; in get_procid_from_dirname() local
425 proc_id = xmalloc(proc_id_length + 1); in get_procid_from_dirname()
426 memcpy(proc_id, fname, proc_id_length); in get_procid_from_dirname()
427 proc_id[proc_id_length] = '\0'; in get_procid_from_dirname()
428 ret = proc_id; in get_procid_from_dirname()
445 char * proc_id = get_procid_from_dirname(pname->name); in filter_anon_samples_list() local
446 if (proc_id) { in filter_anon_samples_list()
449 if (!strcmp(id->pid, proc_id)) { in filter_anon_samples_list()
463 this_proc->pid = proc_id; in filter_anon_samples_list()