Home
last modified time | relevance | path

Searched refs:zalloc (Results 1 – 25 of 127) sorted by relevance

123456

/tools/lib/perf/
A DBuild7 libperf-y += zalloc.o
11 $(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE
A Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
/tools/perf/ui/gtk/
A DBuild10 gtk-y += zalloc.o
12 $(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE
/tools/perf/util/
A Dsample.c27 sample->user_regs = zalloc(sizeof(*sample->user_regs)); in perf_sample__user_regs()
38 sample->intr_regs = zalloc(sizeof(*sample->intr_regs)); in perf_sample__intr_regs()
A Dcall-path.c30 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new()
62 cpb = zalloc(sizeof(struct call_path_block)); in call_path__new()
A Dmem-info.c29 RC_STRUCT(mem_info) *mi = zalloc(sizeof(*mi)); in mem_info__new()
A Dpstack.c23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new()
A Dcounts.c12 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new()
A Dbpf-trace-summary.c175 data = zalloc(sizeof(*data)); in update_thread_stats()
239 data = zalloc(sizeof(*data)); in update_total_stats()
243 data->nodes = zalloc(sizeof(*data->nodes)); in update_total_stats()
308 data = zalloc(sizeof(*data)); in update_cgroup_stats()
A Dzlib.c25 .zalloc = Z_NULL, in gzip_decompress_to_file()
A Dstrfilter.c70 struct strfilter_node *node = zalloc(sizeof(*node)); in strfilter_node__alloc()
162 struct strfilter *filter = zalloc(sizeof(*filter)); in strfilter__new()
A Dbpf-event.c237 rodata = zalloc(map_info.value_size); in bpf_metadata_read_map_data()
348 metadata = zalloc(sizeof(struct bpf_metadata)); in bpf_metadata_alloc()
352 metadata->prog_names = zalloc(nr_prog_tags * sizeof(char *)); in bpf_metadata_alloc()
358 metadata->prog_names[prog_index] = zalloc(BPF_PROG_NAME_LEN); in bpf_metadata_alloc()
368 metadata->event = zalloc(event_size); in bpf_metadata_alloc()
424 event = zalloc(event_size + machine->id_hdr_size); in synthesize_perf_record_bpf_metadata()
A Dconfig.c648 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section()
668 struct perf_config_item *item = zalloc(sizeof(*item)); in add_config_item()
785 struct perf_config_set *set = zalloc(sizeof(*set)); in perf_config_set__new()
797 struct perf_config_set *set = zalloc(sizeof(*set)); in perf_config_set__load_file()
/tools/lib/
A Dzalloc.c6 void *zalloc(size_t size) in zalloc() function
/tools/include/linux/
A Dzalloc.h7 void *zalloc(size_t size);
/tools/bpf/resolve_btfids/
A DBuild5 resolve_btfids-y += zalloc.o
/tools/virtio/virtio-trace/
A Dtrace-agent.h63 static inline void *zalloc(size_t size) in zalloc() function
A Dtrace-agent.c53 s = zalloc(sizeof(struct agent_info)); in agent_info_new()
115 buf = zalloc(PATH_MAX); in make_path()
/tools/perf/arch/arm64/util/
A Dperf_regs.c109 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
125 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/tools/perf/arch/arm/util/
A Dauxtrace.c29 arm_spe_pmus = zalloc(sizeof(struct perf_pmu *) * nr_cpus); in find_all_arm_spe_pmus()
81 hisi_ptt_pmus = zalloc(sizeof(struct perf_pmu *) * (*nr_ptts)); in find_all_hisi_ptt_pmus()
/tools/perf/arch/arm/annotate/
A Dinstructions.c38 arm = zalloc(sizeof(*arm)); in arm__annotate_init()
/tools/perf/arch/powerpc/util/
A Dperf_regs.c158 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
175 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/tools/perf/
A DMANIFEST28 tools/lib/zalloc.c
/tools/perf/arch/s390/util/
A Dauxtrace.c110 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()
/tools/perf/arch/x86/util/
A Devent.c78 .event = zalloc(sizeof(args.event->mmap) + machine->id_hdr_size), in perf_event__synthesize_extra_kmaps()

Completed in 29 milliseconds

123456