Home
last modified time | relevance | path

Searched refs:rec_argc (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/tools/perf/
Dbuiltin-mem.c68 int rec_argc, i = 0, j, tmp_nr = 0; in __cmd_record() local
96 rec_argc = argc + 9 * perf_pmus__num_mem_pmus(); in __cmd_record()
99 rec_argc += 2; in __cmd_record()
101 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
108 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
Dbuiltin-kvm.c1716 unsigned int rec_argc, i, j, events_tp_size; in kvm_events_record() local
1741 rec_argc = ARRAY_SIZE(record_args) + argc + 2 + in kvm_events_record()
1743 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in kvm_events_record()
2064 int rec_argc, i = 0, j, ret; in __cmd_record() local
2071 rec_argc = argc + 2; in __cmd_record()
2072 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
2079 BUG_ON(i != rec_argc); in __cmd_record()
2086 int rec_argc, i = 0, j; in __cmd_report() local
2089 rec_argc = argc + 2; in __cmd_report()
2090 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_report()
[all …]
Dbuiltin-timechart.c1651 unsigned int rec_argc, i; in timechart__io_record() local
1724 rec_argc = common_args_nr + in timechart__io_record()
1729 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__io_record()
1745 rec_argc -= 4; in timechart__io_record()
1756 rec_argc -= 4; in timechart__io_record()
1767 rec_argc -= 4; in timechart__io_record()
1780 return cmd_record(rec_argc, rec_argv); in timechart__io_record()
1786 unsigned int rec_argc, i, j; in timechart__record() local
1846 rec_argc = record_elems + argc; in timechart__record()
1847 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__record()
[all …]
Dbuiltin-kmem.c1880 unsigned int rec_argc, i, j; in __cmd_record() local
1884 rec_argc = ARRAY_SIZE(record_args) + argc - 1; in __cmd_record()
1886 rec_argc += ARRAY_SIZE(slab_events); in __cmd_record()
1888 rec_argc += ARRAY_SIZE(slab_legacy_events); in __cmd_record()
1891 rec_argc += ARRAY_SIZE(page_events) + 1; /* for -g */ in __cmd_record()
1893 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
Dbuiltin-kwork.c1649 unsigned int rec_argc, i, j; in perf_kwork__record() local
1660 rec_argc = ARRAY_SIZE(record_args) + argc - 1; in perf_kwork__record()
1663 rec_argc += 2 * class->nr_tracepoints; in perf_kwork__record()
1665 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_kwork__record()
1682 BUG_ON(i != rec_argc); in perf_kwork__record()
1685 for (j = 0; j < rec_argc; j++) in perf_kwork__record()
Dbuiltin-sched.c3391 unsigned int rec_argc, i, j; in __cmd_record() local
3428 rec_argc = ARRAY_SIZE(record_args) + 2 + schedstat_argc + argc - 1; in __cmd_record()
3429 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
3432 rec_argv_copy = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
3454 BUG_ON(i != rec_argc); in __cmd_record()
3456 memcpy(rec_argv_copy, rec_argv, sizeof(char *) * rec_argc); in __cmd_record()
3457 ret = cmd_record(rec_argc, rec_argv_copy); in __cmd_record()
3459 for (i = 0; i < rec_argc; i++) in __cmd_record()
Dbuiltin-lock.c2191 unsigned int rec_argc, i, j, ret; in __cmd_record() local
2221 rec_argc = ARRAY_SIZE(record_args) + nr_callgraph_args + argc - 1; in __cmd_record()
2229 rec_argc += 2 * nr_tracepoints; in __cmd_record()
2231 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
2259 BUG_ON(i != rec_argc); in __cmd_record()
Dbuiltin-c2c.c3241 int rec_argc, i = 0, j, rec_tmp_nr = 0; in perf_c2c__record() local
3268 rec_argc = argc + 11 * perf_pmus__num_mem_pmus(); in perf_c2c__record()
3270 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
3274 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
Dbuiltin-trace.c3042 unsigned int rec_argc, i, j; local
3061 rec_argc = ARRAY_SIZE(record_args) + sc_args_nr + 3 +
3063 rec_argv = calloc(rec_argc + 1, sizeof(char *));