Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/ !
Dbuiltin-mem.c68 int rec_argc, i = 0, j, tmp_nr = 0; in __cmd_record() local
96 rec_argc = argc + 9; /* max number of arguments */ in __cmd_record()
98 rec_argc = argc + 9 * perf_pmu__hybrid_pmu_num(); in __cmd_record()
101 rec_argc += 2; in __cmd_record()
103 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
110 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
Dbuiltin-kvm.c1185 unsigned int rec_argc, i, j, events_tp_size; in kvm_events_record() local
1210 rec_argc = ARRAY_SIZE(record_args) + argc + 2 + in kvm_events_record()
1212 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in kvm_events_record()
1528 int rec_argc, i = 0, j, ret; in __cmd_record() local
1535 rec_argc = argc + 2; in __cmd_record()
1536 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1543 BUG_ON(i != rec_argc); in __cmd_record()
1550 int rec_argc, i = 0, j; in __cmd_report() local
1553 rec_argc = argc + 2; in __cmd_report()
1554 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_report()
[all …]
Dbuiltin-timechart.c1647 unsigned int rec_argc, i; in timechart__io_record() local
1720 rec_argc = common_args_nr + in timechart__io_record()
1725 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__io_record()
1741 rec_argc -= 4; in timechart__io_record()
1752 rec_argc -= 4; in timechart__io_record()
1763 rec_argc -= 4; in timechart__io_record()
1776 return cmd_record(rec_argc, rec_argv); in timechart__io_record()
1782 unsigned int rec_argc, i, j; in timechart__record() local
1842 rec_argc = record_elems + argc; in timechart__record()
1843 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__record()
[all …]
Dbuiltin-kwork.c1625 unsigned int rec_argc, i, j; in perf_kwork__record() local
1636 rec_argc = ARRAY_SIZE(record_args) + argc - 1; in perf_kwork__record()
1639 rec_argc += 2 * class->nr_tracepoints; in perf_kwork__record()
1641 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_kwork__record()
1658 BUG_ON(i != rec_argc); in perf_kwork__record()
1661 for (j = 0; j < rec_argc; j++) in perf_kwork__record()
Dbuiltin-kmem.c1870 unsigned int rec_argc, i, j; in __cmd_record() local
1874 rec_argc = ARRAY_SIZE(record_args) + argc - 1; in __cmd_record()
1876 rec_argc += ARRAY_SIZE(slab_events); in __cmd_record()
1878 rec_argc += ARRAY_SIZE(slab_legacy_events); in __cmd_record()
1881 rec_argc += ARRAY_SIZE(page_events) + 1; /* for -g */ in __cmd_record()
1883 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
Dbuiltin-lock.c1770 unsigned int rec_argc, i, j, ret; in __cmd_record() local
1800 rec_argc = ARRAY_SIZE(record_args) + nr_callgraph_args + argc - 1; in __cmd_record()
1808 rec_argc += 2 * nr_tracepoints; in __cmd_record()
1810 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1838 BUG_ON(i != rec_argc); in __cmd_record()
Dbuiltin-sched.c3382 unsigned int rec_argc, i, j; in __cmd_record() local
3419 rec_argc = ARRAY_SIZE(record_args) + 2 + schedstat_argc + argc - 1; in __cmd_record()
3420 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
3423 rec_argv_copy = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
3445 BUG_ON(i != rec_argc); in __cmd_record()
3447 memcpy(rec_argv_copy, rec_argv, sizeof(char *) * rec_argc); in __cmd_record()
3448 ret = cmd_record(rec_argc, rec_argv_copy); in __cmd_record()
3450 for (i = 0; i < rec_argc; i++) in __cmd_record()
Dbuiltin-c2c.c3233 int rec_argc, i = 0, j, rec_tmp_nr = 0; in perf_c2c__record() local
3260 rec_argc = argc + 11; /* max number of arguments */ in perf_c2c__record()
3262 rec_argc = argc + 11 * perf_pmu__hybrid_pmu_num(); in perf_c2c__record()
3264 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
3268 rec_tmp = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
Dbuiltin-trace.c3003 unsigned int rec_argc, i, j; local
3022 rec_argc = ARRAY_SIZE(record_args) + sc_args_nr + 3 +
3024 rec_argv = calloc(rec_argc + 1, sizeof(char *));