Home
last modified time | relevance | path

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

1234

/tools/perf/util/
Denv.c187 zfree(&env->hostname); in perf_env__exit()
188 zfree(&env->os_release); in perf_env__exit()
189 zfree(&env->version); in perf_env__exit()
190 zfree(&env->arch); in perf_env__exit()
191 zfree(&env->cpu_desc); in perf_env__exit()
192 zfree(&env->cpuid); in perf_env__exit()
193 zfree(&env->cmdline); in perf_env__exit()
194 zfree(&env->cmdline_argv); in perf_env__exit()
195 zfree(&env->sibling_dies); in perf_env__exit()
196 zfree(&env->sibling_cores); in perf_env__exit()
[all …]
Dvalues.c38 zfree(&values->counterrawid); in perf_read_values_init()
39 zfree(&values->countername); in perf_read_values_init()
41 zfree(&values->pid); in perf_read_values_init()
42 zfree(&values->tid); in perf_read_values_init()
43 zfree(&values->value); in perf_read_values_init()
55 zfree(&values->value[i]); in perf_read_values_destroy()
56 zfree(&values->value); in perf_read_values_destroy()
57 zfree(&values->pid); in perf_read_values_destroy()
58 zfree(&values->tid); in perf_read_values_destroy()
59 zfree(&values->counterrawid); in perf_read_values_destroy()
[all …]
Dthread_map.c55 zfree(&namelist[i]); in thread_map__new_by_pid()
135 zfree(&namelist[i]); in __thread_map__new_all_cpus()
152 zfree(&namelist[i]); in __thread_map__new_all_cpus()
156 zfree(&threads); in __thread_map__new_all_cpus()
221 zfree(&namelist[i]); in thread_map__new_by_pid_str()
235 zfree(&namelist[i]); in thread_map__new_by_pid_str()
239 zfree(&threads); in thread_map__new_by_pid_str()
288 zfree(&threads); in thread_map__new_by_tid_str()
422 zfree(&threads->map[idx].comm); in thread_map__remove()
Dtrace-event-scripting.c82 zfree(&scripting_context); in register_python_scripting()
145 zfree(&scripting_context); in register_perl_scripting()
Dsrccode.c90 zfree(&sf->lines); in free_srcfile()
91 zfree(&sf->fn); in free_srcfile()
157 zfree(&h->fn); in find_srcfile()
Dprobe-event.c225 zfree(&pp->file); in clear_perf_probe_point()
226 zfree(&pp->function); in clear_perf_probe_point()
227 zfree(&pp->lazy_line); in clear_perf_probe_point()
522 zfree(&debuginfo_cache_path); in debuginfo_cache__open()
531 zfree(&debuginfo_cache_path); in debuginfo_cache__exit()
872 zfree(tevs); in try_to_find_probe_trace_events()
1098 zfree(&vl->point.symbol); in show_available_vars_at()
1192 zfree(&lr->function); in line_range__clear()
1193 zfree(&lr->file); in line_range__clear()
1194 zfree(&lr->path); in line_range__clear()
[all …]
Dcputopo.c142 zfree(&tp->core_siblings[i]); in cpu_topology__delete()
146 zfree(&tp->die_siblings[i]); in cpu_topology__delete()
150 zfree(&tp->thread_siblings[i]); in cpu_topology__delete()
350 zfree(&tp->nodes[i].cpus); in numa_topology__delete()
Dllvm-utils.c318 zfree(kbuild_dir); in llvm__get_kbuild_opts()
319 zfree(kbuild_include_opts); in llvm__get_kbuild_opts()
358 zfree(kbuild_dir); in llvm__get_kbuild_opts()
368 zfree(&saved_kbuild_dir); in llvm__get_kbuild_opts()
369 zfree(&saved_kbuild_include_opts); in llvm__get_kbuild_opts()
Dcs-etm.c276 zfree(&tidq->last_branch_rb); in cs_etm__init_traceid_queue()
277 zfree(&tidq->last_branch); in cs_etm__init_traceid_queue()
278 zfree(&tidq->prev_packet); in cs_etm__init_traceid_queue()
279 zfree(&tidq->packet); in cs_etm__init_traceid_queue()
521 zfree(&t_params); in cs_etm__dump_event()
563 zfree(&tidq->event_buf); in cs_etm__free_traceid_queues()
564 zfree(&tidq->last_branch); in cs_etm__free_traceid_queues()
565 zfree(&tidq->last_branch_rb); in cs_etm__free_traceid_queues()
566 zfree(&tidq->prev_packet); in cs_etm__free_traceid_queues()
567 zfree(&tidq->packet); in cs_etm__free_traceid_queues()
[all …]
Dcgroup.c128 zfree(&cgroup->name); in cgroup__new()
170 zfree(&cgroup->name); in cgroup__delete()
Dpmu.c248 zfree(old_str); in perf_pmu_assign_str()
277 zfree(&newalias->name); in perf_pmu_free_alias()
278 zfree(&newalias->desc); in perf_pmu_free_alias()
279 zfree(&newalias->long_desc); in perf_pmu_free_alias()
280 zfree(&newalias->topic); in perf_pmu_free_alias()
281 zfree(&newalias->str); in perf_pmu_free_alias()
282 zfree(&newalias->metric_expr); in perf_pmu_free_alias()
283 zfree(&newalias->metric_name); in perf_pmu_free_alias()
1505 zfree(&aliases[j].name); in print_pmu_events()
1506 zfree(&aliases); in print_pmu_events()
Dparse-events.c236 zfree(&path->system); in tracepoint_id_to_path()
270 zfree(&path->system); in tracepoint_name_to_path()
271 zfree(&path->name); in tracepoint_name_to_path()
272 zfree(&path); in tracepoint_name_to_path()
1784 zfree(&p->symbol); in perf_pmu__parse_cleanup()
1786 zfree(&perf_pmu_events_list); in perf_pmu__parse_cleanup()
1875 zfree(&p.symbol); in perf_pmu__parse_check()
1915 zfree(&parse_state.terms); in parse_events_terms()
2027 zfree(&err->str); in parse_events_print_error()
2028 zfree(&err->help); in parse_events_print_error()
[all …]
Dzlib.c26 .zfree = Z_NULL, in gzip_decompress_to_file()
Dnamespaces.c184 zfree(&nsi->mntns_path); in nsinfo__delete()
258 zfree(&nc->oldcwd); in nsinfo__mountns_exit()
Ddata.c25 zfree(&files[nr].path); in close_dir()
286 zfree(&data->file.path); in open_file()
350 zfree(&data->file.path); in perf_data__close()
Dmetricgroup.c254 zfree(&me->name); in mep_new()
282 zfree(&me->name); in mep_delete()
509 zfree(&eg->ids[i]); in metricgroup__free_egroups()
510 zfree(&eg->ids); in metricgroup__free_egroups()
/tools/include/linux/
Dzalloc.h10 #define zfree(ptr) __zfree((void **)(ptr)) macro
/tools/perf/ui/browsers/
Dres_sample.c54 zfree(&names[i]); in res_sample_browse()
61 zfree(&names[i]); in res_sample_browse()
/tools/perf/arch/arm64/annotate/
Dinstructions.c55 zfree(&ops->target.raw); in arm64_mov__parse()
57 zfree(&ops->source.raw); in arm64_mov__parse()
/tools/perf/tests/
Ddwarf-unwind.c121 zfree(&sample.user_stack.data); in test_dwarf_unwind__thread()
122 zfree(&sample.user_regs.regs); in test_dwarf_unwind__thread()
Dexpr.c63 zfree(&other[i]); in test__expr()
Dmem2node.c75 zfree(&nodes[i].set); in test__mem2node()
/tools/perf/arch/s390/annotate/
Dinstructions.c97 zfree(&ops->target.raw); in s390_mov__parse()
99 zfree(&ops->source.raw); in s390_mov__parse()
/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()
55 zfree(&cmds->names[i - 1]); in uniq()

1234