Home
last modified time | relevance | path

Searched refs:rec_argv (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/tools/perf/
Dbuiltin-mem.c70 const char **rec_argv; in __cmd_record() local
103 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
104 if (!rec_argv) in __cmd_record()
112 free(rec_argv); in __cmd_record()
116 rec_argv[i++] = "record"; in __cmd_record()
128 rec_argv[i++] = "-W"; in __cmd_record()
143 rec_argv[i++] = "-W"; in __cmd_record()
145 rec_argv[i++] = "-d"; in __cmd_record()
148 rec_argv[i++] = "--phys-data"; in __cmd_record()
151 rec_argv[i++] = "--data-page-size"; in __cmd_record()
[all …]
Dbuiltin-kvm.c1186 const char **rec_argv; in kvm_events_record() local
1212 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in kvm_events_record()
1214 if (rec_argv == NULL) in kvm_events_record()
1218 rec_argv[i] = STRDUP_FAIL_EXIT(record_args[i]); in kvm_events_record()
1221 rec_argv[i++] = "-e"; in kvm_events_record()
1222 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm_events_tp[j]); in kvm_events_record()
1225 rec_argv[i++] = STRDUP_FAIL_EXIT("-o"); in kvm_events_record()
1226 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name); in kvm_events_record()
1229 rec_argv[i] = argv[j]; in kvm_events_record()
1252 return cmd_record(i, rec_argv); in kvm_events_record()
[all …]
Dbuiltin-c2c.c3234 const char **rec_argv; in perf_c2c__record() local
3264 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
3265 if (!rec_argv) in perf_c2c__record()
3270 free(rec_argv); in perf_c2c__record()
3274 rec_argv[i++] = "record"; in perf_c2c__record()
3284 rec_argv[i++] = "-W"; in perf_c2c__record()
3296 rec_argv[i++] = "-W"; in perf_c2c__record()
3298 rec_argv[i++] = "-d"; in perf_c2c__record()
3299 rec_argv[i++] = "--phys-data"; in perf_c2c__record()
3300 rec_argv[i++] = "--sample-cpu"; in perf_c2c__record()
[all …]
Dbuiltin-timechart.c1648 const char **rec_argv; in timechart__io_record() local
1725 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__io_record()
1727 if (rec_argv == NULL) in timechart__io_record()
1731 free(rec_argv); in timechart__io_record()
1735 p = rec_argv; in timechart__io_record()
1776 return cmd_record(rec_argc, rec_argv); in timechart__io_record()
1783 const char **rec_argv; in timechart__record() local
1843 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__record()
1845 if (rec_argv == NULL) in timechart__record()
1848 p = rec_argv; in timechart__record()
[all …]
Dbuiltin-kmem.c1871 const char **rec_argv; in __cmd_record() local
1883 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1885 if (rec_argv == NULL) in __cmd_record()
1889 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
1893 rec_argv[i] = strdup(slab_events[j]); in __cmd_record()
1896 rec_argv[i] = strdup(slab_legacy_events[j]); in __cmd_record()
1900 rec_argv[i++] = strdup("-g"); in __cmd_record()
1903 rec_argv[i] = strdup(page_events[j]); in __cmd_record()
1907 rec_argv[i] = argv[j]; in __cmd_record()
1909 return cmd_record(i, rec_argv); in __cmd_record()
Dbuiltin-lock.c1773 const char **rec_argv; in __cmd_record() local
1810 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1811 if (!rec_argv) in __cmd_record()
1815 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
1828 rec_argv[i++] = "-e"; in __cmd_record()
1829 rec_argv[i++] = ev_name; in __cmd_record()
1833 rec_argv[i] = callgraph_args[j]; in __cmd_record()
1836 rec_argv[i] = argv[j]; in __cmd_record()
1840 ret = cmd_record(i, rec_argv); in __cmd_record()
1841 free(rec_argv); in __cmd_record()
Dbuiltin-kwork.c1624 const char **rec_argv; in perf_kwork__record() local
1641 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_kwork__record()
1642 if (rec_argv == NULL) in perf_kwork__record()
1646 rec_argv[i] = strdup(record_args[i]); in perf_kwork__record()
1650 rec_argv[i++] = strdup("-e"); in perf_kwork__record()
1651 rec_argv[i++] = strdup(class->tp_handlers[j].name); in perf_kwork__record()
1656 rec_argv[i] = argv[j]; in perf_kwork__record()
1662 pr_debug("%s ", rec_argv[j]); in perf_kwork__record()
1665 return cmd_record(i, rec_argv); in perf_kwork__record()
Dbuiltin-sched.c3383 char **rec_argv; in __cmd_record() local
3420 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
3421 if (rec_argv == NULL) in __cmd_record()
3425 free(rec_argv); in __cmd_record()
3430 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
3432 rec_argv[i++] = strdup("-e"); in __cmd_record()
3435 rec_argv[i++] = strdup("sched:sched_waking"); in __cmd_record()
3437 rec_argv[i++] = strdup("sched:sched_wakeup"); in __cmd_record()
3440 rec_argv[i++] = strdup(schedstat_args[j]); in __cmd_record()
3443 rec_argv[i] = strdup(argv[j]); in __cmd_record()
[all …]
Dbuiltin-trace.c3004 const char **rec_argv; local
3024 rec_argv = calloc(rec_argc + 1, sizeof(char *));
3026 if (rec_argv == NULL || filter == NULL)
3031 rec_argv[j++] = record_args[i];
3035 rec_argv[j++] = sc_args[i];
3039 rec_argv[j++] = "raw_syscalls:sys_enter,raw_syscalls:sys_exit";
3041 rec_argv[j++] = "syscalls:sys_enter,syscalls:sys_exit";
3048 rec_argv[j++] = "--filter";
3049 rec_argv[j++] = filter;
3053 rec_argv[j++] = majpf_args[i];
[all …]
/linux-6.1.9/tools/perf/util/
Dmem-events.c185 int perf_mem_events__record_args(const char **rec_argv, int *argv_nr, in perf_mem_events__record_args() argument
205 rec_argv[i++] = "-e"; in perf_mem_events__record_args()
206 rec_argv[i++] = perf_mem_events__name(j, NULL); in perf_mem_events__record_args()
214 rec_argv[i++] = "-e"; in perf_mem_events__record_args()
221 rec_argv[i++] = s; in perf_mem_events__record_args()
Dmem-events.h46 int perf_mem_events__record_args(const char **rec_argv, int *argv_nr,