Home
last modified time | relevance | path

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

1234

/Linux-v5.4/tools/perf/lib/
DBuild6 libperf-y += zalloc.o
10 $(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()
246 evsel->id = zalloc(ncpus * nthreads * sizeof(u64)); in perf_evsel__alloc_id()
/Linux-v5.4/arch/xtensa/boot/lib/
Dzmem.c13 void *zalloc(unsigned size) in zalloc() function
62 s.workspace = zalloc(zlib_inflate_workspacesize()); in gunzip()
/Linux-v5.4/tools/perf/util/
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()
Dcomm.c45 cs = zalloc(sizeof(*cs)); in comm_str__alloc()
110 struct comm *comm = zalloc(sizeof(*comm)); in comm__new()
Dsrcline.c44 ilist = zalloc(sizeof(*ilist)); in inline_list__append()
230 a2l = zalloc(sizeof(*a2l)); in addr2line_init()
355 node = zalloc(sizeof(*node)); in addr2inlines()
456 node = zalloc(sizeof(*node)); in addr2inlines()
607 node = zalloc(sizeof(struct srcline_node)); in srcline__tree_insert()
Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
Dcs-etm.c245 tidq->packet = zalloc(sizeof(struct cs_etm_packet)); in cs_etm__init_traceid_queue()
249 tidq->prev_packet = zalloc(sizeof(struct cs_etm_packet)); in cs_etm__init_traceid_queue()
258 tidq->last_branch = zalloc(sz); in cs_etm__init_traceid_queue()
261 tidq->last_branch_rb = zalloc(sz); in cs_etm__init_traceid_queue()
468 t_params = zalloc(sizeof(*t_params) * etm->num_cpu); in cs_etm__dump_event()
690 etmq = zalloc(sizeof(*etmq)); in cs_etm__alloc_queue()
699 t_params = zalloc(sizeof(*t_params) * etm->num_cpu); in cs_etm__alloc_queue()
2432 hdr = zalloc(sizeof(*hdr) * CS_HEADER_VERSION_0_MAX); in cs_etm__process_auxtrace_info()
2454 metadata = zalloc(sizeof(*metadata) * num_cpu); in cs_etm__process_auxtrace_info()
2468 metadata[j] = zalloc(sizeof(*metadata[j]) * in cs_etm__process_auxtrace_info()
[all …]
Dcounts.c10 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new()
Dprobe-finder.c88 struct debuginfo *dbg = zalloc(sizeof(*dbg)); in __debuginfo__new()
150 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
221 tvar->value = zalloc(ret + 2); in convert_variable_location()
343 *ref_ptr = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_type()
431 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
462 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
1301 args = zalloc(sizeof(struct perf_probe_arg) * MAX_PROBE_ARGS); in add_probe_trace_event()
1312 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event()
1348 *tevs = zalloc(sizeof(struct probe_trace_event) * tf.max_tevs); in debuginfo__find_trace_events()
1493 *vls = zalloc(sizeof(struct variable_list) * af.max_vls); in debuginfo__find_available_vars_at()
Dpstack.c23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new()
Dstrfilter.c70 struct strfilter_node *node = zalloc(sizeof(*node)); in strfilter_node__alloc()
162 struct strfilter *filter = zalloc(sizeof(*filter)); in strfilter__new()
Dzlib.c25 .zalloc = Z_NULL, in gzip_decompress_to_file()
/Linux-v5.4/tools/include/linux/
Dzalloc.h7 void *zalloc(size_t size);
/Linux-v5.4/tools/lib/
Dzalloc.c6 void *zalloc(size_t size) in zalloc() function
/Linux-v5.4/tools/perf/arch/powerpc/util/
Dperf_regs.c135 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
152 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/Linux-v5.4/tools/perf/arch/arm64/util/
Darm-spe.c185 sper = zalloc(sizeof(struct arm_spe_recording)); in arm_spe_recording_init()
209 attr = zalloc(sizeof(struct perf_event_attr)); in arm_spe_pmu_default_config()
/Linux-v5.4/tools/virtio/virtio-trace/
Dtrace-agent.c52 s = zalloc(sizeof(struct agent_info)); in agent_info_new()
114 buf = zalloc(PATH_MAX); in make_path()
Dtrace-agent.h63 static inline void *zalloc(size_t size) in zalloc() function
/Linux-v5.4/tools/perf/
DMANIFEST21 tools/lib/zalloc.c
Dbuiltin-timechart.c208 cursor = zalloc(sizeof(*cursor)); in find_create_pid()
234 c = zalloc(sizeof(*c)); in pid_set_comm()
278 c = zalloc(sizeof(*c)); in pid_put_sample()
285 sample = zalloc(sizeof(*sample)); in pid_put_sample()
355 struct power_event *pwr = zalloc(sizeof(*pwr)); in c_state_end()
377 pwr = zalloc(sizeof(*pwr)); in p_state_change()
410 struct wake_event *we = zalloc(sizeof(*we)); in sched_wakeup()
684 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
699 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
727 c = zalloc(sizeof(*c)); in pid_begin_io_sample()
[all …]
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()
/Linux-v5.4/tools/perf/arch/arm/annotate/
Dinstructions.c38 arm = zalloc(sizeof(*arm)); in arm__annotate_init()
/Linux-v5.4/tools/perf/arch/x86/util/
Devent.c23 union perf_event *event = zalloc(sizeof(event->mmap) + in perf_event__synthesize_extra_kmaps()

1234