Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-mem.c74 const char **rec_argv; in __cmd_record() local
93 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
94 if (!rec_argv) in __cmd_record()
97 rec_argv[i++] = "record"; in __cmd_record()
106 rec_argv[i++] = "-W"; in __cmd_record()
108 rec_argv[i++] = "-d"; in __cmd_record()
111 rec_argv[i++] = "--phys-data"; in __cmd_record()
120 free(rec_argv); in __cmd_record()
124 rec_argv[i++] = "-e"; in __cmd_record()
125 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.c917 const char **rec_argv; in __cmd_record() local
932 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
933 if (!rec_argv) in __cmd_record()
937 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
940 rec_argv[i++] = "-e"; in __cmd_record()
941 rec_argv[i++] = strdup(lock_tracepoints[j].name); in __cmd_record()
945 rec_argv[i] = argv[j]; in __cmd_record()
949 ret = cmd_record(i, rec_argv); in __cmd_record()
950 free(rec_argv); in __cmd_record()
Dbuiltin-c2c.c2897 const char **rec_argv; in perf_c2c__record() local
2921 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in perf_c2c__record()
2922 if (!rec_argv) in perf_c2c__record()
2925 rec_argv[i++] = "record"; in perf_c2c__record()
2933 rec_argv[i++] = "-W"; in perf_c2c__record()
2935 rec_argv[i++] = "-d"; in perf_c2c__record()
2936 rec_argv[i++] = "--phys-data"; in perf_c2c__record()
2937 rec_argv[i++] = "--sample-cpu"; in perf_c2c__record()
2946 free(rec_argv); in perf_c2c__record()
2950 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.c1849 const char **rec_argv; in __cmd_record() local
1857 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1859 if (rec_argv == NULL) in __cmd_record()
1863 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
1867 rec_argv[i] = strdup(slab_events[j]); in __cmd_record()
1870 rec_argv[i++] = strdup("-g"); in __cmd_record()
1873 rec_argv[i] = strdup(page_events[j]); in __cmd_record()
1877 rec_argv[i] = argv[j]; in __cmd_record()
1879 return cmd_record(i, rec_argv); in __cmd_record()
Dbuiltin-trace.c2621 const char **rec_argv; in trace__record() local
2639 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in trace__record()
2641 if (rec_argv == NULL) in trace__record()
2646 rec_argv[j++] = record_args[i]; in trace__record()
2650 rec_argv[j++] = sc_args[i]; in trace__record()
2654 rec_argv[j++] = "raw_syscalls:sys_enter,raw_syscalls:sys_exit"; in trace__record()
2656 rec_argv[j++] = "syscalls:sys_enter,syscalls:sys_exit"; in trace__record()
2659 free(rec_argv); in trace__record()
2666 rec_argv[j++] = majpf_args[i]; in trace__record()
2670 rec_argv[j++] = minpf_args[i]; in trace__record()
[all …]
Dbuiltin-sched.c3310 const char **rec_argv; in __cmd_record() local
3329 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
3331 if (rec_argv == NULL) in __cmd_record()
3335 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
3338 rec_argv[i] = argv[j]; in __cmd_record()
3342 return cmd_record(i, rec_argv); in __cmd_record()