Searched refs:rec_argv (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/tools/perf/ |
D | builtin-mem.c | 70 const char **rec_argv; in __cmd_record() local 101 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 102 if (!rec_argv) in __cmd_record() 110 free(rec_argv); in __cmd_record() 114 rec_argv[i++] = "record"; in __cmd_record() 126 rec_argv[i++] = "-W"; in __cmd_record() 141 rec_argv[i++] = "-W"; in __cmd_record() 143 rec_argv[i++] = "-d"; in __cmd_record() 146 rec_argv[i++] = "--phys-data"; in __cmd_record() 149 rec_argv[i++] = "--data-page-size"; in __cmd_record() [all …]
|
D | builtin-kvm.c | 1717 const char **rec_argv; in kvm_events_record() local 1743 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in kvm_events_record() 1745 if (rec_argv == NULL) in kvm_events_record() 1749 rec_argv[i] = STRDUP_FAIL_EXIT(record_args[i]); in kvm_events_record() 1752 rec_argv[i++] = "-e"; in kvm_events_record() 1753 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm_events_tp[j]); in kvm_events_record() 1756 rec_argv[i++] = STRDUP_FAIL_EXIT("-o"); in kvm_events_record() 1757 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name); in kvm_events_record() 1760 rec_argv[i] = argv[j]; in kvm_events_record() 1783 return cmd_record(i, rec_argv); in kvm_events_record() [all …]
|
D | builtin-c2c.c | 3242 const char **rec_argv; in perf_c2c__record() local 3270 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record() 3271 if (!rec_argv) in perf_c2c__record() 3276 free(rec_argv); in perf_c2c__record() 3280 rec_argv[i++] = "record"; in perf_c2c__record() 3290 rec_argv[i++] = "-W"; in perf_c2c__record() 3302 rec_argv[i++] = "-W"; in perf_c2c__record() 3304 rec_argv[i++] = "-d"; in perf_c2c__record() 3305 rec_argv[i++] = "--phys-data"; in perf_c2c__record() 3306 rec_argv[i++] = "--sample-cpu"; in perf_c2c__record() [all …]
|
D | builtin-timechart.c | 1652 const char **rec_argv; in timechart__io_record() local 1729 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__io_record() 1731 if (rec_argv == NULL) in timechart__io_record() 1735 free(rec_argv); in timechart__io_record() 1739 p = rec_argv; in timechart__io_record() 1780 return cmd_record(rec_argc, rec_argv); in timechart__io_record() 1787 const char **rec_argv; in timechart__record() local 1847 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__record() 1849 if (rec_argv == NULL) in timechart__record() 1852 p = rec_argv; in timechart__record() [all …]
|
D | builtin-kmem.c | 1881 const char **rec_argv; in __cmd_record() local 1893 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 1895 if (rec_argv == NULL) in __cmd_record() 1899 rec_argv[i] = strdup(record_args[i]); in __cmd_record() 1903 rec_argv[i] = strdup(slab_events[j]); in __cmd_record() 1906 rec_argv[i] = strdup(slab_legacy_events[j]); in __cmd_record() 1910 rec_argv[i++] = strdup("-g"); in __cmd_record() 1913 rec_argv[i] = strdup(page_events[j]); in __cmd_record() 1917 rec_argv[i] = argv[j]; in __cmd_record() 1919 return cmd_record(i, rec_argv); in __cmd_record()
|
D | builtin-kwork.c | 1648 const char **rec_argv; in perf_kwork__record() local 1665 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_kwork__record() 1666 if (rec_argv == NULL) in perf_kwork__record() 1670 rec_argv[i] = strdup(record_args[i]); in perf_kwork__record() 1674 rec_argv[i++] = strdup("-e"); in perf_kwork__record() 1675 rec_argv[i++] = strdup(class->tp_handlers[j].name); in perf_kwork__record() 1680 rec_argv[i] = argv[j]; in perf_kwork__record() 1686 pr_debug("%s ", rec_argv[j]); in perf_kwork__record() 1689 return cmd_record(i, rec_argv); in perf_kwork__record()
|
D | builtin-lock.c | 2194 const char **rec_argv; in __cmd_record() local 2231 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 2232 if (!rec_argv) in __cmd_record() 2236 rec_argv[i] = strdup(record_args[i]); in __cmd_record() 2249 rec_argv[i++] = "-e"; in __cmd_record() 2250 rec_argv[i++] = ev_name; in __cmd_record() 2254 rec_argv[i] = callgraph_args[j]; in __cmd_record() 2257 rec_argv[i] = argv[j]; in __cmd_record() 2261 ret = cmd_record(i, rec_argv); in __cmd_record() 2262 free(rec_argv); in __cmd_record()
|
D | builtin-sched.c | 3392 char **rec_argv; in __cmd_record() local 3429 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record() 3430 if (rec_argv == NULL) in __cmd_record() 3434 free(rec_argv); in __cmd_record() 3439 rec_argv[i] = strdup(record_args[i]); in __cmd_record() 3441 rec_argv[i++] = strdup("-e"); in __cmd_record() 3444 rec_argv[i++] = strdup("sched:sched_waking"); in __cmd_record() 3446 rec_argv[i++] = strdup("sched:sched_wakeup"); in __cmd_record() 3449 rec_argv[i++] = strdup(schedstat_args[j]); in __cmd_record() 3452 rec_argv[i] = strdup(argv[j]); in __cmd_record() [all …]
|
D | builtin-trace.c | 3043 const char **rec_argv; local 3063 rec_argv = calloc(rec_argc + 1, sizeof(char *)); 3065 if (rec_argv == NULL || filter == NULL) 3070 rec_argv[j++] = record_args[i]; 3074 rec_argv[j++] = sc_args[i]; 3078 rec_argv[j++] = "raw_syscalls:sys_enter,raw_syscalls:sys_exit"; 3080 rec_argv[j++] = "syscalls:sys_enter,syscalls:sys_exit"; 3087 rec_argv[j++] = "--filter"; 3088 rec_argv[j++] = filter; 3092 rec_argv[j++] = majpf_args[i]; [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | mem-events.c | 182 int perf_mem_events__record_args(const char **rec_argv, int *argv_nr, in perf_mem_events__record_args() argument 201 rec_argv[i++] = "-e"; in perf_mem_events__record_args() 202 rec_argv[i++] = perf_mem_events__name(j, NULL); in perf_mem_events__record_args() 217 rec_argv[i++] = "-e"; in perf_mem_events__record_args() 223 rec_argv[i++] = copy; in perf_mem_events__record_args()
|
D | mem-events.h | 46 int perf_mem_events__record_args(const char **rec_argv, int *argv_nr,
|