Home
last modified time | relevance | path

Searched refs:rec_tmp (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/tools/perf/
Dbuiltin-mem.c71 char **rec_tmp; in __cmd_record() local
110 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
111 if (!rec_tmp) { in __cmd_record()
154 ret = perf_mem_events__record_args(rec_argv, &i, rec_tmp, &tmp_nr); in __cmd_record()
185 free(rec_tmp[i]); in __cmd_record()
187 free(rec_tmp); in __cmd_record()
Dbuiltin-c2c.c3235 char **rec_tmp; in perf_c2c__record() local
3268 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
3269 if (!rec_tmp) { in perf_c2c__record()
3302 ret = perf_mem_events__record_args(rec_argv, &i, rec_tmp, &rec_tmp_nr); in perf_c2c__record()
3330 free(rec_tmp[i]); in perf_c2c__record()
3332 free(rec_tmp); in perf_c2c__record()
/Linux-v6.1/tools/perf/util/
Dmem-events.h47 char **rec_tmp, int *tmp_nr);
Dmem-events.c186 char **rec_tmp, int *tmp_nr) in perf_mem_events__record_args() argument
222 rec_tmp[k++] = s; in perf_mem_events__record_args()