Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-mem.c64 const char **rec_argv; in __cmd_record() local
83 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
84 if (!rec_argv) in __cmd_record()
87 rec_argv[i++] = "record"; in __cmd_record()
96 rec_argv[i++] = "-W"; in __cmd_record()
98 rec_argv[i++] = "-d"; in __cmd_record()
101 rec_argv[i++] = "--phys-data"; in __cmd_record()
110 free(rec_argv); in __cmd_record()
114 rec_argv[i++] = "-e"; in __cmd_record()
115 rec_argv[i++] = perf_mem_events__name(j); in __cmd_record()
[all …]
Dbuiltin-kvm.c1185 const char **rec_argv; in kvm_events_record() local
1211 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in kvm_events_record()
1213 if (rec_argv == NULL) in kvm_events_record()
1217 rec_argv[i] = STRDUP_FAIL_EXIT(record_args[i]); in kvm_events_record()
1220 rec_argv[i++] = "-e"; in kvm_events_record()
1221 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm_events_tp[j]); in kvm_events_record()
1224 rec_argv[i++] = STRDUP_FAIL_EXIT("-o"); in kvm_events_record()
1225 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name); in kvm_events_record()
1228 rec_argv[i] = argv[j]; in kvm_events_record()
1251 return cmd_record(i, rec_argv); in kvm_events_record()
[all …]
Dbuiltin-lock.c913 const char **rec_argv; in __cmd_record() local
928 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
929 if (!rec_argv) in __cmd_record()
933 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
936 rec_argv[i++] = "-e"; in __cmd_record()
937 rec_argv[i++] = strdup(lock_tracepoints[j].name); in __cmd_record()
941 rec_argv[i] = argv[j]; in __cmd_record()
945 ret = cmd_record(i, rec_argv); in __cmd_record()
946 free(rec_argv); in __cmd_record()
Dbuiltin-c2c.c2866 const char **rec_argv; in perf_c2c__record() local
2890 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
2891 if (!rec_argv) in perf_c2c__record()
2894 rec_argv[i++] = "record"; in perf_c2c__record()
2902 rec_argv[i++] = "-W"; in perf_c2c__record()
2904 rec_argv[i++] = "-d"; in perf_c2c__record()
2905 rec_argv[i++] = "--phys-data"; in perf_c2c__record()
2906 rec_argv[i++] = "--sample-cpu"; in perf_c2c__record()
2915 free(rec_argv); in perf_c2c__record()
2919 rec_argv[i++] = "-e"; in perf_c2c__record()
[all …]
Dbuiltin-timechart.c1644 const char **rec_argv; in timechart__io_record() local
1721 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__io_record()
1723 if (rec_argv == NULL) in timechart__io_record()
1727 free(rec_argv); in timechart__io_record()
1731 p = rec_argv; in timechart__io_record()
1772 return cmd_record(rec_argc, rec_argv); in timechart__io_record()
1779 const char **rec_argv; in timechart__record() local
1839 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in timechart__record()
1841 if (rec_argv == NULL) in timechart__record()
1844 p = rec_argv; in timechart__record()
[all …]
Dbuiltin-kmem.c1844 const char **rec_argv; in __cmd_record() local
1852 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1854 if (rec_argv == NULL) in __cmd_record()
1858 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
1862 rec_argv[i] = strdup(slab_events[j]); in __cmd_record()
1865 rec_argv[i++] = strdup("-g"); in __cmd_record()
1868 rec_argv[i] = strdup(page_events[j]); in __cmd_record()
1872 rec_argv[i] = argv[j]; in __cmd_record()
1874 return cmd_record(i, rec_argv); in __cmd_record()
Dbuiltin-sched.c3353 const char **rec_argv; in __cmd_record() local
3388 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
3390 if (rec_argv == NULL) in __cmd_record()
3394 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
3396 rec_argv[i++] = "-e"; in __cmd_record()
3399 rec_argv[i++] = strdup("sched:sched_waking"); in __cmd_record()
3401 rec_argv[i++] = strdup("sched:sched_wakeup"); in __cmd_record()
3404 rec_argv[i++] = strdup(schedstat_args[j]); in __cmd_record()
3407 rec_argv[i] = argv[j]; in __cmd_record()
3411 return cmd_record(i, rec_argv); in __cmd_record()
Dbuiltin-trace.c2976 const char **rec_argv; local
2996 rec_argv = calloc(rec_argc + 1, sizeof(char *));
2998 if (rec_argv == NULL || filter == NULL)
3003 rec_argv[j++] = record_args[i];
3007 rec_argv[j++] = sc_args[i];
3011 rec_argv[j++] = "raw_syscalls:sys_enter,raw_syscalls:sys_exit";
3013 rec_argv[j++] = "syscalls:sys_enter,syscalls:sys_exit";
3020 rec_argv[j++] = "--filter";
3021 rec_argv[j++] = filter;
3025 rec_argv[j++] = majpf_args[i];
[all …]