Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/
Dbuiltin-mem.c31 const char **rec_argv; in __cmd_record() local
36 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
37 if (!rec_argv) in __cmd_record()
40 rec_argv[i++] = strdup("record"); in __cmd_record()
42 rec_argv[i++] = strdup("-W"); in __cmd_record()
43 rec_argv[i++] = strdup("-d"); in __cmd_record()
44 rec_argv[i++] = strdup("-e"); in __cmd_record()
51 rec_argv[i++] = strdup(event); in __cmd_record()
53 rec_argv[i] = argv[j]; in __cmd_record()
55 ret = cmd_record(i, rec_argv, NULL); in __cmd_record()
[all …]
Dbuiltin-kvm.c1311 const char **rec_argv; in kvm_events_record() local
1321 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in kvm_events_record()
1323 if (rec_argv == NULL) in kvm_events_record()
1327 rec_argv[i] = STRDUP_FAIL_EXIT(record_args[i]); in kvm_events_record()
1330 rec_argv[i++] = "-e"; in kvm_events_record()
1331 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm_events_tp[j]); in kvm_events_record()
1334 rec_argv[i++] = STRDUP_FAIL_EXIT("-o"); in kvm_events_record()
1335 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name); in kvm_events_record()
1338 rec_argv[i] = argv[j]; in kvm_events_record()
1340 return cmd_record(i, rec_argv, NULL); in kvm_events_record()
[all …]
Dbuiltin-lock.c885 const char **rec_argv; in __cmd_record() local
900 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
901 if (rec_argv == NULL) in __cmd_record()
905 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
908 rec_argv[i++] = "-e"; in __cmd_record()
909 rec_argv[i++] = strdup(lock_tracepoints[j].name); in __cmd_record()
913 rec_argv[i] = argv[j]; in __cmd_record()
917 return cmd_record(i, rec_argv, NULL); in __cmd_record()
Dbuiltin-kmem.c721 const char **rec_argv; in __cmd_record() local
724 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
726 if (rec_argv == NULL) in __cmd_record()
730 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
733 rec_argv[i] = argv[j]; in __cmd_record()
735 return cmd_record(i, rec_argv, NULL); in __cmd_record()
Dbuiltin-timechart.c1046 const char **rec_argv; in __cmd_record() local
1060 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1062 if (rec_argv == NULL) in __cmd_record()
1066 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
1069 rec_argv[i] = argv[j]; in __cmd_record()
1071 return cmd_record(i, rec_argv, NULL); in __cmd_record()
Dbuiltin-sched.c1620 const char **rec_argv; in __cmd_record() local
1638 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
1640 if (rec_argv == NULL) in __cmd_record()
1644 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
1647 rec_argv[i] = argv[j]; in __cmd_record()
1651 return cmd_record(i, rec_argv, NULL); in __cmd_record()