Home
last modified time | relevance | path

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

1234

/tools/lib/perf/
DBuild7 libperf-y += zalloc.o
11 $(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE
Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
Devsel.c27 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new()
285 evsel->id = zalloc(ncpus * nthreads * sizeof(u64)); in perf_evsel__alloc_id()
/tools/perf/ui/gtk/
DBuild10 gtk-y += zalloc.o
12 $(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE
/tools/lib/
Dzalloc.c6 void *zalloc(size_t size) in zalloc() function
/tools/include/linux/
Dzalloc.h7 void *zalloc(size_t size);
/tools/bpf/resolve_btfids/
DBuild3 resolve_btfids-y += zalloc.o
/tools/perf/util/
Dcomm.c45 cs = zalloc(sizeof(*cs)); in comm_str__alloc()
110 struct comm *comm = zalloc(sizeof(*comm)); in comm__new()
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()
Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
Dcounts.c11 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new()
Dpstack.c23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new()
Dzlib.c25 .zalloc = Z_NULL, in gzip_decompress_to_file()
Dsrcline.c44 ilist = zalloc(sizeof(*ilist)); in inline_list__append()
244 a2l = zalloc(sizeof(*a2l)); in addr2line_init()
369 node = zalloc(sizeof(*node)); in addr2inlines()
470 node = zalloc(sizeof(*node)); in addr2inlines()
621 node = zalloc(sizeof(struct srcline_node)); in srcline__tree_insert()
Dstrfilter.c70 struct strfilter_node *node = zalloc(sizeof(*node)); in strfilter_node__alloc()
162 struct strfilter *filter = zalloc(sizeof(*filter)); in strfilter__new()
/tools/virtio/virtio-trace/
Dtrace-agent.h63 static inline void *zalloc(size_t size) in zalloc() function
Dtrace-agent.c52 s = zalloc(sizeof(struct agent_info)); in agent_info_new()
114 buf = zalloc(PATH_MAX); in make_path()
/tools/perf/
DMANIFEST22 tools/lib/zalloc.c
Dbuiltin-lock.c172 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_after_first()
194 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_first()
328 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
333 new->name = zalloc(sizeof(char) * strlen(name) + 1); in lock_stat_findnew()
373 seq = zalloc(sizeof(struct lock_seq_stat)); in get_seq()
/tools/perf/arch/arm/annotate/
Dinstructions.c38 arm = zalloc(sizeof(*arm)); in arm__annotate_init()
/tools/perf/arch/arm64/util/
Darm-spe.c177 sper = zalloc(sizeof(struct arm_spe_recording)); in arm_spe_recording_init()
202 attr = zalloc(sizeof(struct perf_event_attr)); in arm_spe_pmu_default_config()
/tools/perf/arch/x86/util/
Devent.c22 union perf_event *event = zalloc(sizeof(event->mmap) + in perf_event__synthesize_extra_kmaps()
/tools/perf/arch/powerpc/util/
Dperf_regs.c148 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
165 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/tools/perf/arch/arm/util/
Dauxtrace.c25 arm_spe_pmus = zalloc(sizeof(struct perf_pmu *) * nr_cpus); in find_all_arm_spe_pmus()
/tools/perf/arch/s390/util/
Dauxtrace.c109 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()

1234