Lines Matching defs:file_name
93 const char *file_name;
1227 kvm->session = perf_session__new(kvm->file_name, O_RDONLY, 0, false,
1335 rec_argv[i++] = STRDUP_FAIL_EXIT(kvm->file_name);
1574 static int kvm_cmd_stat(const char *file_name, int argc, const char **argv)
1577 .file_name = file_name,
1607 static int __cmd_record(const char *file_name, int argc, const char **argv)
1616 rec_argv[i++] = strdup(file_name);
1625 static int __cmd_report(const char *file_name, int argc, const char **argv)
1634 rec_argv[i++] = strdup(file_name);
1644 __cmd_buildid_list(const char *file_name, int argc, const char **argv)
1653 rec_argv[i++] = strdup(file_name);
1664 const char *file_name = NULL;
1666 OPT_STRING('i', "input", &file_name, "file",
1668 OPT_STRING('o', "output", &file_name, "file",
1703 if (!file_name) {
1705 file_name = strdup("perf.data.host");
1707 file_name = strdup("perf.data.guest");
1709 file_name = strdup("perf.data.kvm");
1711 if (!file_name) {
1718 return __cmd_record(file_name, argc, argv);
1720 return __cmd_report(file_name, argc, argv);
1726 return __cmd_buildid_list(file_name, argc, argv);
1729 return kvm_cmd_stat(file_name, argc, argv);