Home
last modified time | relevance | path

Searched refs:array (Results 1 – 5 of 5) sorted by relevance

/samples/trace_events/
Dtrace-events-sample.c24 int array[6]; in simple_thread_func() local
32 array[i] = i + 1; in simple_thread_func()
33 array[i] = 0; in simple_thread_func()
36 trace_foo_bar("hello", cnt, array, random_strings[len], in simple_thread_func()
/samples/ftrace/
DMakefile7 CFLAGS_sample-trace-array.o := -I$(src)
8 obj-$(CONFIG_SAMPLE_TRACE_ARRAY) += sample-trace-array.o
Dsample-trace-array.h83 #define TRACE_INCLUDE_FILE sample-trace-array
/samples/bpf/
Dxdp_rxq_info_user.c200 struct datarec *array; in alloc_record_per_cpu() local
202 array = calloc(nr_cpus, sizeof(struct datarec)); in alloc_record_per_cpu()
203 if (!array) { in alloc_record_per_cpu()
207 return array; in alloc_record_per_cpu()
213 struct record *array; in alloc_record_per_rxq() local
215 array = calloc(nr_rxqs, sizeof(struct record)); in alloc_record_per_rxq()
216 if (!array) { in alloc_record_per_rxq()
220 return array; in alloc_record_per_rxq()
Dxdp_sample_user.c319 struct datarec *array; in alloc_record_per_cpu() local
321 array = calloc(nr_cpus, sizeof(*array)); in alloc_record_per_cpu()
322 if (!array) { in alloc_record_per_cpu()
327 return array; in alloc_record_per_cpu()