Home
last modified time | relevance | path

Searched refs:zfree (Results 1 – 25 of 64) sorted by relevance

123

/tools/perf/util/
Denv.c14 zfree(&env->hostname); in perf_env__exit()
15 zfree(&env->os_release); in perf_env__exit()
16 zfree(&env->version); in perf_env__exit()
17 zfree(&env->arch); in perf_env__exit()
18 zfree(&env->cpu_desc); in perf_env__exit()
19 zfree(&env->cpuid); in perf_env__exit()
20 zfree(&env->cmdline); in perf_env__exit()
21 zfree(&env->cmdline_argv); in perf_env__exit()
22 zfree(&env->sibling_cores); in perf_env__exit()
23 zfree(&env->sibling_threads); in perf_env__exit()
[all …]
Dvalues.c37 zfree(&values->counterrawid); in perf_read_values_init()
38 zfree(&values->countername); in perf_read_values_init()
40 zfree(&values->pid); in perf_read_values_init()
41 zfree(&values->tid); in perf_read_values_init()
42 zfree(&values->value); in perf_read_values_init()
54 zfree(&values->value[i]); in perf_read_values_destroy()
55 zfree(&values->value); in perf_read_values_destroy()
56 zfree(&values->pid); in perf_read_values_destroy()
57 zfree(&values->tid); in perf_read_values_destroy()
58 zfree(&values->counterrawid); in perf_read_values_destroy()
[all …]
Dthread_map.c76 zfree(&namelist[i]); in thread_map__new_by_pid()
156 zfree(&namelist[i]); in thread_map__new_by_uid()
173 zfree(&namelist[i]); in thread_map__new_by_uid()
177 zfree(&threads); in thread_map__new_by_uid()
232 zfree(&namelist[i]); in thread_map__new_by_pid_str()
246 zfree(&namelist[i]); in thread_map__new_by_pid_str()
250 zfree(&threads); in thread_map__new_by_pid_str()
310 zfree(&threads); in thread_map__new_by_tid_str()
Dtrace-event-scripting.c97 zfree(&scripting_context); in register_python_scripting()
160 zfree(&scripting_context); in register_perl_scripting()
Dllvm-utils.c310 zfree(kbuild_dir); in llvm__get_kbuild_opts()
311 zfree(kbuild_include_opts); in llvm__get_kbuild_opts()
361 zfree(&saved_kbuild_dir); in llvm__get_kbuild_opts()
362 zfree(&saved_kbuild_include_opts); in llvm__get_kbuild_opts()
Dsrcline.c192 zfree((char **)&a2l->input); in addr2line_init()
203 zfree((char **)&a2l->input); in addr2line_cleanup()
204 zfree(&a2l->syms); in addr2line_cleanup()
521 zfree(&ilist->filename); in inline_node__delete()
522 zfree(&ilist->funcname); in inline_node__delete()
Dzlib.c25 .zfree = Z_NULL, in gzip_decompress_to_file()
Dparse-events.c229 zfree(&path->system); in tracepoint_id_to_path()
261 zfree(&path->system); in tracepoint_name_to_path()
262 zfree(&path->name); in tracepoint_name_to_path()
263 zfree(&path); in tracepoint_name_to_path()
1554 zfree(&p->symbol); in perf_pmu__parse_cleanup()
1556 zfree(&perf_pmu_events_list); in perf_pmu__parse_cleanup()
1645 zfree(&p.symbol); in perf_pmu__parse_check()
1685 zfree(&parse_state.terms); in parse_events_terms()
1792 zfree(&err->str); in parse_events_print_error()
1793 zfree(&err->help); in parse_events_print_error()
[all …]
Dutil.h27 #define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) macro
Dnamespaces.c166 zfree(&nsi->mntns_path); in nsinfo__delete()
240 zfree(&nc->oldcwd); in nsinfo__mountns_exit()
Dconfig.c572 zfree(&item->value); in set_value()
760 zfree(&item->name); in perf_config_item__delete()
761 zfree(&item->value); in perf_config_item__delete()
778 zfree(&section->name); in perf_config_section__delete()
Dtrace-event-info.c415 zfree(&t->name); in put_tracepoints_path()
416 zfree(&t->system); in put_tracepoints_path()
586 zfree(&tdata); in tracing_data_get()
Dcomm.c31 zfree(&cs->str); in comm_str__put()
Dannotate.c160 zfree(&ops->source.raw); in ins__delete()
161 zfree(&ops->source.name); in ins__delete()
162 zfree(&ops->target.raw); in ins__delete()
163 zfree(&ops->target.name); in ins__delete()
366 zfree(&ops->locked.ops); in lock__parse()
392 zfree(&ops->locked.ops); in lock__delete()
393 zfree(&ops->target.raw); in lock__delete()
394 zfree(&ops->target.name); in lock__delete()
447 zfree(&ops->source.raw); in mov__parse()
907 zfree(&dl->line); in disasm_line__new()
[all …]
Dhelp-unknown-cmd.c48 zfree(&old->names); in add_cmd_list()
Dsyscalltbl.c91 zfree(&tbl->syscalls.entries); in syscalltbl__delete()
Dcgroup.c148 zfree(&cgrp->name); in close_cgroup()
Dprobe-finder.c106 zfree(&dbg); in __debuginfo__new()
1359 zfree(tevs); in debuginfo__find_trace_events()
1524 zfree(&af.vls[af.nvls].point.symbol); in debuginfo__find_available_vars_at()
1527 zfree(vls); in debuginfo__find_available_vars_at()
1669 zfree(&ppt->function); in debuginfo__find_probe_point()
1725 zfree(&lf->lr->path); in find_line_range_by_line()
1891 zfree(new_path); in get_real_path()
1902 zfree(new_path); in get_real_path()
1908 zfree(new_path); in get_real_path()
Dbuild-id.c483 zfree(&linkdir); in build_id_cache__list_all()
495 zfree(&linkdir); in build_id_cache__list_all()
634 zfree(&realname); in build_id_cache__find_debug()
701 zfree(&filename); in build_id_cache__add_s()
Dstrbuf.c26 zfree(&sb->buf); in strbuf_release()
/tools/lib/subcmd/
Dsubcmd-util.h28 #define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) macro
Dhelp.c33 zfree(&cmds->names[i]); in clean_cmdnames()
34 zfree(&cmds->names); in clean_cmdnames()
/tools/lib/bpf/
Dlibbpf.c148 #ifndef zfree
149 # define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) macro
271 zfree(&prog->instances.fds); in bpf_program__unload()
286 zfree(&prog->section_name); in bpf_program__exit()
287 zfree(&prog->insns); in bpf_program__exit()
288 zfree(&prog->reloc_desc); in bpf_program__exit()
410 zfree(&obj->efile.reloc); in bpf_object__elf_finish()
945 zfree(&prog->reloc_desc); in bpf_program__relocate()
1143 zfree(&prog->insns); in bpf_program__load()
1476 zfree(&obj->maps[i].name); in bpf_object__close()
[all …]
/tools/perf/ui/gtk/
Dutil.c28 zfree(ctx); in perf_gtk__deactivate_context()
/tools/perf/arch/
Dcommon.c185 zfree(&buf); in perf_env__lookup_binutils_path()

123